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()
88 struct bpf_array *array; in array_map_alloc()
136 array = data + PAGE_ALIGN(sizeof(struct bpf_array)) in array_map_alloc()
137 - offsetof(struct bpf_array, value); in array_map_alloc()
161 struct bpf_array *array = container_of(map, struct bpf_array, map); in array_map_lookup_elem()
173 struct bpf_array *array = container_of(map, struct bpf_array, map); in array_map_direct_value_addr()
187 struct bpf_array *array = container_of(map, struct bpf_array, map); in array_map_direct_value_meta()
203 struct bpf_array *array = container_of(map, struct bpf_array, map); in array_map_gen_lookup()
213 *insn++ = BPF_ALU64_IMM(BPF_ADD, map_ptr, offsetof(struct bpf_array, value)); in array_map_gen_lookup()
236 struct bpf_array *array = container_of(map, struct bpf_array, map); in percpu_array_map_lookup_elem()
247 struct bpf_array *array = container_of(map, struct bpf_array, map); in bpf_percpu_array_copy()
274 struct bpf_array *array = container_of(map, struct bpf_array, map); in array_map_get_next_key()
290 static void check_and_free_timer_in_array(struct bpf_array *arr, void *val) in check_and_free_timer_in_array()
300 struct bpf_array *array = container_of(map, struct bpf_array, map); in array_map_update_elem()
338 struct bpf_array *array = container_of(map, struct bpf_array, map); in bpf_percpu_array_update()
379 static void *array_map_vmalloc_addr(struct bpf_array *array) in array_map_vmalloc_addr()
386 struct bpf_array *array = container_of(map, struct bpf_array, map); in array_map_free_timers()
400 struct bpf_array *array = container_of(map, struct bpf_array, map); in array_map_free()
435 struct bpf_array *array = container_of(map, struct bpf_array, map); in percpu_array_map_seq_show_elem()
489 struct bpf_array *array = container_of(map, struct bpf_array, map); in array_map_mmap()
522 struct bpf_array *array; in bpf_array_map_seq_start()
530 array = container_of(map, struct bpf_array, map); in bpf_array_map_seq_start()
541 struct bpf_array *array; in bpf_array_map_seq_next()
549 array = container_of(map, struct bpf_array, map); in bpf_array_map_seq_next()
652 struct bpf_array *array; in bpf_for_each_array_elem()
661 array = container_of(map, struct bpf_array, map); in bpf_for_each_array_elem()
743 struct bpf_array *array = container_of(map, struct bpf_array, map); in fd_array_map_free()
782 struct bpf_array *array = container_of(map, struct bpf_array, map); in bpf_fd_array_map_update_elem()
813 struct bpf_array *array = container_of(map, struct bpf_array, map); in fd_array_map_delete_elem()
840 struct bpf_array *array = container_of(map, struct bpf_array, map); in prog_fd_array_get_ptr()
867 struct bpf_array *array = container_of(map, struct bpf_array, map); in bpf_fd_array_map_clear()
909 aux = container_of(map, struct bpf_array, map)->aux; in prog_array_map_poke_track()
941 aux = container_of(map, struct bpf_array, map)->aux; in prog_array_map_poke_untrack()
961 aux = container_of(map, struct bpf_array, map)->aux; in prog_array_map_poke_run()
1056 struct bpf_array_aux *aux = container_of(map, struct bpf_array, in prog_array_map_clear()
1082 container_of(map, struct bpf_array, map)->aux = aux; in prog_array_map_alloc()
1093 aux = container_of(map, struct bpf_array, map)->aux; in prog_array_map_free()
1190 struct bpf_array *array = container_of(map, struct bpf_array, map); in perf_event_fd_array_release()
1309 struct bpf_array *array = container_of(map, struct bpf_array, map); in array_of_map_gen_lookup()
1316 *insn++ = BPF_ALU64_IMM(BPF_ADD, map_ptr, offsetof(struct bpf_array, value)); in array_of_map_gen_lookup()