Home
last modified time | relevance | path

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

/linux-6.15/include/linux/
H A Dbpf-cgroup-defs.h11 struct bpf_prog_array;
57 struct bpf_prog_array __rcu *effective[MAX_CGROUP_BPF_ATTACH_TYPE];
71 struct bpf_prog_array *inactive;
H A Dbpf.h2107 struct bpf_prog_array { struct
2113 struct bpf_prog_array hdr; argument
2126 void bpf_prog_array_free(struct bpf_prog_array *progs);
2129 int bpf_prog_array_length(struct bpf_prog_array *progs);
2130 bool bpf_prog_array_is_empty(struct bpf_prog_array *array);
2131 int bpf_prog_array_copy_to_user(struct bpf_prog_array *progs,
2134 void bpf_prog_array_delete_safe(struct bpf_prog_array *progs,
2139 int bpf_prog_array_copy_info(struct bpf_prog_array *array,
2142 int bpf_prog_array_copy(struct bpf_prog_array *old_array,
2146 struct bpf_prog_array **new_array);
[all …]
H A Dbpf-cgroup.h189 struct bpf_prog_array *array; in cgroup_bpf_sock_enabled()
H A Dtrace_events.h389 struct bpf_prog_array __rcu *prog_array;
H A Dfilter.h1657 struct bpf_prog_array *run_array; in bpf_sk_lookup_run_v4()
1696 struct bpf_prog_array *run_array; in bpf_sk_lookup_run_v6()
/linux-6.15/drivers/media/rc/
H A 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()
H A Drc-core-priv.h65 struct bpf_prog_array __rcu *progs;
/linux-6.15/include/net/netns/
H A Dbpf.h12 struct bpf_prog_array;
23 struct bpf_prog_array __rcu *run_array[MAX_NETNS_BPF_ATTACH_TYPE];
/linux-6.15/kernel/bpf/
H A 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()
H A Dcore.c2543 struct bpf_prog_array *p; in bpf_prog_array_alloc()
2553 void bpf_prog_array_free(struct bpf_prog_array *progs) in bpf_prog_array_free()
2562 struct bpf_prog_array *progs; in __bpf_prog_array_free_sleepable_cb()
2567 progs = container_of(rcu, struct bpf_prog_array, rcu); in __bpf_prog_array_free_sleepable_cb()
2581 int bpf_prog_array_length(struct bpf_prog_array *array) in bpf_prog_array_length()
2592 bool bpf_prog_array_is_empty(struct bpf_prog_array *array) in bpf_prog_array_is_empty()
2622 int bpf_prog_array_copy_to_user(struct bpf_prog_array *array, in bpf_prog_array_copy_to_user()
2715 int bpf_prog_array_copy(struct bpf_prog_array *old_array, in bpf_prog_array_copy()
2719 struct bpf_prog_array **new_array) in bpf_prog_array_copy()
2723 struct bpf_prog_array *array; in bpf_prog_array_copy()
[all …]
H A Dcgroup.c55 const struct bpf_prog_array *array; in bpf_prog_run_array_cg()
296 struct bpf_prog_array *old_array; in cgroup_bpf_release()
422 struct bpf_prog_array **array) in compute_effective_progs()
425 struct bpf_prog_array *progs; in compute_effective_progs()
480 struct bpf_prog_array *old_array) in activate_effective_progs()
500 struct bpf_prog_array *arrays[NR] = {}; in cgroup_bpf_inherit()
781 struct bpf_prog_array *progs; in replace_effective_prog()
932 struct bpf_prog_array *progs; in purge_effective_progs()
1063 struct bpf_prog_array *effective; in __cgroup_bpf_query()
/linux-6.15/kernel/trace/
H A Dbpf_trace.c2198 struct bpf_prog_array *old_array; in perf_event_attach_bpf_prog()
2199 struct bpf_prog_array *new_array; in perf_event_attach_bpf_prog()
2240 struct bpf_prog_array *old_array; in perf_event_detach_bpf_prog()
2241 struct bpf_prog_array *new_array; in perf_event_detach_bpf_prog()
2285 struct bpf_prog_array *progs; in perf_event_query_prog_array()
H A Dtrace_uprobe.c1405 const struct bpf_prog_array *array; in __uprobe_perf_func()
/linux-6.15/net/bpf/
H A Dtest_run.c1434 struct bpf_prog_array *progs = NULL; in bpf_prog_test_run_sk_lookup()
/linux-6.15/net/core/
H A Dflow_dissector.c1134 struct bpf_prog_array *run_array; in __skb_flow_dissect()