Lines Matching refs:bpf_map
90 struct bpf_map map;
195 static void *fd_htab_map_get_ptr(const struct bpf_map *map, struct htab_elem *l) in fd_htab_map_get_ptr()
411 static struct bpf_map *htab_map_alloc(union bpf_attr *attr) in htab_map_alloc()
574 static void *__htab_map_lookup_elem(struct bpf_map *map, void *key) in __htab_map_lookup_elem()
594 static void *htab_map_lookup_elem(struct bpf_map *map, void *key) in htab_map_lookup_elem()
615 static int htab_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) in htab_map_gen_lookup()
621 (void *(*)(struct bpf_map *map, void *key))NULL)); in htab_map_gen_lookup()
630 static __always_inline void *__htab_lru_map_lookup_elem(struct bpf_map *map, in __htab_lru_map_lookup_elem()
644 static void *htab_lru_map_lookup_elem(struct bpf_map *map, void *key) in htab_lru_map_lookup_elem()
649 static void *htab_lru_map_lookup_elem_sys(struct bpf_map *map, void *key) in htab_lru_map_lookup_elem_sys()
654 static int htab_lru_map_gen_lookup(struct bpf_map *map, in htab_lru_map_gen_lookup()
662 (void *(*)(struct bpf_map *map, void *key))NULL)); in htab_lru_map_gen_lookup()
709 static int htab_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in htab_map_get_next_key()
784 struct bpf_map *map = &htab->map; in htab_put_fd_value()
955 static int htab_map_update_elem(struct bpf_map *map, void *key, void *value, in htab_map_update_elem()
1046 static int htab_lru_map_update_elem(struct bpf_map *map, void *key, void *value, in htab_lru_map_update_elem()
1109 static int __htab_percpu_map_update_elem(struct bpf_map *map, void *key, in __htab_percpu_map_update_elem()
1161 static int __htab_lru_percpu_map_update_elem(struct bpf_map *map, void *key, in __htab_lru_percpu_map_update_elem()
1225 static int htab_percpu_map_update_elem(struct bpf_map *map, void *key, in htab_percpu_map_update_elem()
1231 static int htab_lru_percpu_map_update_elem(struct bpf_map *map, void *key, in htab_lru_percpu_map_update_elem()
1239 static int htab_map_delete_elem(struct bpf_map *map, void *key) in htab_map_delete_elem()
1271 static int htab_lru_map_delete_elem(struct bpf_map *map, void *key) in htab_lru_map_delete_elem()
1321 static void htab_map_free(struct bpf_map *map) in htab_map_free()
1344 static void htab_map_seq_show_elem(struct bpf_map *map, void *key, in htab_map_seq_show_elem()
1366 __htab_map_lookup_and_delete_batch(struct bpf_map *map, in __htab_map_lookup_and_delete_batch()
1579 htab_percpu_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr, in htab_percpu_map_lookup_batch()
1587 htab_percpu_map_lookup_and_delete_batch(struct bpf_map *map, in htab_percpu_map_lookup_and_delete_batch()
1596 htab_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr, in htab_map_lookup_batch()
1604 htab_map_lookup_and_delete_batch(struct bpf_map *map, in htab_map_lookup_and_delete_batch()
1613 htab_lru_percpu_map_lookup_batch(struct bpf_map *map, in htab_lru_percpu_map_lookup_batch()
1622 htab_lru_percpu_map_lookup_and_delete_batch(struct bpf_map *map, in htab_lru_percpu_map_lookup_and_delete_batch()
1631 htab_lru_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr, in htab_lru_map_lookup_batch()
1639 htab_lru_map_lookup_and_delete_batch(struct bpf_map *map, in htab_lru_map_lookup_and_delete_batch()
1648 struct bpf_map *map;
1739 struct bpf_map *map = info->map; in __bpf_hash_map_seq_show()
1790 struct bpf_map *map = aux->map; in bpf_iter_init_hash_map()
1870 static void *htab_percpu_map_lookup_elem(struct bpf_map *map, void *key) in htab_percpu_map_lookup_elem()
1880 static void *htab_lru_percpu_map_lookup_elem(struct bpf_map *map, void *key) in htab_lru_percpu_map_lookup_elem()
1892 int bpf_percpu_hash_copy(struct bpf_map *map, void *key, void *value) in bpf_percpu_hash_copy()
1924 int bpf_percpu_hash_update(struct bpf_map *map, void *key, void *value, in bpf_percpu_hash_update()
1942 static void htab_percpu_map_seq_show_elem(struct bpf_map *map, void *key, in htab_percpu_map_seq_show_elem()
2012 static void fd_htab_map_free(struct bpf_map *map) in fd_htab_map_free()
2034 int bpf_fd_htab_map_lookup_elem(struct bpf_map *map, void *key, u32 *value) in bpf_fd_htab_map_lookup_elem()
2054 int bpf_fd_htab_map_update_elem(struct bpf_map *map, struct file *map_file, in bpf_fd_htab_map_update_elem()
2072 static struct bpf_map *htab_of_map_alloc(union bpf_attr *attr) in htab_of_map_alloc()
2074 struct bpf_map *map, *inner_map_meta; in htab_of_map_alloc()
2091 static void *htab_of_map_lookup_elem(struct bpf_map *map, void *key) in htab_of_map_lookup_elem()
2093 struct bpf_map **inner_map = htab_map_lookup_elem(map, key); in htab_of_map_lookup_elem()
2101 static int htab_of_map_gen_lookup(struct bpf_map *map, in htab_of_map_gen_lookup()
2108 (void *(*)(struct bpf_map *map, void *key))NULL)); in htab_of_map_gen_lookup()
2119 static void htab_of_map_free(struct bpf_map *map) in htab_of_map_free()