Home
last modified time | relevance | path

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

/Linux-v5.10/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()
232 struct bpf_prog_array *array; in lirc_bpf_free()
294 struct bpf_prog_array *progs; in lirc_prog_query()
Drc-core-priv.h65 struct bpf_prog_array __rcu *progs;
/Linux-v5.10/include/net/netns/
Dbpf.h12 struct bpf_prog_array;
16 struct bpf_prog_array __rcu *run_array[MAX_NETNS_BPF_ATTACH_TYPE];
/Linux-v5.10/kernel/bpf/
Dnet_namespace.c58 struct bpf_prog_array *run_array; in netns_bpf_run_array_detach()
90 struct bpf_prog_array *prog_array) in fill_prog_array()
106 struct bpf_prog_array *old_array, *new_array; in bpf_netns_link_release()
170 struct bpf_prog_array *run_array; in bpf_netns_link_update_prog()
251 struct bpf_prog_array *run_array; in __netns_bpf_prog_query()
298 struct bpf_prog_array *run_array; in netns_bpf_prog_attach()
425 struct bpf_prog_array *run_array; in netns_bpf_link_attach()
Dcore.c1868 struct bpf_prog_array hdr;
1874 struct bpf_prog_array *bpf_prog_array_alloc(u32 prog_cnt, gfp_t flags) in bpf_prog_array_alloc()
1877 return kzalloc(sizeof(struct bpf_prog_array) + in bpf_prog_array_alloc()
1885 void bpf_prog_array_free(struct bpf_prog_array *progs) in bpf_prog_array_free()
1892 int bpf_prog_array_length(struct bpf_prog_array *array) in bpf_prog_array_length()
1903 bool bpf_prog_array_is_empty(struct bpf_prog_array *array) in bpf_prog_array_is_empty()
1913 static bool bpf_prog_array_copy_core(struct bpf_prog_array *array, in bpf_prog_array_copy_core()
1933 int bpf_prog_array_copy_to_user(struct bpf_prog_array *array, in bpf_prog_array_copy_to_user()
1959 void bpf_prog_array_delete_safe(struct bpf_prog_array *array, in bpf_prog_array_delete_safe()
1986 int bpf_prog_array_delete_safe_at(struct bpf_prog_array *array, int index) in bpf_prog_array_delete_safe_at()
[all …]
Dcgroup.c112 struct bpf_prog_array *old_array; in cgroup_bpf_release()
229 struct bpf_prog_array **array) in compute_effective_progs()
232 struct bpf_prog_array *progs; in compute_effective_progs()
273 struct bpf_prog_array *old_array) in activate_effective_progs()
293 struct bpf_prog_array *arrays[NR] = {}; in cgroup_bpf_inherit()
528 struct bpf_prog_array *progs; in replace_effective_prog()
719 struct bpf_prog_array *effective; in __cgroup_bpf_query()
1290 struct bpf_prog_array *prog_array; in __cgroup_bpf_prog_array_is_empty()
/Linux-v5.10/include/linux/
Dbpf.h1037 struct bpf_prog_array { struct
1042 struct bpf_prog_array *bpf_prog_array_alloc(u32 prog_cnt, gfp_t flags); argument
1043 void bpf_prog_array_free(struct bpf_prog_array *progs);
1044 int bpf_prog_array_length(struct bpf_prog_array *progs);
1045 bool bpf_prog_array_is_empty(struct bpf_prog_array *array);
1046 int bpf_prog_array_copy_to_user(struct bpf_prog_array *progs,
1049 void bpf_prog_array_delete_safe(struct bpf_prog_array *progs,
1051 int bpf_prog_array_delete_safe_at(struct bpf_prog_array *array, int index);
1052 int bpf_prog_array_update_at(struct bpf_prog_array *array, int index,
1054 int bpf_prog_array_copy_info(struct bpf_prog_array *array,
[all …]
Dbpf-cgroup.h68 struct bpf_prog_array;
72 struct bpf_prog_array __rcu *effective[MAX_BPF_ATTACH_TYPE];
86 struct bpf_prog_array *inactive;
Dfilter.h1374 struct bpf_prog_array *run_array; in bpf_sk_lookup_run_v4()
1412 struct bpf_prog_array *run_array; in bpf_sk_lookup_run_v6()
Dtrace_events.h305 struct bpf_prog_array __rcu *prog_array;
/Linux-v5.10/kernel/trace/
Dbpf_trace.c1918 struct bpf_prog_array *old_array; in perf_event_attach_bpf_prog()
1919 struct bpf_prog_array *new_array; in perf_event_attach_bpf_prog()
1959 struct bpf_prog_array *old_array; in perf_event_detach_bpf_prog()
1960 struct bpf_prog_array *new_array; in perf_event_detach_bpf_prog()
1990 struct bpf_prog_array *progs; in perf_event_query_prog_array()
/Linux-v5.10/net/core/
Dflow_dissector.c976 struct bpf_prog_array *run_array; in __skb_flow_dissect()