Searched refs:bpf_prog_array (Results  1 – 8 of 8) sorted by relevance
| /Linux-v5.4/drivers/media/rc/ | 
| D | bpf-lirc.c | 142 	struct bpf_prog_array *old_array;  in lirc_bpf_attach()143 	struct bpf_prog_array *new_array;  in lirc_bpf_attach()
 180 	struct bpf_prog_array *old_array;  in lirc_bpf_detach()
 181 	struct bpf_prog_array *new_array;  in lirc_bpf_detach()
 235 	struct bpf_prog_array *array;  in lirc_bpf_free()
 297 	struct bpf_prog_array *progs;  in lirc_prog_query()
 
 | 
| D | rc-core-priv.h | 65 	struct bpf_prog_array __rcu	*progs;
 | 
| /Linux-v5.4/include/linux/ | 
| D | bpf.h | 516 struct bpf_prog_array {  struct521 struct bpf_prog_array *bpf_prog_array_alloc(u32 prog_cnt, gfp_t flags);  argument
 522 void bpf_prog_array_free(struct bpf_prog_array *progs);
 523 int bpf_prog_array_length(struct bpf_prog_array *progs);
 524 bool bpf_prog_array_is_empty(struct bpf_prog_array *array);
 525 int bpf_prog_array_copy_to_user(struct bpf_prog_array *progs,
 528 void bpf_prog_array_delete_safe(struct bpf_prog_array *progs,
 530 int bpf_prog_array_copy_info(struct bpf_prog_array *array,
 533 int bpf_prog_array_copy(struct bpf_prog_array *old_array,
 536 			struct bpf_prog_array **new_array);
 [all …]
 
 | 
| D | bpf-cgroup.h | 60 struct bpf_prog_array;64 	struct bpf_prog_array __rcu *effective[MAX_BPF_ATTACH_TYPE];
 75 	struct bpf_prog_array *inactive;
 
 | 
| D | trace_events.h | 281 	struct bpf_prog_array __rcu	*prog_array;
 | 
| /Linux-v5.4/kernel/bpf/ | 
| D | core.c | 1780 	struct bpf_prog_array hdr;1786 struct bpf_prog_array *bpf_prog_array_alloc(u32 prog_cnt, gfp_t flags)  in bpf_prog_array_alloc()
 1789 		return kzalloc(sizeof(struct bpf_prog_array) +  in bpf_prog_array_alloc()
 1797 void bpf_prog_array_free(struct bpf_prog_array *progs)  in bpf_prog_array_free()
 1804 int bpf_prog_array_length(struct bpf_prog_array *array)  in bpf_prog_array_length()
 1815 bool bpf_prog_array_is_empty(struct bpf_prog_array *array)  in bpf_prog_array_is_empty()
 1825 static bool bpf_prog_array_copy_core(struct bpf_prog_array *array,  in bpf_prog_array_copy_core()
 1845 int bpf_prog_array_copy_to_user(struct bpf_prog_array *array,  in bpf_prog_array_copy_to_user()
 1871 void bpf_prog_array_delete_safe(struct bpf_prog_array *array,  in bpf_prog_array_delete_safe()
 1883 int bpf_prog_array_copy(struct bpf_prog_array *old_array,  in bpf_prog_array_copy()
 [all …]
 
 | 
| D | cgroup.c | 41 	struct bpf_prog_array *old_array;  in cgroup_bpf_release()137 				   struct bpf_prog_array **array)  in compute_effective_progs()
 140 	struct bpf_prog_array *progs;  in compute_effective_progs()
 181 				     struct bpf_prog_array *old_array)  in activate_effective_progs()
 201 	struct bpf_prog_array *arrays[NR] = {};  in cgroup_bpf_inherit()
 498 	struct bpf_prog_array *effective;  in __cgroup_bpf_query()
 946 	struct bpf_prog_array *prog_array;  in __cgroup_bpf_prog_array_is_empty()
 
 | 
| /Linux-v5.4/kernel/trace/ | 
| D | bpf_trace.c | 1199 	struct bpf_prog_array *old_array;  in perf_event_attach_bpf_prog()1200 	struct bpf_prog_array *new_array;  in perf_event_attach_bpf_prog()
 1240 	struct bpf_prog_array *old_array;  in perf_event_detach_bpf_prog()
 1241 	struct bpf_prog_array *new_array;  in perf_event_detach_bpf_prog()
 1271 	struct bpf_prog_array *progs;  in perf_event_query_prog_array()
 
 |