Home
last modified time | relevance | path

Searched refs:bpf_prog_array (Results 1 – 14 of 14) sorted by relevance

/Linux-v6.1/include/linux/
Dbpf-cgroup-defs.h11 struct bpf_prog_array;
52 struct bpf_prog_array __rcu *effective[MAX_CGROUP_BPF_ATTACH_TYPE];
66 struct bpf_prog_array *inactive;
Dbpf.h1509 struct bpf_prog_array { struct
1515 struct bpf_prog_array hdr; argument
1527 struct bpf_prog_array *bpf_prog_array_alloc(u32 prog_cnt, gfp_t flags);
1528 void bpf_prog_array_free(struct bpf_prog_array *progs);
1530 void bpf_prog_array_free_sleepable(struct bpf_prog_array *progs);
1531 int bpf_prog_array_length(struct bpf_prog_array *progs);
1532 bool bpf_prog_array_is_empty(struct bpf_prog_array *array);
1533 int bpf_prog_array_copy_to_user(struct bpf_prog_array *progs,
1536 void bpf_prog_array_delete_safe(struct bpf_prog_array *progs,
1538 int bpf_prog_array_delete_safe_at(struct bpf_prog_array *array, int index);
[all …]
Dbpf-cgroup.h181 struct bpf_prog_array *array; in cgroup_bpf_sock_enabled()
Dfilter.h1436 struct bpf_prog_array *run_array; in bpf_sk_lookup_run_v4()
1475 struct bpf_prog_array *run_array; in bpf_sk_lookup_run_v6()
Dtrace_events.h380 struct bpf_prog_array __rcu *prog_array;
/Linux-v6.1/drivers/media/rc/
Dbpf-lirc.c139 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()
Drc-core-priv.h65 struct bpf_prog_array __rcu *progs;
/Linux-v6.1/include/net/netns/
Dbpf.h12 struct bpf_prog_array;
23 struct bpf_prog_array __rcu *run_array[MAX_NETNS_BPF_ATTACH_TYPE];
/Linux-v6.1/kernel/bpf/
Dnet_namespace.c59 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()
Dcore.c2232 struct bpf_prog_array *bpf_prog_array_alloc(u32 prog_cnt, gfp_t flags) in bpf_prog_array_alloc()
2235 return kzalloc(sizeof(struct bpf_prog_array) + in bpf_prog_array_alloc()
2243 void bpf_prog_array_free(struct bpf_prog_array *progs) in bpf_prog_array_free()
2252 struct bpf_prog_array *progs; in __bpf_prog_array_free_sleepable_cb()
2254 progs = container_of(rcu, struct bpf_prog_array, rcu); in __bpf_prog_array_free_sleepable_cb()
2258 void bpf_prog_array_free_sleepable(struct bpf_prog_array *progs) in bpf_prog_array_free_sleepable()
2265 int bpf_prog_array_length(struct bpf_prog_array *array) in bpf_prog_array_length()
2276 bool bpf_prog_array_is_empty(struct bpf_prog_array *array) in bpf_prog_array_is_empty()
2286 static bool bpf_prog_array_copy_core(struct bpf_prog_array *array, in bpf_prog_array_copy_core()
2306 int bpf_prog_array_copy_to_user(struct bpf_prog_array *array, in bpf_prog_array_copy_to_user()
[all …]
Dcgroup.c38 const struct bpf_prog_array *array; in bpf_prog_run_array_cg()
279 struct bpf_prog_array *old_array; in cgroup_bpf_release()
403 struct bpf_prog_array **array) in compute_effective_progs()
406 struct bpf_prog_array *progs; in compute_effective_progs()
447 struct bpf_prog_array *old_array) in activate_effective_progs()
467 struct bpf_prog_array *arrays[NR] = {}; in cgroup_bpf_inherit()
747 struct bpf_prog_array *progs; in replace_effective_prog()
897 struct bpf_prog_array *progs; in purge_effective_progs()
1028 struct bpf_prog_array *effective; in __cgroup_bpf_query()
/Linux-v6.1/kernel/trace/
Dbpf_trace.c2110 struct bpf_prog_array *old_array; in perf_event_attach_bpf_prog()
2111 struct bpf_prog_array *new_array; in perf_event_attach_bpf_prog()
2152 struct bpf_prog_array *old_array; in perf_event_detach_bpf_prog()
2153 struct bpf_prog_array *new_array; in perf_event_detach_bpf_prog()
2183 struct bpf_prog_array *progs; in perf_event_query_prog_array()
/Linux-v6.1/net/bpf/
Dtest_run.c1508 struct bpf_prog_array *progs = NULL; in bpf_prog_test_run_sk_lookup()
/Linux-v6.1/net/core/
Dflow_dissector.c1019 struct bpf_prog_array *run_array; in __skb_flow_dissect()