Lines Matching refs:bpf_map

34 	struct bpf_map map;
98 static void *fd_htab_map_get_ptr(const struct bpf_map *map, struct htab_elem *l) in fd_htab_map_get_ptr()
298 static struct bpf_map *htab_map_alloc(union bpf_attr *attr) in htab_map_alloc()
464 static void *__htab_map_lookup_elem(struct bpf_map *map, void *key) in __htab_map_lookup_elem()
485 static void *htab_map_lookup_elem(struct bpf_map *map, void *key) in htab_map_lookup_elem()
506 static u32 htab_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) in htab_map_gen_lookup()
512 (void *(*)(struct bpf_map *map, void *key))NULL)); in htab_map_gen_lookup()
521 static void *htab_lru_map_lookup_elem(struct bpf_map *map, void *key) in htab_lru_map_lookup_elem()
533 static u32 htab_lru_map_gen_lookup(struct bpf_map *map, in htab_lru_map_gen_lookup()
541 (void *(*)(struct bpf_map *map, void *key))NULL)); in htab_lru_map_gen_lookup()
588 static int htab_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in htab_map_get_next_key()
671 struct bpf_map *map = &htab->map; in free_htab_elem()
811 static int htab_map_update_elem(struct bpf_map *map, void *key, void *value, in htab_map_update_elem()
867 static int htab_lru_map_update_elem(struct bpf_map *map, void *key, void *value, in htab_lru_map_update_elem()
931 static int __htab_percpu_map_update_elem(struct bpf_map *map, void *key, in __htab_percpu_map_update_elem()
984 static int __htab_lru_percpu_map_update_elem(struct bpf_map *map, void *key, in __htab_lru_percpu_map_update_elem()
1049 static int htab_percpu_map_update_elem(struct bpf_map *map, void *key, in htab_percpu_map_update_elem()
1055 static int htab_lru_percpu_map_update_elem(struct bpf_map *map, void *key, in htab_lru_percpu_map_update_elem()
1063 static int htab_map_delete_elem(struct bpf_map *map, void *key) in htab_map_delete_elem()
1095 static int htab_lru_map_delete_elem(struct bpf_map *map, void *key) in htab_lru_map_delete_elem()
1145 static void htab_map_free(struct bpf_map *map) in htab_map_free()
1170 static void htab_map_seq_show_elem(struct bpf_map *map, void *key, in htab_map_seq_show_elem()
1216 static void *htab_percpu_map_lookup_elem(struct bpf_map *map, void *key) in htab_percpu_map_lookup_elem()
1226 static void *htab_lru_percpu_map_lookup_elem(struct bpf_map *map, void *key) in htab_lru_percpu_map_lookup_elem()
1238 int bpf_percpu_hash_copy(struct bpf_map *map, void *key, void *value) in bpf_percpu_hash_copy()
1270 int bpf_percpu_hash_update(struct bpf_map *map, void *key, void *value, in bpf_percpu_hash_update()
1315 static void fd_htab_map_free(struct bpf_map *map) in fd_htab_map_free()
1337 int bpf_fd_htab_map_lookup_elem(struct bpf_map *map, void *key, u32 *value) in bpf_fd_htab_map_lookup_elem()
1357 int bpf_fd_htab_map_update_elem(struct bpf_map *map, struct file *map_file, in bpf_fd_htab_map_update_elem()
1375 static struct bpf_map *htab_of_map_alloc(union bpf_attr *attr) in htab_of_map_alloc()
1377 struct bpf_map *map, *inner_map_meta; in htab_of_map_alloc()
1394 static void *htab_of_map_lookup_elem(struct bpf_map *map, void *key) in htab_of_map_lookup_elem()
1396 struct bpf_map **inner_map = htab_map_lookup_elem(map, key); in htab_of_map_lookup_elem()
1404 static u32 htab_of_map_gen_lookup(struct bpf_map *map, in htab_of_map_gen_lookup()
1411 (void *(*)(struct bpf_map *map, void *key))NULL)); in htab_of_map_gen_lookup()
1422 static void htab_of_map_free(struct bpf_map *map) in htab_of_map_free()