Lines Matching refs:bpf_array

21 static void bpf_array_free_percpu(struct bpf_array *array)  in bpf_array_free_percpu()
31 static int bpf_array_alloc_percpu(struct bpf_array *array) in bpf_array_alloc_percpu()
89 struct bpf_array *array; in array_map_alloc()
148 array = data + PAGE_ALIGN(sizeof(struct bpf_array)) in array_map_alloc()
149 - offsetof(struct bpf_array, value); in array_map_alloc()
177 struct bpf_array *array = container_of(map, struct bpf_array, map); in array_map_lookup_elem()
189 struct bpf_array *array = container_of(map, struct bpf_array, map); in array_map_direct_value_addr()
203 struct bpf_array *array = container_of(map, struct bpf_array, map); in array_map_direct_value_meta()
219 struct bpf_array *array = container_of(map, struct bpf_array, map); in array_map_gen_lookup()
229 *insn++ = BPF_ALU64_IMM(BPF_ADD, map_ptr, offsetof(struct bpf_array, value)); in array_map_gen_lookup()
252 struct bpf_array *array = container_of(map, struct bpf_array, map); in percpu_array_map_lookup_elem()
263 struct bpf_array *array = container_of(map, struct bpf_array, map); in bpf_percpu_array_copy()
290 struct bpf_array *array = container_of(map, struct bpf_array, map); in array_map_get_next_key()
310 struct bpf_array *array = container_of(map, struct bpf_array, map); in array_map_update_elem()
347 struct bpf_array *array = container_of(map, struct bpf_array, map); in bpf_percpu_array_update()
388 static void *array_map_vmalloc_addr(struct bpf_array *array) in array_map_vmalloc_addr()
396 struct bpf_array *array = container_of(map, struct bpf_array, map); in array_map_free()
431 struct bpf_array *array = container_of(map, struct bpf_array, map); in percpu_array_map_seq_show_elem()
485 struct bpf_array *array = container_of(map, struct bpf_array, map); in array_map_mmap()
518 struct bpf_array *array; in bpf_array_map_seq_start()
526 array = container_of(map, struct bpf_array, map); in bpf_array_map_seq_start()
537 struct bpf_array *array; in bpf_array_map_seq_next()
545 array = container_of(map, struct bpf_array, map); in bpf_array_map_seq_next()
697 struct bpf_array *array = container_of(map, struct bpf_array, map); in fd_array_map_free()
736 struct bpf_array *array = container_of(map, struct bpf_array, map); in bpf_fd_array_map_update_elem()
767 struct bpf_array *array = container_of(map, struct bpf_array, map); in fd_array_map_delete_elem()
794 struct bpf_array *array = container_of(map, struct bpf_array, map); in prog_fd_array_get_ptr()
821 struct bpf_array *array = container_of(map, struct bpf_array, map); in bpf_fd_array_map_clear()
863 aux = container_of(map, struct bpf_array, map)->aux; in prog_array_map_poke_track()
895 aux = container_of(map, struct bpf_array, map)->aux; in prog_array_map_poke_untrack()
915 aux = container_of(map, struct bpf_array, map)->aux; in prog_array_map_poke_run()
1010 struct bpf_array_aux *aux = container_of(map, struct bpf_array, in prog_array_map_clear()
1035 container_of(map, struct bpf_array, map)->aux = aux; in prog_array_map_alloc()
1046 aux = container_of(map, struct bpf_array, map)->aux; in prog_array_map_free()
1143 struct bpf_array *array = container_of(map, struct bpf_array, map); in perf_event_fd_array_release()
1262 struct bpf_array *array = container_of(map, struct bpf_array, map); in array_of_map_gen_lookup()
1269 *insn++ = BPF_ALU64_IMM(BPF_ADD, map_ptr, offsetof(struct bpf_array, value)); in array_of_map_gen_lookup()