| /kernel/linux/linux-6.6/include/linux/ |
| 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;
|
| D | bpf.h | 1873 struct bpf_prog_array { struct 1879 struct bpf_prog_array hdr; argument 1891 struct bpf_prog_array *bpf_prog_array_alloc(u32 prog_cnt, gfp_t flags); 1892 void bpf_prog_array_free(struct bpf_prog_array *progs); 1894 void bpf_prog_array_free_sleepable(struct bpf_prog_array *progs); 1895 int bpf_prog_array_length(struct bpf_prog_array *progs); 1896 bool bpf_prog_array_is_empty(struct bpf_prog_array *array); 1897 int bpf_prog_array_copy_to_user(struct bpf_prog_array *progs, 1900 void bpf_prog_array_delete_safe(struct bpf_prog_array *progs, 1902 int bpf_prog_array_delete_safe_at(struct bpf_prog_array *array, int index); [all …]
|
| D | bpf-cgroup.h | 184 struct bpf_prog_array *array; in cgroup_bpf_sock_enabled()
|
| 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()
|
| D | trace_events.h | 399 struct bpf_prog_array __rcu *prog_array;
|
| /kernel/linux/linux-5.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() 232 struct bpf_prog_array *array; in lirc_bpf_free() 294 struct bpf_prog_array *progs; in lirc_prog_query()
|
| D | rc-core-priv.h | 65 struct bpf_prog_array __rcu *progs;
|
| /kernel/linux/linux-6.6/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;
|
| /kernel/linux/linux-5.10/include/net/netns/ |
| D | bpf.h | 12 struct bpf_prog_array; 16 struct bpf_prog_array __rcu *run_array[MAX_NETNS_BPF_ATTACH_TYPE];
|
| /kernel/linux/linux-6.6/include/net/netns/ |
| D | bpf.h | 12 struct bpf_prog_array; 23 struct bpf_prog_array __rcu *run_array[MAX_NETNS_BPF_ATTACH_TYPE];
|
| /kernel/linux/linux-5.10/kernel/bpf/ |
| D | net_namespace.c | 58 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()
|
| D | core.c | 1935 struct bpf_prog_array hdr; 1941 struct bpf_prog_array *bpf_prog_array_alloc(u32 prog_cnt, gfp_t flags) in bpf_prog_array_alloc() 1944 return kzalloc(sizeof(struct bpf_prog_array) + in bpf_prog_array_alloc() 1952 void bpf_prog_array_free(struct bpf_prog_array *progs) in bpf_prog_array_free() 1959 int bpf_prog_array_length(struct bpf_prog_array *array) in bpf_prog_array_length() 1970 bool bpf_prog_array_is_empty(struct bpf_prog_array *array) in bpf_prog_array_is_empty() 1980 static bool bpf_prog_array_copy_core(struct bpf_prog_array *array, in bpf_prog_array_copy_core() 2000 int bpf_prog_array_copy_to_user(struct bpf_prog_array *array, in bpf_prog_array_copy_to_user() 2026 void bpf_prog_array_delete_safe(struct bpf_prog_array *array, in bpf_prog_array_delete_safe() 2053 int bpf_prog_array_delete_safe_at(struct bpf_prog_array *array, int index) in bpf_prog_array_delete_safe_at() [all …]
|
| D | cgroup.c | 129 struct bpf_prog_array *old_array; in cgroup_bpf_release() 246 struct bpf_prog_array **array) in compute_effective_progs() 249 struct bpf_prog_array *progs; in compute_effective_progs() 290 struct bpf_prog_array *old_array) in activate_effective_progs() 310 struct bpf_prog_array *arrays[NR] = {}; in cgroup_bpf_inherit() 545 struct bpf_prog_array *progs; in replace_effective_prog() 688 struct bpf_prog_array *progs; in purge_effective_progs() 788 struct bpf_prog_array *effective; in __cgroup_bpf_query() 1359 struct bpf_prog_array *prog_array; in __cgroup_bpf_prog_array_is_empty()
|
| /kernel/linux/linux-6.6/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 | 2435 struct bpf_prog_array *bpf_prog_array_alloc(u32 prog_cnt, gfp_t flags) in bpf_prog_array_alloc() 2438 return kzalloc(sizeof(struct bpf_prog_array) + in bpf_prog_array_alloc() 2446 void bpf_prog_array_free(struct bpf_prog_array *progs) in bpf_prog_array_free() 2455 struct bpf_prog_array *progs; in __bpf_prog_array_free_sleepable_cb() 2460 progs = container_of(rcu, struct bpf_prog_array, rcu); in __bpf_prog_array_free_sleepable_cb() 2467 void bpf_prog_array_free_sleepable(struct bpf_prog_array *progs) in bpf_prog_array_free_sleepable() 2474 int bpf_prog_array_length(struct bpf_prog_array *array) in bpf_prog_array_length() 2485 bool bpf_prog_array_is_empty(struct bpf_prog_array *array) in bpf_prog_array_is_empty() 2495 static bool bpf_prog_array_copy_core(struct bpf_prog_array *array, in bpf_prog_array_copy_core() 2515 int bpf_prog_array_copy_to_user(struct bpf_prog_array *array, in bpf_prog_array_copy_to_user() [all …]
|
| 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() 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()
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | bpf.h | 1124 struct bpf_prog_array { struct 1129 struct bpf_prog_array *bpf_prog_array_alloc(u32 prog_cnt, gfp_t flags); argument 1130 void bpf_prog_array_free(struct bpf_prog_array *progs); 1131 int bpf_prog_array_length(struct bpf_prog_array *progs); 1132 bool bpf_prog_array_is_empty(struct bpf_prog_array *array); 1133 int bpf_prog_array_copy_to_user(struct bpf_prog_array *progs, 1136 void bpf_prog_array_delete_safe(struct bpf_prog_array *progs, 1138 int bpf_prog_array_delete_safe_at(struct bpf_prog_array *array, int index); 1139 int bpf_prog_array_update_at(struct bpf_prog_array *array, int index, 1141 int bpf_prog_array_copy_info(struct bpf_prog_array *array, [all …]
|
| D | bpf-cgroup.h | 66 struct bpf_prog_array; 70 struct bpf_prog_array __rcu *effective[MAX_BPF_ATTACH_TYPE]; 84 struct bpf_prog_array *inactive;
|
| D | filter.h | 1391 struct bpf_prog_array *run_array; in bpf_sk_lookup_run_v4() 1429 struct bpf_prog_array *run_array; in bpf_sk_lookup_run_v6()
|
| D | trace_events.h | 309 struct bpf_prog_array __rcu *prog_array;
|
| /kernel/linux/linux-5.10/kernel/trace/ |
| D | bpf_trace.c | 1922 struct bpf_prog_array *old_array; in perf_event_attach_bpf_prog() 1923 struct bpf_prog_array *new_array; in perf_event_attach_bpf_prog() 1963 struct bpf_prog_array *old_array; in perf_event_detach_bpf_prog() 1964 struct bpf_prog_array *new_array; in perf_event_detach_bpf_prog() 1994 struct bpf_prog_array *progs; in perf_event_query_prog_array()
|
| /kernel/linux/linux-6.6/kernel/trace/ |
| D | bpf_trace.c | 2169 struct bpf_prog_array *old_array; in perf_event_attach_bpf_prog() 2170 struct bpf_prog_array *new_array; in perf_event_attach_bpf_prog() 2211 struct bpf_prog_array *old_array; in perf_event_detach_bpf_prog() 2212 struct bpf_prog_array *new_array; in perf_event_detach_bpf_prog() 2251 struct bpf_prog_array *progs; in perf_event_query_prog_array()
|
| D | trace_uprobe.c | 1386 const struct bpf_prog_array *array; in __uprobe_perf_func()
|
| /kernel/linux/linux-5.10/net/core/ |
| D | flow_dissector.c | 978 struct bpf_prog_array *run_array; in __skb_flow_dissect()
|