/include/linux/ |
D | bpf.h | 301 int (*test_run)(struct bpf_prog *prog, const union bpf_attr *kattr, 309 const struct bpf_prog *prog); 315 const struct bpf_prog *prog, 318 const struct bpf_prog *prog); 324 struct bpf_prog *prog, u32 *target_size); 337 int (*prepare)(struct bpf_prog *prog); 338 int (*translate)(struct bpf_prog *prog); 339 void (*destroy)(struct bpf_prog *prog); 343 struct bpf_prog *prog; member 386 struct bpf_prog *prog; member [all …]
|
D | filter.h | 575 struct bpf_prog *prog; member 587 extern bool arch_bpf_jit_check_func(const struct bpf_prog *prog); 589 static inline unsigned int __bpf_call_func(const struct bpf_prog *prog, in __bpf_call_func() argument 593 return prog->bpf_func(ctx, prog->insnsi); in __bpf_call_func() 599 static inline unsigned int __nocfi bpf_call_func(const struct bpf_prog *prog, in bpf_call_func() argument 602 const struct bpf_binary_header *hdr = bpf_jit_binary_hdr(prog); in bpf_call_func() 604 if (!IS_ENABLED(CONFIG_BPF_JIT_ALWAYS_ON) && !prog->jited) in bpf_call_func() 605 return __bpf_call_func(prog, ctx); in bpf_call_func() 613 !arch_bpf_jit_check_func(prog)); in bpf_call_func() 616 return prog->bpf_func(ctx, prog->insnsi); in bpf_call_func() [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-cgroup.h | 56 struct bpf_prog *prog; member 87 int __cgroup_bpf_attach(struct cgroup *cgrp, struct bpf_prog *prog, 89 int __cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog, 95 int cgroup_bpf_attach(struct cgroup *cgrp, struct bpf_prog *prog, 97 int cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog, 153 struct bpf_cgroup_storage *bpf_cgroup_storage_alloc(struct bpf_prog *prog, 160 int bpf_cgroup_storage_assign(struct bpf_prog *prog, struct bpf_map *map); 161 void bpf_cgroup_storage_release(struct bpf_prog *prog, struct bpf_map *map); 330 enum bpf_prog_type ptype, struct bpf_prog *prog); 344 struct bpf_prog *prog) in cgroup_bpf_prog_attach() argument [all …]
|
D | trace_events.h | 478 int perf_event_attach_bpf_prog(struct perf_event *event, struct bpf_prog *prog); 481 int bpf_probe_register(struct bpf_raw_event_map *btp, struct bpf_prog *prog); 482 int bpf_probe_unregister(struct bpf_raw_event_map *btp, struct bpf_prog *prog); 495 perf_event_attach_bpf_prog(struct perf_event *event, struct bpf_prog *prog) in perf_event_attach_bpf_prog() argument 606 void bpf_trace_run1(struct bpf_prog *prog, u64 arg1); 607 void bpf_trace_run2(struct bpf_prog *prog, u64 arg1, u64 arg2); 608 void bpf_trace_run3(struct bpf_prog *prog, u64 arg1, u64 arg2, 610 void bpf_trace_run4(struct bpf_prog *prog, u64 arg1, u64 arg2, 612 void bpf_trace_run5(struct bpf_prog *prog, u64 arg1, u64 arg2, 614 void bpf_trace_run6(struct bpf_prog *prog, u64 arg1, u64 arg2, [all …]
|
D | skmsg.h | 450 struct bpf_prog *prog) in psock_set_prog() argument 452 prog = xchg(pprog, prog); in psock_set_prog() 453 if (prog) in psock_set_prog() 454 bpf_prog_put(prog); in psock_set_prog() 458 struct bpf_prog *prog, in psock_replace_prog() argument 461 if (cmpxchg(pprog, old, prog) != old) in psock_replace_prog()
|
D | bpf_verifier.h | 362 struct bpf_prog *prog; /* eBPF program being verified */ member 424 int bpf_prog_offload_verifier_prep(struct bpf_prog *prog);
|
D | perf_event.h | 713 struct bpf_prog *prog; member 1197 extern void perf_event_bpf_event(struct bpf_prog *prog, 1458 static inline void perf_event_bpf_event(struct bpf_prog *prog, in perf_event_bpf_event() argument
|
D | security.h | 1876 extern int security_bpf_prog(struct bpf_prog *prog); 1893 static inline int security_bpf_prog(struct bpf_prog *prog) in security_bpf_prog() argument
|
D | lsm_hooks.h | 1822 int (*bpf_prog)(struct bpf_prog *prog);
|
D | skbuff.h | 1287 struct bpf_prog *prog); 1298 struct bpf_prog *prog) in skb_flow_dissector_bpf_prog_attach() argument 1310 bool bpf_flow_dissect(struct bpf_prog *prog, struct bpf_flow_dissector *ctx,
|
D | netdevice.h | 910 struct bpf_prog *prog; member
|
/include/net/ |
D | sock_reuseport.h | 26 struct bpf_prog __rcu *prog; /* optional BPF sock selector */ member 38 extern int reuseport_attach_prog(struct sock *sk, struct bpf_prog *prog);
|
D | xdp.h | 172 struct bpf_prog *prog; member
|
D | pkt_cls.h | 664 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 | 127 unsigned char prog; member
|
/include/trace/ |
D | bpf_probe.h | 63 struct bpf_prog *prog = __data; \ 64 CONCATENATE(bpf_trace_run, COUNT_ARGS(args))(prog, CAST_TO_U64(args)); \
|