| /include/linux/ |
| D | bpf_lsm.h | 29 const struct bpf_prog *prog); 32 bool bpf_lsm_is_trusted(const struct bpf_prog *prog); 47 void bpf_lsm_find_cgroup_shim(const struct bpf_prog *prog, bpf_func_t *bpf_func); 49 int bpf_lsm_get_retval_range(const struct bpf_prog *prog, 58 static inline bool bpf_lsm_is_trusted(const struct bpf_prog *prog) in bpf_lsm_is_trusted() argument 64 const struct bpf_prog *prog) in bpf_lsm_verify_prog() argument 79 static inline void bpf_lsm_find_cgroup_shim(const struct bpf_prog *prog, in bpf_lsm_find_cgroup_shim() argument 84 static inline int bpf_lsm_get_retval_range(const struct bpf_prog *prog, in bpf_lsm_get_retval_range() argument
|
| D | bpf-netns.h | 32 struct bpf_prog *prog); 35 struct bpf_prog *prog); 44 struct bpf_prog *prog) in netns_bpf_prog_attach() argument 56 struct bpf_prog *prog) in netns_bpf_link_create() argument
|
| D | bpf_mprog.h | 118 t.prog = READ_ONCE(fp->prog); \ 120 t.prog; \ 126 (p = READ_ONCE(fp->prog)); \ 132 struct bpf_prog *prog; member 154 struct bpf_prog *prog; member 203 struct bpf_prog *prog) in bpf_mprog_exists() argument 209 if (tmp == prog) in bpf_mprog_exists() 220 entry->parent->ref = tuple->prog; in bpf_mprog_mark_for_release() 316 WRITE_ONCE(fp->prog, tuple->prog); in bpf_mprog_write() 328 struct bpf_prog *prog, struct bpf_link *link,
|
| D | bpf.h | 864 bool (*allowed)(const struct bpf_prog *prog); 975 int (*test_run)(struct bpf_prog *prog, const union bpf_attr *kattr, 984 const struct bpf_prog *prog); 990 const struct bpf_prog *prog, 993 const struct bpf_prog *prog); 994 int (*gen_epilogue)(struct bpf_insn *insn, const struct bpf_prog *prog, 1001 struct bpf_prog *prog, u32 *target_size); 1018 int (*prepare)(struct bpf_prog *prog); 1019 int (*translate)(struct bpf_prog *prog); 1020 void (*destroy)(struct bpf_prog *prog); [all …]
|
| D | bpf_lirc.h | 8 int lirc_prog_attach(const union bpf_attr *attr, struct bpf_prog *prog); 13 struct bpf_prog *prog) in lirc_prog_attach() argument
|
| D | filter.h | 665 struct bpf_prog *prog; member 680 static __always_inline u32 __bpf_prog_run(const struct bpf_prog *prog, in __bpf_prog_run() argument 692 ret = dfunc(ctx, prog->insnsi, prog->bpf_func); in __bpf_prog_run() 695 stats = this_cpu_ptr(prog->stats); in __bpf_prog_run() 701 ret = dfunc(ctx, prog->insnsi, prog->bpf_func); in __bpf_prog_run() 706 static __always_inline u32 bpf_prog_run(const struct bpf_prog *prog, const void *ctx) in bpf_prog_run() argument 708 return __bpf_prog_run(prog, ctx, bpf_dispatcher_nop_func); in bpf_prog_run() 719 static inline u32 bpf_prog_run_pin_on_cpu(const struct bpf_prog *prog, in bpf_prog_run_pin_on_cpu() argument 725 ret = bpf_prog_run(prog, ctx); in bpf_prog_run_pin_on_cpu() 925 static inline u32 __bpf_prog_run_save_cb(const struct bpf_prog *prog, in __bpf_prog_run_save_cb() argument [all …]
|
| D | bpf_verifier.h | 709 struct bpf_prog *prog; /* eBPF program being verified */ member 797 return &env->prog->aux->func_info_aux[subprog]; in subprog_aux() 832 int bpf_prog_offload_verifier_prep(struct bpf_prog *prog); 862 const struct bpf_prog *prog, 885 static inline enum bpf_prog_type resolve_prog_type(const struct bpf_prog *prog) in resolve_prog_type() argument 887 return (prog->type == BPF_PROG_TYPE_EXT && prog->aux->saved_dst_prog_type) ? in resolve_prog_type() 888 prog->aux->saved_dst_prog_type : prog->type; in resolve_prog_type() 891 static inline bool bpf_prog_check_recur(const struct bpf_prog *prog) in bpf_prog_check_recur() argument 893 switch (resolve_prog_type(prog)) { in bpf_prog_check_recur() 895 return prog->expected_attach_type != BPF_TRACE_ITER; in bpf_prog_check_recur()
|
| D | bpf-cgroup.h | 111 struct bpf_prog *prog; member 171 struct bpf_cgroup_storage *bpf_cgroup_storage_alloc(struct bpf_prog *prog, 421 enum bpf_prog_type ptype, struct bpf_prog *prog); 424 int cgroup_bpf_link_attach(const union bpf_attr *attr, struct bpf_prog *prog); 429 cgroup_common_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog); 431 cgroup_current_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog); 439 struct bpf_prog *prog) in cgroup_bpf_prog_attach() argument 451 struct bpf_prog *prog) in cgroup_bpf_link_attach() argument 463 cgroup_common_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in cgroup_common_func_proto() argument 469 cgroup_current_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in cgroup_current_func_proto() argument [all …]
|
| D | skmsg.h | 487 struct bpf_prog *prog) in psock_set_prog() argument 489 prog = xchg(pprog, prog); in psock_set_prog() 490 if (prog) in psock_set_prog() 491 bpf_prog_put(prog); in psock_set_prog() 495 struct bpf_prog *prog, in psock_replace_prog() argument 498 if (cmpxchg(pprog, old, prog) != old) in psock_replace_prog()
|
| D | trace_events.h | 783 int perf_event_attach_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie); 797 int bpf_kprobe_multi_link_attach(const union bpf_attr *attr, struct bpf_prog *prog); 798 int bpf_uprobe_multi_link_attach(const union bpf_attr *attr, struct bpf_prog *prog); 806 perf_event_attach_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie) in perf_event_attach_bpf_prog() argument 842 bpf_kprobe_multi_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in bpf_kprobe_multi_link_attach() argument 847 bpf_uprobe_multi_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in bpf_uprobe_multi_link_attach() argument 930 int perf_event_set_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie);
|
| D | btf.h | 115 typedef int (*btf_kfunc_filter_t)(const struct bpf_prog *prog, u32 kfunc_id); 569 struct btf *bpf_prog_get_target_btf(const struct bpf_prog *prog); 571 const struct bpf_prog *prog); 573 const struct bpf_prog *prog); 624 struct bpf_prog *prog) in btf_kfunc_id_set_contains() argument
|
| D | security.h | 2177 extern int security_bpf_prog(struct bpf_prog *prog); 2181 extern int security_bpf_prog_load(struct bpf_prog *prog, union bpf_attr *attr, 2183 extern void security_bpf_prog_free(struct bpf_prog *prog); 2201 static inline int security_bpf_prog(struct bpf_prog *prog) in security_bpf_prog() argument 2215 static inline int security_bpf_prog_load(struct bpf_prog *prog, union bpf_attr *attr, in security_bpf_prog_load() argument 2221 static inline void security_bpf_prog_free(struct bpf_prog *prog) in security_bpf_prog_free() argument
|
| D | lsm_hook_defs.h | 426 LSM_HOOK(int, 0, bpf_prog, struct bpf_prog *prog) 430 LSM_HOOK(int, 0, bpf_prog_load, struct bpf_prog *prog, union bpf_attr *attr, 432 LSM_HOOK(void, LSM_RET_VOID, bpf_prog_free, struct bpf_prog *prog)
|
| D | perf_event.h | 860 struct bpf_prog *prog; member 1555 extern void perf_event_bpf_event(struct bpf_prog *prog, 1859 static inline void perf_event_bpf_event(struct bpf_prog *prog, in perf_event_bpf_event() argument
|
| /include/net/ |
| D | netkit.h | 9 int netkit_prog_attach(const union bpf_attr *attr, struct bpf_prog *prog); 10 int netkit_link_attach(const union bpf_attr *attr, struct bpf_prog *prog); 11 int netkit_prog_detach(const union bpf_attr *attr, struct bpf_prog *prog); 16 struct bpf_prog *prog) in netkit_prog_attach() argument 22 struct bpf_prog *prog) in netkit_link_attach() argument 28 struct bpf_prog *prog) in netkit_prog_detach() argument
|
| D | tcx.h | 164 int tcx_prog_attach(const union bpf_attr *attr, struct bpf_prog *prog); 165 int tcx_link_attach(const union bpf_attr *attr, struct bpf_prog *prog); 166 int tcx_prog_detach(const union bpf_attr *attr, struct bpf_prog *prog); 180 struct bpf_prog *prog) in tcx_prog_attach() argument 186 struct bpf_prog *prog) in tcx_link_attach() argument 192 struct bpf_prog *prog) in tcx_prog_detach() argument
|
| D | sock_reuseport.h | 28 struct bpf_prog __rcu *prog; /* optional BPF sock selector */ member 44 extern int reuseport_attach_prog(struct sock *sk, struct bpf_prog *prog);
|
| D | xdp.h | 381 struct bpf_prog *prog; member 507 static __always_inline u32 bpf_prog_run_xdp(const struct bpf_prog *prog, in bpf_prog_run_xdp() argument 514 u32 act = __bpf_prog_run(prog, xdp, BPF_DISPATCHER_FUNC(xdp)); in bpf_prog_run_xdp()
|
| D | flow_dissector.h | 485 struct bpf_prog *prog);
|
| D | pkt_cls.h | 806 struct bpf_prog *prog; member
|
| /include/net/netfilter/ |
| D | nf_bpf_link.h | 9 int bpf_nf_link_attach(const union bpf_attr *attr, struct bpf_prog *prog); 11 static inline int bpf_nf_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in bpf_nf_link_attach() argument
|
| /include/sound/ |
| D | opl3.h | 253 unsigned char prog; member 363 int prog, int bank, int type, 367 struct fm_patch *snd_opl3_find_patch(struct snd_opl3 *opl3, int prog, int bank,
|
| /include/uapi/sound/ |
| D | asound_fm.h | 112 unsigned char prog; member
|
| /include/linux/sunrpc/ |
| D | svc.h | 443 struct svc_serv * svc_create_pooled(struct svc_program *prog,
|
| /include/net/mana/ |
| D | mana.h | 490 void mana_chn_setxdp(struct mana_port_context *apc, struct bpf_prog *prog);
|