Searched refs:bpf_prog_array (Results 1 – 15 of 15) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | bpf-cgroup-defs.h | 11 struct bpf_prog_array; 52 struct bpf_prog_array __rcu *effective[MAX_CGROUP_BPF_ATTACH_TYPE]; 66 struct bpf_prog_array *inactive;
|
H A D | bpf.h | 1864 struct bpf_prog_array { struct 1870 struct bpf_prog_array hdr; argument 1882 struct bpf_prog_array *bpf_prog_array_alloc(u32 prog_cnt, gfp_t flags); 1883 void bpf_prog_array_free(struct bpf_prog_array *progs); 1885 void bpf_prog_array_free_sleepable(struct bpf_prog_array *progs); 1886 int bpf_prog_array_length(struct bpf_prog_array *progs); 1887 bool bpf_prog_array_is_empty(struct bpf_prog_array *array); 1888 int bpf_prog_array_copy_to_user(struct bpf_prog_array *progs, 1891 void bpf_prog_array_delete_safe(struct bpf_prog_array *progs, 1893 int bpf_prog_array_delete_safe_at(struct bpf_prog_array *array, int index); [all …]
|
H A D | bpf-cgroup.h | 183 struct bpf_prog_array *array; in cgroup_bpf_sock_enabled()
|
H A D | filter.h | 1431 struct bpf_prog_array *run_array; in bpf_sk_lookup_run_v4() 1470 struct bpf_prog_array *run_array; in bpf_sk_lookup_run_v6()
|
H A D | trace_events.h | 399 struct bpf_prog_array __rcu *prog_array;
|
/openbmc/linux/drivers/media/rc/ |
H A 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()
|
H A D | rc-core-priv.h | 65 struct bpf_prog_array __rcu *progs;
|
/openbmc/linux/include/net/netns/ |
H A D | bpf.h | 12 struct bpf_prog_array; 23 struct bpf_prog_array __rcu *run_array[MAX_NETNS_BPF_ATTACH_TYPE];
|
/openbmc/linux/kernel/bpf/ |
H A 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()
|
H A D | core.c | 2429 struct bpf_prog_array *bpf_prog_array_alloc(u32 prog_cnt, gfp_t flags) in bpf_prog_array_alloc() 2432 return kzalloc(sizeof(struct bpf_prog_array) + in bpf_prog_array_alloc() 2440 void bpf_prog_array_free(struct bpf_prog_array *progs) in bpf_prog_array_free() 2449 struct bpf_prog_array *progs; in __bpf_prog_array_free_sleepable_cb() 2454 progs = container_of(rcu, struct bpf_prog_array, rcu); in __bpf_prog_array_free_sleepable_cb() 2461 void bpf_prog_array_free_sleepable(struct bpf_prog_array *progs) in bpf_prog_array_free_sleepable() 2468 int bpf_prog_array_length(struct bpf_prog_array *array) in bpf_prog_array_length() 2479 bool bpf_prog_array_is_empty(struct bpf_prog_array *array) in bpf_prog_array_is_empty() 2489 static bool bpf_prog_array_copy_core(struct bpf_prog_array *array, in bpf_prog_array_copy_core() 2509 int bpf_prog_array_copy_to_user(struct bpf_prog_array *array, in bpf_prog_array_copy_to_user() [all …]
|
H A D | cgroup.c | 55 const struct bpf_prog_array *array; in bpf_prog_run_array_cg() 296 struct bpf_prog_array *old_array; in cgroup_bpf_release() 420 struct bpf_prog_array **array) in compute_effective_progs() 423 struct bpf_prog_array *progs; in compute_effective_progs() 464 struct bpf_prog_array *old_array) in activate_effective_progs() 484 struct bpf_prog_array *arrays[NR] = {}; in cgroup_bpf_inherit() 764 struct bpf_prog_array *progs; in replace_effective_prog() 915 struct bpf_prog_array *progs; in purge_effective_progs() 1046 struct bpf_prog_array *effective; in __cgroup_bpf_query()
|
/openbmc/linux/kernel/trace/ |
H A D | bpf_trace.c | 2168 struct bpf_prog_array *old_array; in perf_event_attach_bpf_prog() 2169 struct bpf_prog_array *new_array; in perf_event_attach_bpf_prog() 2210 struct bpf_prog_array *old_array; in perf_event_detach_bpf_prog() 2211 struct bpf_prog_array *new_array; in perf_event_detach_bpf_prog() 2250 struct bpf_prog_array *progs; in perf_event_query_prog_array()
|
H A D | trace_uprobe.c | 1386 const struct bpf_prog_array *array; in __uprobe_perf_func()
|
/openbmc/linux/net/bpf/ |
H A D | test_run.c | 1377 struct bpf_prog_array *progs = NULL; in bpf_prog_test_run_sk_lookup()
|
/openbmc/linux/net/core/ |
H A D | flow_dissector.c | 1110 struct bpf_prog_array *run_array; in __skb_flow_dissect()
|