Lines Matching defs:map
175 static void *array_map_lookup_elem(struct bpf_map *map, void *key) in array_map_lookup_elem()
186 static int array_map_direct_value_addr(const struct bpf_map *map, u64 *imm, in array_map_direct_value_addr()
200 static int array_map_direct_value_meta(const struct bpf_map *map, u64 imm, in array_map_direct_value_meta()
217 static int array_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) in array_map_gen_lookup()
250 static void *percpu_array_map_lookup_elem(struct bpf_map *map, void *key) in percpu_array_map_lookup_elem()
261 int bpf_percpu_array_copy(struct bpf_map *map, void *key, void *value) in bpf_percpu_array_copy()
288 static int array_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in array_map_get_next_key()
307 static int array_map_update_elem(struct bpf_map *map, void *key, void *value, in array_map_update_elem()
344 int bpf_percpu_array_update(struct bpf_map *map, void *key, void *value, in bpf_percpu_array_update()
383 static int array_map_delete_elem(struct bpf_map *map, void *key) in array_map_delete_elem()
394 static void array_map_free(struct bpf_map *map) in array_map_free()
407 static void array_map_seq_show_elem(struct bpf_map *map, void *key, in array_map_seq_show_elem()
428 static void percpu_array_map_seq_show_elem(struct bpf_map *map, void *key, in percpu_array_map_seq_show_elem()
451 static int array_map_check_btf(const struct bpf_map *map, in array_map_check_btf()
483 static int array_map_mmap(struct bpf_map *map, struct vm_area_struct *vma) in array_map_mmap()
509 struct bpf_map *map; member
517 struct bpf_map *map = info->map; in bpf_array_map_seq_start() local
536 struct bpf_map *map = info->map; in bpf_array_map_seq_next() local
556 struct bpf_map *map = info->map; in __bpf_array_map_seq_show() local
606 struct bpf_map *map = aux->map; in bpf_iter_init_array_map() local
695 static void fd_array_map_free(struct bpf_map *map) in fd_array_map_free()
707 static void *fd_array_map_lookup_elem(struct bpf_map *map, void *key) in fd_array_map_lookup_elem()
713 int bpf_fd_array_map_lookup_elem(struct bpf_map *map, void *key, u32 *value) in bpf_fd_array_map_lookup_elem()
733 int bpf_fd_array_map_update_elem(struct bpf_map *map, struct file *map_file, in bpf_fd_array_map_update_elem()
765 static int fd_array_map_delete_elem(struct bpf_map *map, void *key) in fd_array_map_delete_elem()
791 static void *prog_fd_array_get_ptr(struct bpf_map *map, in prog_fd_array_get_ptr()
819 static void bpf_fd_array_map_clear(struct bpf_map *map) in bpf_fd_array_map_clear()
828 static void prog_array_map_seq_show_elem(struct bpf_map *map, void *key, in prog_array_map_seq_show_elem()
856 static int prog_array_map_poke_track(struct bpf_map *map, in prog_array_map_poke_track()
889 static void prog_array_map_poke_untrack(struct bpf_map *map, in prog_array_map_poke_untrack()
907 static void prog_array_map_poke_run(struct bpf_map *map, u32 key, in prog_array_map_poke_run()
1002 struct bpf_map *map = container_of(work, struct bpf_array_aux, in prog_array_map_clear_deferred() local
1008 static void prog_array_map_clear(struct bpf_map *map) in prog_array_map_clear()
1019 struct bpf_map *map; in prog_array_map_alloc() local
1041 static void prog_array_map_free(struct bpf_map *map) in prog_array_map_free()
1109 static void *perf_event_fd_array_get_ptr(struct bpf_map *map, in perf_event_fd_array_get_ptr()
1140 static void perf_event_fd_array_release(struct bpf_map *map, in perf_event_fd_array_release()
1159 static void perf_event_fd_array_map_free(struct bpf_map *map) in perf_event_fd_array_map_free()
1184 static void *cgroup_fd_array_get_ptr(struct bpf_map *map, in cgroup_fd_array_get_ptr()
1197 static void cgroup_fd_array_free(struct bpf_map *map) in cgroup_fd_array_free()
1222 struct bpf_map *map, *inner_map_meta; in array_of_map_alloc() local
1239 static void array_of_map_free(struct bpf_map *map) in array_of_map_free()
1249 static void *array_of_map_lookup_elem(struct bpf_map *map, void *key) in array_of_map_lookup_elem()
1259 static int array_of_map_gen_lookup(struct bpf_map *map, in array_of_map_gen_lookup()