Searched refs:bpf_prog_array (Results 1 – 14 of 14) sorted by relevance
/linux-5.19.10/include/linux/ |
D | bpf-cgroup-defs.h | 11 struct bpf_prog_array; 43 struct bpf_prog_array __rcu *effective[MAX_CGROUP_BPF_ATTACH_TYPE]; 57 struct bpf_prog_array *inactive;
|
D | bpf.h | 1331 struct bpf_prog_array { struct 1337 struct bpf_prog_array hdr; argument 1349 struct bpf_prog_array *bpf_prog_array_alloc(u32 prog_cnt, gfp_t flags); 1350 void bpf_prog_array_free(struct bpf_prog_array *progs); 1351 int bpf_prog_array_length(struct bpf_prog_array *progs); 1352 bool bpf_prog_array_is_empty(struct bpf_prog_array *array); 1353 int bpf_prog_array_copy_to_user(struct bpf_prog_array *progs, 1356 void bpf_prog_array_delete_safe(struct bpf_prog_array *progs, 1358 int bpf_prog_array_delete_safe_at(struct bpf_prog_array *array, int index); 1359 int bpf_prog_array_update_at(struct bpf_prog_array *array, int index, [all …]
|
D | bpf-cgroup.h | 174 struct bpf_prog_array *array; in cgroup_bpf_sock_enabled()
|
D | filter.h | 1460 struct bpf_prog_array *run_array; in bpf_sk_lookup_run_v4() 1499 struct bpf_prog_array *run_array; in bpf_sk_lookup_run_v6()
|
D | trace_events.h | 379 struct bpf_prog_array __rcu *prog_array;
|
/linux-5.19.10/drivers/media/rc/ |
D | bpf-lirc.c | 139 struct bpf_prog_array *old_array; in lirc_bpf_attach() 140 struct bpf_prog_array *new_array; in lirc_bpf_attach() 177 struct bpf_prog_array *old_array; in lirc_bpf_detach() 178 struct bpf_prog_array *new_array; in lirc_bpf_detach() 236 struct bpf_prog_array *array; in lirc_bpf_free() 298 struct bpf_prog_array *progs; in lirc_prog_query()
|
D | rc-core-priv.h | 65 struct bpf_prog_array __rcu *progs;
|
/linux-5.19.10/include/net/netns/ |
D | bpf.h | 12 struct bpf_prog_array; 23 struct bpf_prog_array __rcu *run_array[MAX_NETNS_BPF_ATTACH_TYPE];
|
/linux-5.19.10/kernel/bpf/ |
D | net_namespace.c | 59 struct bpf_prog_array *run_array; in netns_bpf_run_array_detach() 91 struct bpf_prog_array *prog_array) in fill_prog_array() 107 struct bpf_prog_array *old_array, *new_array; in bpf_netns_link_release() 171 struct bpf_prog_array *run_array; in bpf_netns_link_update_prog() 252 struct bpf_prog_array *run_array; in __netns_bpf_prog_query() 299 struct bpf_prog_array *run_array; in netns_bpf_prog_attach() 426 struct bpf_prog_array *run_array; in netns_bpf_link_attach()
|
D | core.c | 2261 struct bpf_prog_array *bpf_prog_array_alloc(u32 prog_cnt, gfp_t flags) in bpf_prog_array_alloc() 2264 return kzalloc(sizeof(struct bpf_prog_array) + in bpf_prog_array_alloc() 2272 void bpf_prog_array_free(struct bpf_prog_array *progs) in bpf_prog_array_free() 2279 int bpf_prog_array_length(struct bpf_prog_array *array) in bpf_prog_array_length() 2290 bool bpf_prog_array_is_empty(struct bpf_prog_array *array) in bpf_prog_array_is_empty() 2300 static bool bpf_prog_array_copy_core(struct bpf_prog_array *array, in bpf_prog_array_copy_core() 2320 int bpf_prog_array_copy_to_user(struct bpf_prog_array *array, in bpf_prog_array_copy_to_user() 2346 void bpf_prog_array_delete_safe(struct bpf_prog_array *array, in bpf_prog_array_delete_safe() 2373 int bpf_prog_array_delete_safe_at(struct bpf_prog_array *array, int index) in bpf_prog_array_delete_safe_at() 2393 int bpf_prog_array_update_at(struct bpf_prog_array *array, int index, in bpf_prog_array_update_at() [all …]
|
D | cgroup.c | 36 const struct bpf_prog_array *array; in bpf_prog_run_array_cg() 151 struct bpf_prog_array *old_array; in cgroup_bpf_release() 268 struct bpf_prog_array **array) in compute_effective_progs() 271 struct bpf_prog_array *progs; in compute_effective_progs() 312 struct bpf_prog_array *old_array) in activate_effective_progs() 332 struct bpf_prog_array *arrays[NR] = {}; in cgroup_bpf_inherit() 588 struct bpf_prog_array *progs; in replace_effective_prog() 738 struct bpf_prog_array *progs; in purge_effective_progs() 856 struct bpf_prog_array *effective; in __cgroup_bpf_query()
|
/linux-5.19.10/kernel/trace/ |
D | bpf_trace.c | 1906 struct bpf_prog_array *old_array; in perf_event_attach_bpf_prog() 1907 struct bpf_prog_array *new_array; in perf_event_attach_bpf_prog() 1948 struct bpf_prog_array *old_array; in perf_event_detach_bpf_prog() 1949 struct bpf_prog_array *new_array; in perf_event_detach_bpf_prog() 1979 struct bpf_prog_array *progs; in perf_event_query_prog_array()
|
/linux-5.19.10/net/core/ |
D | flow_dissector.c | 990 struct bpf_prog_array *run_array; in __skb_flow_dissect()
|
/linux-5.19.10/net/bpf/ |
D | test_run.c | 1486 struct bpf_prog_array *progs = NULL; in bpf_prog_test_run_sk_lookup()
|