Lines Matching defs:map
143 static void *array_map_lookup_elem(struct bpf_map *map, void *key) in array_map_lookup_elem()
154 static int array_map_direct_value_addr(const struct bpf_map *map, u64 *imm, in array_map_direct_value_addr()
168 static int array_map_direct_value_meta(const struct bpf_map *map, u64 imm, in array_map_direct_value_meta()
185 static u32 array_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) in array_map_gen_lookup()
215 static void *percpu_array_map_lookup_elem(struct bpf_map *map, void *key) in percpu_array_map_lookup_elem()
226 int bpf_percpu_array_copy(struct bpf_map *map, void *key, void *value) in bpf_percpu_array_copy()
253 static int array_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in array_map_get_next_key()
272 static int array_map_update_elem(struct bpf_map *map, void *key, void *value, in array_map_update_elem()
309 int bpf_percpu_array_update(struct bpf_map *map, void *key, void *value, in bpf_percpu_array_update()
348 static int array_map_delete_elem(struct bpf_map *map, void *key) in array_map_delete_elem()
354 static void array_map_free(struct bpf_map *map) in array_map_free()
371 static void array_map_seq_show_elem(struct bpf_map *map, void *key, in array_map_seq_show_elem()
392 static void percpu_array_map_seq_show_elem(struct bpf_map *map, void *key, in percpu_array_map_seq_show_elem()
415 static int array_map_check_btf(const struct bpf_map *map, in array_map_check_btf()
485 static void fd_array_map_free(struct bpf_map *map) in fd_array_map_free()
499 static void *fd_array_map_lookup_elem(struct bpf_map *map, void *key) in fd_array_map_lookup_elem()
505 int bpf_fd_array_map_lookup_elem(struct bpf_map *map, void *key, u32 *value) in bpf_fd_array_map_lookup_elem()
525 int bpf_fd_array_map_update_elem(struct bpf_map *map, struct file *map_file, in bpf_fd_array_map_update_elem()
550 static int fd_array_map_delete_elem(struct bpf_map *map, void *key) in fd_array_map_delete_elem()
568 static void *prog_fd_array_get_ptr(struct bpf_map *map, in prog_fd_array_get_ptr()
596 static void bpf_fd_array_map_clear(struct bpf_map *map) in bpf_fd_array_map_clear()
605 static void prog_array_map_seq_show_elem(struct bpf_map *map, void *key, in prog_array_map_seq_show_elem()
671 static void *perf_event_fd_array_get_ptr(struct bpf_map *map, in perf_event_fd_array_get_ptr()
702 static void perf_event_fd_array_release(struct bpf_map *map, in perf_event_fd_array_release()
732 static void *cgroup_fd_array_get_ptr(struct bpf_map *map, in cgroup_fd_array_get_ptr()
745 static void cgroup_fd_array_free(struct bpf_map *map) in cgroup_fd_array_free()
766 struct bpf_map *map, *inner_map_meta; in array_of_map_alloc() local
783 static void array_of_map_free(struct bpf_map *map) in array_of_map_free()
793 static void *array_of_map_lookup_elem(struct bpf_map *map, void *key) in array_of_map_lookup_elem()
803 static u32 array_of_map_gen_lookup(struct bpf_map *map, in array_of_map_gen_lookup()