/include/linux/ |
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_lsm.h | 28 const struct bpf_prog *prog); 45 void bpf_lsm_find_cgroup_shim(const struct bpf_prog *prog, bpf_func_t *bpf_func); 55 const struct bpf_prog *prog) in bpf_lsm_verify_prog() argument 70 static inline void bpf_lsm_find_cgroup_shim(const struct bpf_prog *prog, in bpf_lsm_find_cgroup_shim() argument
|
D | bpf.h | 614 bool (*allowed)(const struct bpf_prog *prog); 718 int (*test_run)(struct bpf_prog *prog, const union bpf_attr *kattr, 726 const struct bpf_prog *prog); 732 const struct bpf_prog *prog, 735 const struct bpf_prog *prog); 741 struct bpf_prog *prog, u32 *target_size); 760 int (*prepare)(struct bpf_prog *prog); 761 int (*translate)(struct bpf_prog *prog); 762 void (*destroy)(struct bpf_prog *prog); 767 struct bpf_prog *prog; member [all …]
|
D | filter.h | 565 struct bpf_prog *prog; member 581 static __always_inline u32 __bpf_prog_run(const struct bpf_prog *prog, in __bpf_prog_run() argument 593 ret = dfunc(ctx, prog->insnsi, prog->bpf_func); in __bpf_prog_run() 594 stats = this_cpu_ptr(prog->stats); in __bpf_prog_run() 600 ret = dfunc(ctx, prog->insnsi, prog->bpf_func); in __bpf_prog_run() 605 static __always_inline u32 bpf_prog_run(const struct bpf_prog *prog, const void *ctx) in bpf_prog_run() argument 607 return __bpf_prog_run(prog, ctx, bpf_dispatcher_nop_func); in bpf_prog_run() 618 static inline u32 bpf_prog_run_pin_on_cpu(const struct bpf_prog *prog, in bpf_prog_run_pin_on_cpu() argument 624 ret = bpf_prog_run(prog, ctx); in bpf_prog_run_pin_on_cpu() 717 static inline u32 __bpf_prog_run_save_cb(const struct bpf_prog *prog, in __bpf_prog_run_save_cb() argument [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 | bpf_verifier.h | 497 struct bpf_prog *prog; /* eBPF program being verified */ member 583 int bpf_prog_offload_verifier_prep(struct bpf_prog *prog); 628 const struct bpf_prog *prog, 651 static inline enum bpf_prog_type resolve_prog_type(const struct bpf_prog *prog) in resolve_prog_type() argument 653 return prog->type == BPF_PROG_TYPE_EXT ? in resolve_prog_type() 654 prog->aux->dst_prog->type : prog->type; in resolve_prog_type() 657 static inline bool bpf_prog_check_recur(const struct bpf_prog *prog) in bpf_prog_check_recur() argument 659 switch (resolve_prog_type(prog)) { in bpf_prog_check_recur() 661 return prog->expected_attach_type != BPF_TRACE_ITER; in bpf_prog_check_recur()
|
D | trace_events.h | 741 int perf_event_attach_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie); 744 int bpf_probe_register(struct bpf_raw_event_map *btp, struct bpf_prog *prog); 745 int bpf_probe_unregister(struct bpf_raw_event_map *btp, struct bpf_prog *prog); 751 int bpf_kprobe_multi_link_attach(const union bpf_attr *attr, struct bpf_prog *prog); 759 perf_event_attach_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie) in perf_event_attach_bpf_prog() argument 794 bpf_kprobe_multi_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in bpf_kprobe_multi_link_attach() argument 875 int perf_event_set_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie); 878 void bpf_trace_run1(struct bpf_prog *prog, u64 arg1); 879 void bpf_trace_run2(struct bpf_prog *prog, u64 arg1, u64 arg2); 880 void bpf_trace_run3(struct bpf_prog *prog, u64 arg1, u64 arg2, [all …]
|
D | bpf-cgroup.h | 106 struct bpf_prog *prog; member 163 struct bpf_cgroup_storage *bpf_cgroup_storage_alloc(struct bpf_prog *prog, 411 enum bpf_prog_type ptype, struct bpf_prog *prog); 414 int cgroup_bpf_link_attach(const union bpf_attr *attr, struct bpf_prog *prog); 419 cgroup_common_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog); 421 cgroup_current_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog); 429 struct bpf_prog *prog) in cgroup_bpf_prog_attach() argument 441 struct bpf_prog *prog) in cgroup_bpf_link_attach() argument 453 cgroup_common_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in cgroup_common_func_proto() argument 459 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 | 465 struct bpf_prog *prog) in psock_set_prog() argument 467 prog = xchg(pprog, prog); in psock_set_prog() 468 if (prog) in psock_set_prog() 469 bpf_prog_put(prog); in psock_set_prog() 473 struct bpf_prog *prog, in psock_replace_prog() argument 476 if (cmpxchg(pprog, old, prog) != old) in psock_replace_prog()
|
D | perf_event.h | 795 struct bpf_prog *prog; member 1314 extern void perf_event_bpf_event(struct bpf_prog *prog, 1610 static inline void perf_event_bpf_event(struct bpf_prog *prog, in perf_event_bpf_event() argument
|
D | btf.h | 411 struct btf *bpf_prog_get_target_btf(const struct bpf_prog *prog);
|
D | security.h | 2004 extern int security_bpf_prog(struct bpf_prog *prog); 2021 static inline int security_bpf_prog(struct bpf_prog *prog) in security_bpf_prog() argument
|
D | lsm_hook_defs.h | 394 LSM_HOOK(int, 0, bpf_prog, struct bpf_prog *prog)
|
D | netdevice.h | 1030 struct bpf_prog *prog; member 1040 struct bpf_prog *prog; member 3954 int bpf_xdp_link_attach(const union bpf_attr *attr, struct bpf_prog *prog);
|
D | skbuff.h | 1489 u32 bpf_flow_dissect(struct bpf_prog *prog, struct bpf_flow_dissector *ctx,
|
/include/net/ |
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 | flow_dissector.h | 435 struct bpf_prog *prog);
|
D | xdp.h | 402 struct bpf_prog *prog; member
|
D | pkt_cls.h | 785 struct bpf_prog *prog; member
|
/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/trace/ |
D | bpf_probe.h | 84 struct bpf_prog *prog = __data; \ 85 CONCATENATE(bpf_trace_run, COUNT_ARGS(args))(prog, CAST_TO_U64(args)); \
|