Lines Matching refs:bpf_map

89 	struct bpf_map map;
199 static void *fd_htab_map_get_ptr(const struct bpf_map *map, struct htab_elem *l)
467 static struct bpf_map *htab_map_alloc(union bpf_attr *attr)
657 static void *__htab_map_lookup_elem(struct bpf_map *map, void *key)
678 static void *htab_map_lookup_elem(struct bpf_map *map, void *key)
699 static int htab_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf)
705 (void *(*)(struct bpf_map *map, void *key))NULL));
714 static __always_inline void *__htab_lru_map_lookup_elem(struct bpf_map *map,
728 static void *htab_lru_map_lookup_elem(struct bpf_map *map, void *key)
733 static void *htab_lru_map_lookup_elem_sys(struct bpf_map *map, void *key)
738 static int htab_lru_map_gen_lookup(struct bpf_map *map,
746 (void *(*)(struct bpf_map *map, void *key))NULL));
818 static int htab_map_get_next_key(struct bpf_map *map, void *key, void *next_key)
887 struct bpf_map *map = &htab->map;
1078 static long htab_map_update_elem(struct bpf_map *map, void *key, void *value,
1186 static long htab_lru_map_update_elem(struct bpf_map *map, void *key, void *value,
1253 static long htab_map_update_elem_in_place(struct bpf_map *map, void *key,
1317 static long __htab_lru_percpu_map_update_elem(struct bpf_map *map, void *key,
1387 static long htab_percpu_map_update_elem(struct bpf_map *map, void *key,
1393 static long htab_lru_percpu_map_update_elem(struct bpf_map *map, void *key,
1401 static long htab_map_delete_elem(struct bpf_map *map, void *key)
1437 static long htab_lru_map_delete_elem(struct bpf_map *map, void *key)
1517 static void htab_map_free_timers_and_wq(struct bpf_map *map)
1531 static void htab_map_free(struct bpf_map *map)
1561 static void htab_map_seq_show_elem(struct bpf_map *map, void *key,
1582 static int __htab_map_lookup_and_delete_elem(struct bpf_map *map, void *key,
1646 static int htab_map_lookup_and_delete_elem(struct bpf_map *map, void *key,
1653 static int htab_percpu_map_lookup_and_delete_elem(struct bpf_map *map,
1661 static int htab_lru_map_lookup_and_delete_elem(struct bpf_map *map, void *key,
1668 static int htab_lru_percpu_map_lookup_and_delete_elem(struct bpf_map *map,
1677 __htab_map_lookup_and_delete_batch(struct bpf_map *map,
1817 struct bpf_map **inner_map = value;
1908 htab_percpu_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr,
1916 htab_percpu_map_lookup_and_delete_batch(struct bpf_map *map,
1925 htab_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr,
1933 htab_map_lookup_and_delete_batch(struct bpf_map *map,
1942 htab_lru_percpu_map_lookup_batch(struct bpf_map *map,
1951 htab_lru_percpu_map_lookup_and_delete_batch(struct bpf_map *map,
1960 htab_lru_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr,
1968 htab_lru_map_lookup_and_delete_batch(struct bpf_map *map,
1977 struct bpf_map *map;
2067 struct bpf_map *map = info->map;
2118 struct bpf_map *map = aux->map;
2160 static long bpf_for_each_hash_elem(struct bpf_map *map, bpf_callback_t callback_fn,
2213 static u64 htab_map_mem_usage(const struct bpf_map *map)
2296 static void *htab_percpu_map_lookup_elem(struct bpf_map *map, void *key)
2307 static int htab_percpu_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf)
2315 (void *(*)(struct bpf_map *map, void *key))NULL));
2326 static void *htab_percpu_map_lookup_percpu_elem(struct bpf_map *map, void *key, u32 cpu)
2340 static void *htab_lru_percpu_map_lookup_elem(struct bpf_map *map, void *key)
2352 static void *htab_lru_percpu_map_lookup_percpu_elem(struct bpf_map *map, void *key, u32 cpu)
2368 int bpf_percpu_hash_copy(struct bpf_map *map, void *key, void *value)
2400 int bpf_percpu_hash_update(struct bpf_map *map, void *key, void *value,
2418 static void htab_percpu_map_seq_show_elem(struct bpf_map *map, void *key,
2495 static void fd_htab_map_free(struct bpf_map *map)
2517 int bpf_fd_htab_map_lookup_elem(struct bpf_map *map, void *key, u32 *value)
2537 int bpf_fd_htab_map_update_elem(struct bpf_map *map, struct file *map_file,
2560 static struct bpf_map *htab_of_map_alloc(union bpf_attr *attr)
2562 struct bpf_map *map, *inner_map_meta;
2579 static void *htab_of_map_lookup_elem(struct bpf_map *map, void *key)
2581 struct bpf_map **inner_map = htab_map_lookup_elem(map, key);
2589 static int htab_of_map_gen_lookup(struct bpf_map *map,
2596 (void *(*)(struct bpf_map *map, void *key))NULL));
2607 static void htab_of_map_free(struct bpf_map *map)