Searched refs:bpf_prog_array (Results 1 – 8 of 8) sorted by relevance
| /Linux-v4.19/drivers/media/rc/ |
| D | bpf-lirc.c | 109 struct bpf_prog_array __rcu *old_array; in lirc_bpf_attach() 110 struct bpf_prog_array *new_array; in lirc_bpf_attach() 147 struct bpf_prog_array __rcu *old_array; in lirc_bpf_detach() 148 struct bpf_prog_array *new_array; in lirc_bpf_detach() 263 struct bpf_prog_array __rcu *progs; in lirc_prog_query()
|
| D | rc-core-priv.h | 65 struct bpf_prog_array __rcu *progs;
|
| /Linux-v4.19/include/linux/ |
| D | bpf.h | 363 struct bpf_prog_array { struct 368 struct bpf_prog_array *bpf_prog_array_alloc(u32 prog_cnt, gfp_t flags); argument 369 void bpf_prog_array_free(struct bpf_prog_array __rcu *progs); 370 int bpf_prog_array_length(struct bpf_prog_array __rcu *progs); 371 int bpf_prog_array_copy_to_user(struct bpf_prog_array __rcu *progs, 374 void bpf_prog_array_delete_safe(struct bpf_prog_array __rcu *progs, 376 int bpf_prog_array_copy_info(struct bpf_prog_array __rcu *array, 379 int bpf_prog_array_copy(struct bpf_prog_array __rcu *old_array, 382 struct bpf_prog_array **new_array); 388 struct bpf_prog_array *_array; \
|
| D | bpf-cgroup.h | 49 struct bpf_prog_array; 53 struct bpf_prog_array __rcu *effective[MAX_BPF_ATTACH_TYPE]; 64 struct bpf_prog_array __rcu *inactive;
|
| D | trace_events.h | 280 struct bpf_prog_array __rcu *prog_array;
|
| /Linux-v4.19/kernel/bpf/ |
| D | cgroup.c | 98 struct bpf_prog_array __rcu **array) in compute_effective_progs() 100 struct bpf_prog_array *progs; in compute_effective_progs() 139 struct bpf_prog_array __rcu *array) in activate_effective_progs() 141 struct bpf_prog_array __rcu *old_array; in activate_effective_progs() 160 struct bpf_prog_array __rcu *arrays[NR] = {}; in cgroup_bpf_inherit()
|
| D | core.c | 1535 struct bpf_prog_array hdr; 1541 struct bpf_prog_array *bpf_prog_array_alloc(u32 prog_cnt, gfp_t flags) in bpf_prog_array_alloc() 1544 return kzalloc(sizeof(struct bpf_prog_array) + in bpf_prog_array_alloc() 1552 void bpf_prog_array_free(struct bpf_prog_array __rcu *progs) in bpf_prog_array_free() 1555 progs == (struct bpf_prog_array __rcu *)&empty_prog_array.hdr) in bpf_prog_array_free() 1560 int bpf_prog_array_length(struct bpf_prog_array __rcu *array) in bpf_prog_array_length() 1575 static bool bpf_prog_array_copy_core(struct bpf_prog_array __rcu *array, in bpf_prog_array_copy_core() 1596 int bpf_prog_array_copy_to_user(struct bpf_prog_array __rcu *array, in bpf_prog_array_copy_to_user() 1628 void bpf_prog_array_delete_safe(struct bpf_prog_array __rcu *array, in bpf_prog_array_delete_safe() 1640 int bpf_prog_array_copy(struct bpf_prog_array __rcu *old_array, in bpf_prog_array_copy() [all …]
|
| /Linux-v4.19/kernel/trace/ |
| D | bpf_trace.c | 964 struct bpf_prog_array __rcu *old_array; in perf_event_attach_bpf_prog() 965 struct bpf_prog_array *new_array; in perf_event_attach_bpf_prog() 1005 struct bpf_prog_array __rcu *old_array; in perf_event_detach_bpf_prog() 1006 struct bpf_prog_array *new_array; in perf_event_detach_bpf_prog()
|