| /kernel/linux/linux-6.6/security/selinux/ |
| H A D | hooks.c | 6774 struct bpf_prog *prog; in bpf_fd_pass() local 6806 static int selinux_bpf_prog(struct bpf_prog *prog) in selinux_bpf_prog() argument
|
| /kernel/linux/linux-6.6/security/ |
| H A D | security.c | 5217 int security_bpf_prog(struct bpf_prog *prog) in security_bpf_prog() argument
|
| /kernel/linux/linux-5.10/arch/mips/include/asm/octeon/ |
| H A D | cvmx-mio-defs.h | 2194 uint64_t prog:1; member 2204 uint64_t prog:1; member
|
| H A D | cvmx-lmcx-defs.h | 245 uint64_t prog:8; member 262 uint64_t prog:8; member
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_main.c | 12677 i40e_xdp_setup(struct i40e_vsi *vsi, struct bpf_prog *prog) i40e_xdp_setup() argument [all...] |
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_main.c | 10152 static int ixgbe_xdp_setup(struct net_device *dev, struct bpf_prog *prog) in ixgbe_xdp_setup() argument
|
| /kernel/linux/linux-6.6/arch/mips/include/asm/octeon/ |
| H A D | cvmx-mio-defs.h | 2194 uint64_t prog:1; member 2204 uint64_t prog:1; member
|
| H A D | cvmx-lmcx-defs.h | 245 uint64_t prog:8; member 262 uint64_t prog:8; member
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/marvell/ |
| H A D | mvneta.c | 4411 static int mvneta_xdp_setup(struct net_device *dev, struct bpf_prog *prog, in mvneta_xdp_setup() argument 2170 mvneta_run_xdp(struct mvneta_port *pp, struct mvneta_rx_queue *rxq, struct bpf_prog *prog, struct xdp_buff *xdp, u32 frame_sz, struct mvneta_stats *stats) mvneta_run_xdp() argument
|
| /kernel/linux/linux-5.10/tools/lib/bpf/ |
| H A D | libbpf.c | 488 void bpf_program__unload(struct bpf_program *prog) in bpf_program__unload() argument 514 bpf_program__exit(struct bpf_program *prog) bpf_program__exit() argument 537 __bpf_program__pin_name(struct bpf_program *prog) __bpf_program__pin_name() argument 559 bpf_object__init_prog(struct bpf_object *obj, struct bpf_program *prog, const char *name, size_t sec_idx, const char *sec_name, size_t sec_off, void *insn_data, size_t insn_data_sz) bpf_object__init_prog() argument 612 struct bpf_program *prog, *progs; bpf_object__add_programs() local 866 struct bpf_program *prog; bpf_map__init_kern_struct_ops() local 2504 libbpf_prog_needs_vmlinux_btf(struct bpf_program *prog) libbpf_prog_needs_vmlinux_btf() argument 2522 struct bpf_program *prog; bpf_object__load_vmlinux_btf() local 3272 prog_is_subprog(const struct bpf_object *obj, const struct bpf_program *prog) prog_is_subprog() argument 3294 struct bpf_program *prog; bpf_object__find_program_by_name() local 3335 bpf_program__record_reloc(struct bpf_program *prog, struct reloc_desc *reloc_desc, __u32 insn_idx, const char *sym_name, const GElf_Sym *sym, const GElf_Rel *rel) bpf_program__record_reloc() argument 3470 prog_contains_insn(const struct bpf_program *prog, size_t insn_idx) prog_contains_insn() argument 3480 struct bpf_program *prog; find_prog_by_sec_insn() local 3510 struct bpf_program *prog; bpf_object__collect_prog_relos() local 3973 int ret, map, prog; probe_prog_bind_map() local 5105 bpf_core_calc_field_relo(const struct bpf_program *prog, const struct bpf_core_relo *relo, const struct bpf_core_spec *spec, __u32 *val, __u32 *field_sz, __u32 *type_id, bool *validate) bpf_core_calc_field_relo() argument 5321 bpf_core_calc_relo(const struct bpf_program *prog, const struct bpf_core_relo *relo, int relo_idx, const struct bpf_core_spec *local_spec, const struct bpf_core_spec *targ_spec, struct bpf_core_relo_res *res) bpf_core_calc_relo() argument 5411 bpf_core_poison_insn(struct bpf_program *prog, int relo_idx, int insn_idx, struct bpf_insn *insn) bpf_core_poison_insn() argument 5471 bpf_core_patch_insn(struct bpf_program *prog, const struct bpf_core_relo *relo, int relo_idx, const struct bpf_core_relo_res *res) bpf_core_patch_insn() argument 5725 bpf_core_apply_relo(struct bpf_program *prog, const struct bpf_core_relo *relo, int relo_idx, const struct btf *local_btf, const struct btf *targ_btf, struct hashmap *cand_cache) bpf_core_apply_relo() argument 5901 struct bpf_program *prog; bpf_object__relocate_core() local 6004 bpf_object__relocate_data(struct bpf_object *obj, struct bpf_program *prog) bpf_object__relocate_data() argument 6055 adjust_prog_btf_ext_info(const struct bpf_object *obj, const struct bpf_program *prog, const struct btf_ext_info *ext_info, void **prog_info, __u32 *prog_rec_cnt, __u32 *prog_rec_sz) adjust_prog_btf_ext_info() argument 6125 reloc_prog_func_and_line_info(const struct bpf_object *obj, struct bpf_program *main_prog, const struct bpf_program *prog) reloc_prog_func_and_line_info() argument 6206 find_prog_insn_relo(const struct bpf_program *prog, size_t insn_idx) find_prog_insn_relo() argument 6213 bpf_object__reloc_code(struct bpf_object *obj, struct bpf_program *main_prog, struct bpf_program *prog) bpf_object__reloc_code() argument 6400 bpf_object__relocate_calls(struct bpf_object *obj, struct bpf_program *prog) bpf_object__relocate_calls() argument 6430 struct bpf_program *prog; bpf_object__relocate() local 6663 bpf_object__sanitize_prog(struct bpf_object* obj, struct bpf_program *prog) bpf_object__sanitize_prog() argument 6696 load_program(struct bpf_program *prog, struct bpf_insn *insns, int insns_cnt, char *license, __u32 kern_version, int *pfd) load_program() argument 6821 bpf_program__load(struct bpf_program *prog, char *license, __u32 kern_ver) bpf_program__load() argument 6912 struct bpf_program *prog; bpf_object__load_progs() local 6946 struct bpf_program *prog; __bpf_object__open() local 7427 bpf_program__pin_instance(struct bpf_program *prog, const char *path, int instance) bpf_program__pin_instance() argument 7463 bpf_program__unpin_instance(struct bpf_program *prog, const char *path, int instance) bpf_program__unpin_instance() argument 7491 bpf_program__pin(struct bpf_program *prog, const char *path) bpf_program__pin() argument 7557 bpf_program__unpin(struct bpf_program *prog, const char *path) bpf_program__unpin() argument 7824 struct bpf_program *prog; bpf_object__pin_programs() local 7876 struct bpf_program *prog; bpf_object__unpin_programs() local 8071 struct bpf_program *prog = prev; bpf_program__next() local 8083 struct bpf_program *prog = next; bpf_program__prev() local 8092 bpf_program__set_priv(struct bpf_program *prog, void *priv, bpf_program_clear_priv_t clear_priv) bpf_program__set_priv() argument 8103 bpf_program__priv(const struct bpf_program *prog) bpf_program__priv() argument 8108 bpf_program__set_ifindex(struct bpf_program *prog, __u32 ifindex) bpf_program__set_ifindex() argument 8113 bpf_program__name(const struct bpf_program *prog) bpf_program__name() argument 8118 bpf_program__section_name(const struct bpf_program *prog) bpf_program__section_name() argument 8123 bpf_program__title(const struct bpf_program *prog, bool needs_copy) bpf_program__title() argument 8139 bpf_program__autoload(const struct bpf_program *prog) bpf_program__autoload() argument 8144 bpf_program__set_autoload(struct bpf_program *prog, bool autoload) bpf_program__set_autoload() argument 8153 bpf_program__fd(const struct bpf_program *prog) bpf_program__fd() argument 8158 bpf_program__size(const struct bpf_program *prog) bpf_program__size() argument 8163 bpf_program__set_prep(struct bpf_program *prog, int nr_instances, bpf_program_prep_t prep) bpf_program__set_prep() argument 8191 bpf_program__nth_fd(const struct bpf_program *prog, int n) bpf_program__nth_fd() argument 8214 bpf_program__get_type(struct bpf_program *prog) bpf_program__get_type() argument 8219 bpf_program__set_type(struct bpf_program *prog, enum bpf_prog_type type) bpf_program__set_type() argument 8224 bpf_program__is_type(const struct bpf_program *prog, enum bpf_prog_type type) bpf_program__is_type() argument 8259 bpf_program__get_expected_attach_type(struct bpf_program *prog) bpf_program__get_expected_attach_type() argument 8264 bpf_program__set_expected_attach_type(struct bpf_program *prog, enum bpf_attach_type type) bpf_program__set_expected_attach_type() argument 8562 struct bpf_program *prog; bpf_object__collect_st_ops_relos() local 8767 libbpf_find_attach_btf_id(struct bpf_program *prog) libbpf_find_attach_btf_id() argument 9072 struct bpf_program *prog, *first_prog = NULL; bpf_prog_load_xattr() local 9148 bpf_link__update_program(struct bpf_link *link, struct bpf_program *prog) bpf_link__update_program() argument 9290 bpf_program__attach_perf_event(struct bpf_program *prog, int pfd) bpf_program__attach_perf_event() argument 9440 bpf_program__attach_kprobe(struct bpf_program *prog, bool retprobe, const char *func_name) bpf_program__attach_kprobe() argument 9468 attach_kprobe(const struct bpf_sec_def *sec, struct bpf_program *prog) attach_kprobe() argument 9480 bpf_program__attach_uprobe(struct bpf_program *prog, bool retprobe, pid_t pid, const char *binary_path, size_t func_offset) bpf_program__attach_uprobe() argument 9561 bpf_program__attach_tracepoint(struct bpf_program *prog, const char *tp_category, const char *tp_name) bpf_program__attach_tracepoint() argument 9588 attach_tp(const struct bpf_sec_def *sec, struct bpf_program *prog) attach_tp() argument 9614 bpf_program__attach_raw_tracepoint(struct bpf_program *prog, const char *tp_name) bpf_program__attach_raw_tracepoint() argument 9644 attach_raw_tp(const struct bpf_sec_def *sec, struct bpf_program *prog) attach_raw_tp() argument 9653 bpf_program__attach_btf_id(struct bpf_program *prog) bpf_program__attach_btf_id() argument 9682 bpf_program__attach_trace(struct bpf_program *prog) bpf_program__attach_trace() argument 9687 bpf_program__attach_lsm(struct bpf_program *prog) bpf_program__attach_lsm() argument 9692 attach_trace(const struct bpf_sec_def *sec, struct bpf_program *prog) attach_trace() argument 9698 attach_lsm(const struct bpf_sec_def *sec, struct bpf_program *prog) attach_lsm() argument 9704 attach_iter(const struct bpf_sec_def *sec, struct bpf_program *prog) attach_iter() argument 9711 bpf_program__attach_fd(struct bpf_program *prog, int target_fd, int btf_id, const char *target_name) bpf_program__attach_fd() argument 9747 bpf_program__attach_cgroup(struct bpf_program *prog, int cgroup_fd) bpf_program__attach_cgroup() argument 9753 bpf_program__attach_netns(struct bpf_program *prog, int netns_fd) bpf_program__attach_netns() argument 9758 bpf_program__attach_xdp(struct bpf_program *prog, int ifindex) bpf_program__attach_xdp() argument 9764 bpf_program__attach_freplace(struct bpf_program *prog, int target_fd, const char *attach_func_name) bpf_program__attach_freplace() argument 9797 bpf_program__attach_iter(struct bpf_program *prog, const struct bpf_iter_attach_opts *opts) bpf_program__attach_iter() argument 9836 bpf_program__attach(struct bpf_program *prog) bpf_program__attach() argument 9873 struct bpf_program *prog = st_ops->progs[i]; bpf_map__attach_struct_ops() local 10661 bpf_program__set_attach_target(struct bpf_program *prog, int attach_prog_fd, const char *attach_func_name) bpf_program__set_attach_target() argument 10835 struct bpf_program **prog = s->progs[i].prog; bpf_object__open_skeleton() local 10906 struct bpf_program *prog = *s->progs[i].prog; bpf_object__attach_skeleton() local [all...] |
| /kernel/linux/linux-5.10/kernel/events/ |
| H A D | core.c | 8763 struct bpf_prog *prog; member 8801 static void perf_event_bpf_emit_ksymbols(struct bpf_prog *prog, in perf_event_bpf_emit_ksymbols() argument 8825 void perf_event_bpf_event(struct bpf_prog *prog, in perf_event_bpf_event() argument 9854 struct bpf_prog *prog; perf_event_set_bpf_handler() local 9893 struct bpf_prog *prog = event->prog; perf_event_free_bpf_handler() local 9934 struct bpf_prog *prog; perf_event_set_bpf_prog() local 11423 struct bpf_prog *prog = parent_event->prog; perf_event_alloc() local [all...] |
| /kernel/linux/linux-5.10/kernel/bpf/ |
| H A D | verifier.c | 253 const struct bpf_prog *prog; in find_linfo() local 3137 resolve_prog_type(struct bpf_prog *prog) resolve_prog_type() argument 8585 const struct bpf_prog *prog = env->prog; check_return_code() local 8973 struct bpf_prog *prog; check_btf_func() local 9116 struct bpf_prog *prog; check_btf_line() local 10493 check_map_prog_compatibility(struct bpf_verifier_env *env, struct bpf_map *map, struct bpf_prog *prog) check_map_prog_compatibility() argument 10809 adjust_poke_descs(struct bpf_prog *prog, u32 off, u32 len) adjust_poke_descs() argument 10910 struct bpf_prog *prog = env->prog; bpf_adj_linfo_after_remove() local 11382 struct bpf_prog *prog = env->prog, **func, *tmp; jit_subprogs() local 11596 struct bpf_prog *prog = env->prog; fixup_call_args() local 11639 struct bpf_prog *prog = env->prog; fixup_bpf_calls() local 12179 struct bpf_prog *prog = env->prog; check_struct_ops_btf_id() local 12272 bpf_check_attach_target(struct bpf_verifier_log *log, const struct bpf_prog *prog, const struct bpf_prog *tgt_prog, u32 btf_id, struct bpf_attach_target_info *tgt_info) bpf_check_attach_target() argument 12508 struct bpf_prog *prog = env->prog; check_attach_btf_id() local 12587 bpf_check(struct bpf_prog **prog, union bpf_attr *attr, union bpf_attr __user *uattr) bpf_check() argument [all...] |
| /kernel/linux/linux-5.10/net/core/ |
| H A D | dev.c | 9063 struct bpf_prog *prog = dev_xdp_prog(dev, mode); in dev_xdp_prog_id() local 9075 dev_xdp_set_prog(struct net_device *dev, enum bpf_xdp_mode mode, struct bpf_prog *prog) dev_xdp_set_prog() argument 9082 dev_xdp_install(struct net_device *dev, enum bpf_xdp_mode mode, bpf_op_t bpf_op, struct netlink_ext_ack *extack, u32 flags, struct bpf_prog *prog) dev_xdp_install() argument 9111 bpf_prog_change_xdp(dev_xdp_prog(dev, mode), prog); dev_xdp_install() local 9119 struct bpf_prog *prog; dev_xdp_uninstall() local 9398 bpf_xdp_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) bpf_xdp_link_attach() argument [all...] |
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_main.c | 13343 static int i40e_xdp_setup(struct i40e_vsi *vsi, struct bpf_prog *prog, in i40e_xdp_setup() argument [all...] |
| /kernel/linux/linux-6.6/include/linux/ |
| H A D | bpf.h | 972 struct bpf_prog *prog; global() member 1112 bool prog; global() member 1174 struct bpf_prog *prog; global() member 1342 bpf_prog_has_trampoline(const struct bpf_prog *prog) bpf_prog_has_trampoline() argument 1434 struct bpf_prog *prog; global() member 1526 struct bpf_prog *prog; global() member 1719 bpf_trampoline_link_cgroup_shim(struct bpf_prog *prog, int cgroup_atype) bpf_trampoline_link_cgroup_shim() argument 1724 bpf_trampoline_unlink_cgroup_shim(struct bpf_prog *prog) bpf_trampoline_unlink_cgroup_shim() argument 1829 struct bpf_prog *prog; global() member 1927 const struct bpf_prog *prog; bpf_prog_run_array() local 1967 const struct bpf_prog *prog; bpf_prog_run_array_uprobe() local 2397 bpf_tracing_btf_ctx_access(int off, int size, enum bpf_access_type type, const struct bpf_prog *prog, struct bpf_insn_access_aux *info) bpf_tracing_btf_ctx_access() argument 2495 bpf_prog_add(struct bpf_prog *prog, int i) bpf_prog_add() argument 2499 bpf_prog_sub(struct bpf_prog *prog, int i) bpf_prog_sub() argument 2503 bpf_prog_put(struct bpf_prog *prog) bpf_prog_put() argument 2507 bpf_prog_inc(struct bpf_prog *prog) bpf_prog_inc() argument 2512 bpf_prog_inc_not_zero(struct bpf_prog *prog) bpf_prog_inc_not_zero() argument 2517 bpf_link_init(struct bpf_link *link, enum bpf_link_type type, const struct bpf_link_ops *ops, struct bpf_prog *prog) bpf_link_init() argument 2620 bpf_prog_test_run_xdp(struct bpf_prog *prog, const union bpf_attr *kattr, union bpf_attr __user *uattr) bpf_prog_test_run_xdp() argument 2627 bpf_prog_test_run_skb(struct bpf_prog *prog, const union bpf_attr *kattr, union bpf_attr __user *uattr) bpf_prog_test_run_skb() argument 2634 bpf_prog_test_run_tracing(struct bpf_prog *prog, const union bpf_attr *kattr, union bpf_attr __user *uattr) bpf_prog_test_run_tracing() argument 2641 bpf_prog_test_run_flow_dissector(struct bpf_prog *prog, const union bpf_attr *kattr, union bpf_attr __user *uattr) bpf_prog_test_run_flow_dissector() argument 2648 bpf_prog_test_run_sk_lookup(struct bpf_prog *prog, const union bpf_attr *kattr, union bpf_attr __user *uattr) bpf_prog_test_run_sk_lookup() argument 2683 bpf_prog_has_kfunc_call(const struct bpf_prog *prog) bpf_prog_has_kfunc_call() argument 2689 bpf_jit_find_kfunc_model(const struct bpf_prog *prog, const struct bpf_insn *insn) bpf_jit_find_kfunc_model() argument 2696 bpf_get_kfunc_addr(const struct bpf_prog *prog, u32 func_id, u16 btf_fd_idx, u8 **func_addr) bpf_get_kfunc_addr() argument 2712 bpf_prog_inc_misses_counter(struct bpf_prog *prog) bpf_prog_inc_misses_counter() argument 2836 bpf_dev_bound_resolve_kfunc(struct bpf_prog *prog, u32 func_id) bpf_dev_bound_resolve_kfunc() argument 2842 bpf_prog_dev_bound_init(struct bpf_prog *prog, union bpf_attr *attr) bpf_prog_dev_bound_init() argument 2892 bpf_prog_test_run_syscall(struct bpf_prog *prog, const union bpf_attr *kattr, union bpf_attr __user *uattr) bpf_prog_test_run_syscall() argument 2900 sock_map_get_from_fd(const union bpf_attr *attr, struct bpf_prog *prog) sock_map_get_from_fd() argument 3071 bpf_sock_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) bpf_sock_convert_ctx_access() argument 3122 bpf_tcp_sock_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) bpf_tcp_sock_convert_ctx_access() argument 3137 bpf_xdp_sock_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) bpf_xdp_sock_convert_ctx_access() argument [all...] |
| H A D | netdevice.h | 1000 struct bpf_prog *prog; member 1010 struct bpf_prog *prog; member
|
| /kernel/linux/linux-6.6/kernel/bpf/ |
| H A D | btf.c | 5864 struct btf *bpf_prog_get_target_btf(const struct bpf_prog *prog) in bpf_prog_get_target_btf() argument 5910 static bool prog_args_trusted(const struct bpf_prog *prog) in prog_args_trusted() argument 5926 btf_ctx_access(int off, int size, enum bpf_access_type type, const struct bpf_prog *prog, struct bpf_insn_access_aux *info) btf_ctx_access() argument 6738 btf_check_type_match(struct bpf_verifier_log *log, const struct bpf_prog *prog, struct btf *btf2, const struct btf_type *t2) btf_check_type_match() argument 6873 struct bpf_prog *prog = env->prog; btf_check_subprog_arg_match() local 6916 struct bpf_prog *prog = env->prog; btf_check_subprog_call() local 6955 struct bpf_prog *prog = env->prog; btf_prepare_func_args() local 7790 __btf_kfunc_id_set_contains(const struct btf *btf, enum btf_kfunc_hook hook, u32 kfunc_btf_id, const struct bpf_prog *prog) __btf_kfunc_id_set_contains() argument 7862 btf_kfunc_id_set_contains(const struct btf *btf, u32 kfunc_btf_id, const struct bpf_prog *prog) btf_kfunc_id_set_contains() argument 7878 btf_kfunc_is_modify_return(const struct btf *btf, u32 kfunc_btf_id, const struct bpf_prog *prog) btf_kfunc_is_modify_return() argument [all...] |
| /kernel/linux/linux-6.6/kernel/events/ |
| H A D | core.c | 5922 struct bpf_prog *prog; in _perf_ioctl() local 9217 struct bpf_prog *prog; member 9255 static void perf_event_bpf_emit_ksymbols(struct bpf_prog *prog, in perf_event_bpf_emit_ksymbols() argument 9279 perf_event_bpf_event(struct bpf_prog *prog, enum perf_bpf_event_type type, u16 flags) perf_event_bpf_event() argument 10418 struct bpf_prog *prog; bpf_overflow_handler() local 10439 perf_event_set_bpf_handler(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie) perf_event_set_bpf_handler() argument 10479 struct bpf_prog *prog = event->prog; perf_event_free_bpf_handler() local 10489 perf_event_set_bpf_handler(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie) perf_event_set_bpf_handler() argument 10519 perf_event_set_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie) perf_event_set_bpf_prog() argument 10577 perf_event_set_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie) perf_event_set_bpf_prog() argument 11959 struct bpf_prog *prog = parent_event->prog; perf_event_alloc() local [all...] |
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_main.c | 10240 static int ixgbe_xdp_setup(struct net_device *dev, struct bpf_prog *prog) in ixgbe_xdp_setup() argument
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/marvell/ |
| H A D | mvneta.c | 3846 struct bpf_prog *prog = pp->xdp_prog; in mvneta_change_mtu() local 4600 static int mvneta_xdp_setup(struct net_device *dev, struct bpf_prog *prog, in mvneta_xdp_setup() argument 2257 mvneta_run_xdp(struct mvneta_port *pp, struct mvneta_rx_queue *rxq, struct bpf_prog *prog, struct xdp_buff *xdp, u32 frame_sz, struct mvneta_stats *stats) mvneta_run_xdp() argument [all...] |
| /kernel/linux/linux-6.6/drivers/net/ethernet/mediatek/ |
| H A D | mtk_eth_soc.h | 1292 struct bpf_prog __rcu *prog; member
|
| /kernel/linux/linux-6.6/net/core/ |
| H A D | filter.c | 561 static int bpf_convert_filter(struct sock_filter *prog, int len, in bpf_convert_filter() argument 1168 static void __bpf_prog_release(struct bpf_prog *prog) in __bpf_prog_release() argument 1457 __sk_attach_prog(struct bpf_prog *prog, struct sock *sk) __sk_attach_prog() argument 1487 struct bpf_prog *prog; __get_filter() local 1532 struct bpf_prog *prog = __get_filter(fprog, sk); sk_attach_filter() local 1550 struct bpf_prog *prog = __get_filter(fprog, sk); sk_reuseport_attach_filter() local 1577 struct bpf_prog *prog = __get_bpf(ufd, sk); sk_attach_bpf() local 1594 struct bpf_prog *prog; sk_reuseport_attach_bpf() local 1637 sk_reuseport_prog_free(struct bpf_prog *prog) sk_reuseport_prog_free() argument 7038 bpf_tcp_sock_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) bpf_tcp_sock_convert_ctx_access() argument 7232 bpf_xdp_sock_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) bpf_xdp_sock_convert_ctx_access() argument 7854 sock_filter_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) sock_filter_func_proto() argument 7883 sock_addr_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) sock_addr_func_proto() argument 7966 sk_filter_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) sk_filter_func_proto() argument 7988 cg_skb_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) cg_skb_func_proto() argument 8037 tc_cls_act_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) tc_cls_act_func_proto() argument 8172 xdp_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) xdp_func_proto() argument 8247 sock_ops_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) sock_ops_func_proto() argument 8295 sk_msg_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) sk_msg_func_proto() argument 8337 sk_skb_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) sk_skb_func_proto() argument 8378 flow_dissector_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) flow_dissector_func_proto() argument 8389 lwt_out_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) lwt_out_func_proto() argument 8416 lwt_in_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) lwt_in_func_proto() argument 8427 lwt_xmit_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) lwt_xmit_func_proto() argument 8466 lwt_seg6local_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) lwt_seg6local_func_proto() argument 8482 bpf_skb_is_valid_access(int off, int size, enum bpf_access_type type, const struct bpf_prog *prog, struct bpf_insn_access_aux *info) bpf_skb_is_valid_access() argument 8545 sk_filter_is_valid_access(int off, int size, enum bpf_access_type type, const struct bpf_prog *prog, struct bpf_insn_access_aux *info) sk_filter_is_valid_access() argument 8574 cg_skb_is_valid_access(int off, int size, enum bpf_access_type type, const struct bpf_prog *prog, struct bpf_insn_access_aux *info) cg_skb_is_valid_access() argument 8618 lwt_is_valid_access(int off, int size, enum bpf_access_type type, const struct bpf_prog *prog, struct bpf_insn_access_aux *info) lwt_is_valid_access() argument 8750 sock_filter_is_valid_access(int off, int size, enum bpf_access_type type, const struct bpf_prog *prog, struct bpf_insn_access_aux *info) sock_filter_is_valid_access() argument 8761 bpf_noop_prologue(struct bpf_insn *insn_buf, bool direct_write, const struct bpf_prog *prog) bpf_noop_prologue() argument 8770 bpf_unclone_prologue(struct bpf_insn *insn_buf, bool direct_write, const struct bpf_prog *prog, int drop_verdict) bpf_unclone_prologue() argument 8844 tc_cls_act_prologue(struct bpf_insn *insn_buf, bool direct_write, const struct bpf_prog *prog) tc_cls_act_prologue() argument 8850 tc_cls_act_is_valid_access(int off, int size, enum bpf_access_type type, const struct bpf_prog *prog, struct bpf_insn_access_aux *info) tc_cls_act_is_valid_access() argument 8930 xdp_is_valid_access(int off, int size, enum bpf_access_type type, const struct bpf_prog *prog, struct bpf_insn_access_aux *info) xdp_is_valid_access() argument 8967 bpf_warn_invalid_xdp_action(struct net_device *dev, struct bpf_prog *prog, u32 act) bpf_warn_invalid_xdp_action() argument 8991 sock_addr_is_valid_access(int off, int size, enum bpf_access_type type, const struct bpf_prog *prog, struct bpf_insn_access_aux *info) sock_addr_is_valid_access() argument 9108 sock_ops_is_valid_access(int off, int size, enum bpf_access_type type, const struct bpf_prog *prog, struct bpf_insn_access_aux *info) sock_ops_is_valid_access() argument 9172 sk_skb_prologue(struct bpf_insn *insn_buf, bool direct_write, const struct bpf_prog *prog) sk_skb_prologue() argument 9178 sk_skb_is_valid_access(int off, int size, enum bpf_access_type type, const struct bpf_prog *prog, struct bpf_insn_access_aux *info) sk_skb_is_valid_access() argument 9216 sk_msg_is_valid_access(int off, int size, enum bpf_access_type type, const struct bpf_prog *prog, struct bpf_insn_access_aux *info) sk_msg_is_valid_access() argument 9260 flow_dissector_is_valid_access(int off, int size, enum bpf_access_type type, const struct bpf_prog *prog, struct bpf_insn_access_aux *info) flow_dissector_is_valid_access() argument 9294 flow_dissector_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) flow_dissector_convert_ctx_access() argument 9366 bpf_convert_tstamp_read(const struct bpf_prog *prog, const struct bpf_insn *si, struct bpf_insn *insn) bpf_convert_tstamp_read() argument 9400 bpf_convert_tstamp_write(const struct bpf_prog *prog, const struct bpf_insn *si, struct bpf_insn *insn) bpf_convert_tstamp_write() argument 9438 bpf_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) bpf_convert_ctx_access() argument 9804 bpf_sock_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) bpf_sock_convert_ctx_access() argument 9979 tc_cls_act_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) tc_cls_act_convert_ctx_access() argument 10003 xdp_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) xdp_convert_ctx_access() argument 10131 sock_addr_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) sock_addr_convert_ctx_access() argument 10220 sock_ops_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) sock_ops_convert_ctx_access() argument 10713 sk_skb_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) sk_skb_convert_ctx_access() argument 10753 sk_msg_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) sk_msg_convert_ctx_access() argument 11119 bpf_run_sk_reuseport(struct sock_reuseport *reuse, struct sock *sk, struct bpf_prog *prog, struct sk_buff *skb, struct sock *migrating_sk, u32 hash) bpf_run_sk_reuseport() argument 11227 sk_reuseport_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) sk_reuseport_func_proto() argument 11247 sk_reuseport_is_valid_access(int off, int size, enum bpf_access_type type, const struct bpf_prog *prog, struct bpf_insn_access_aux *info) sk_reuseport_is_valid_access() argument 11314 sk_reuseport_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) sk_reuseport_convert_ctx_access() argument 11414 sk_lookup_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) sk_lookup_func_proto() argument 11428 sk_lookup_is_valid_access(int off, int size, enum bpf_access_type type, const struct bpf_prog *prog, struct bpf_insn_access_aux *info) sk_lookup_is_valid_access() argument 11474 sk_lookup_convert_ctx_access(enum bpf_access_type type, const struct bpf_insn *si, struct bpf_insn *insn_buf, struct bpf_prog *prog, u32 *target_size) sk_lookup_convert_ctx_access() argument 11587 bpf_dispatcher_change_prog(BPF_DISPATCHER_PTR(xdp), prev_prog, prog); DEFINE_BPF_DISPATCHER() local 11951 tracing_iter_filter(const struct bpf_prog *prog, u32 kfunc_id) tracing_iter_filter() argument [all...] |
| H A D | dev.c | 3991 const struct bpf_prog *prog; in tcx_run() local 9165 struct bpf_prog *prog = dev_xdp_prog(dev, mode); in dev_xdp_prog_id() local 9177 dev_xdp_set_prog(struct net_device *dev, enum bpf_xdp_mode mode, struct bpf_prog *prog) dev_xdp_set_prog() argument 9184 dev_xdp_install(struct net_device *dev, enum bpf_xdp_mode mode, bpf_op_t bpf_op, struct netlink_ext_ack *extack, u32 flags, struct bpf_prog *prog) dev_xdp_install() argument 9213 bpf_prog_change_xdp(dev_xdp_prog(dev, mode), prog); dev_xdp_install() local 9221 struct bpf_prog *prog; dev_xdp_uninstall() local 9514 bpf_xdp_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) bpf_xdp_link_attach() argument [all...] |
| /kernel/linux/linux-5.10/drivers/scsi/megaraid/ |
| H A D | megaraid_sas.h | 2130 struct megasas_progress prog; member 2164 struct megasas_progress prog; member
|
| /kernel/linux/linux-5.10/include/linux/ |
| H A D | netdevice.h | 916 struct bpf_prog *prog; member 926 struct bpf_prog *prog; member
|