• Home
  • Raw
  • Download

Lines Matching refs:bpf_map

87 	struct bpf_map map;
208 static void *fd_htab_map_get_ptr(const struct bpf_map *map, struct htab_elem *l) in fd_htab_map_get_ptr()
465 static struct bpf_map *htab_map_alloc(union bpf_attr *attr) in htab_map_alloc()
674 static void *__htab_map_lookup_elem(struct bpf_map *map, void *key) in __htab_map_lookup_elem()
695 static void *htab_map_lookup_elem(struct bpf_map *map, void *key) in htab_map_lookup_elem()
716 static int htab_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) in htab_map_gen_lookup()
722 (void *(*)(struct bpf_map *map, void *key))NULL)); in htab_map_gen_lookup()
731 static __always_inline void *__htab_lru_map_lookup_elem(struct bpf_map *map, in __htab_lru_map_lookup_elem()
745 static void *htab_lru_map_lookup_elem(struct bpf_map *map, void *key) in htab_lru_map_lookup_elem()
750 static void *htab_lru_map_lookup_elem_sys(struct bpf_map *map, void *key) in htab_lru_map_lookup_elem_sys()
755 static int htab_lru_map_gen_lookup(struct bpf_map *map, in htab_lru_map_gen_lookup()
763 (void *(*)(struct bpf_map *map, void *key))NULL)); in htab_lru_map_gen_lookup()
831 static int htab_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in htab_map_get_next_key()
899 struct bpf_map *map = &htab->map; in htab_put_fd_value()
1093 static long htab_map_update_elem(struct bpf_map *map, void *key, void *value, in htab_map_update_elem()
1196 static long htab_lru_map_update_elem(struct bpf_map *map, void *key, void *value, in htab_lru_map_update_elem()
1264 static long __htab_percpu_map_update_elem(struct bpf_map *map, void *key, in __htab_percpu_map_update_elem()
1319 static long __htab_lru_percpu_map_update_elem(struct bpf_map *map, void *key, in __htab_lru_percpu_map_update_elem()
1389 static long htab_percpu_map_update_elem(struct bpf_map *map, void *key, in htab_percpu_map_update_elem()
1395 static long htab_lru_percpu_map_update_elem(struct bpf_map *map, void *key, in htab_lru_percpu_map_update_elem()
1403 static long htab_map_delete_elem(struct bpf_map *map, void *key) in htab_map_delete_elem()
1439 static long htab_lru_map_delete_elem(struct bpf_map *map, void *key) in htab_lru_map_delete_elem()
1515 static void htab_map_free_timers(struct bpf_map *map) in htab_map_free_timers()
1529 static void htab_map_free(struct bpf_map *map) in htab_map_free()
1563 static void htab_map_seq_show_elem(struct bpf_map *map, void *key, in htab_map_seq_show_elem()
1584 static int __htab_map_lookup_and_delete_elem(struct bpf_map *map, void *key, in __htab_map_lookup_and_delete_elem()
1648 static int htab_map_lookup_and_delete_elem(struct bpf_map *map, void *key, in htab_map_lookup_and_delete_elem()
1655 static int htab_percpu_map_lookup_and_delete_elem(struct bpf_map *map, in htab_percpu_map_lookup_and_delete_elem()
1663 static int htab_lru_map_lookup_and_delete_elem(struct bpf_map *map, void *key, in htab_lru_map_lookup_and_delete_elem()
1670 static int htab_lru_percpu_map_lookup_and_delete_elem(struct bpf_map *map, in htab_lru_percpu_map_lookup_and_delete_elem()
1679 __htab_map_lookup_and_delete_batch(struct bpf_map *map, in __htab_map_lookup_and_delete_batch()
1820 struct bpf_map **inner_map = value; in __htab_map_lookup_and_delete_batch()
1907 htab_percpu_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr, in htab_percpu_map_lookup_batch()
1915 htab_percpu_map_lookup_and_delete_batch(struct bpf_map *map, in htab_percpu_map_lookup_and_delete_batch()
1924 htab_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr, in htab_map_lookup_batch()
1932 htab_map_lookup_and_delete_batch(struct bpf_map *map, in htab_map_lookup_and_delete_batch()
1941 htab_lru_percpu_map_lookup_batch(struct bpf_map *map, in htab_lru_percpu_map_lookup_batch()
1950 htab_lru_percpu_map_lookup_and_delete_batch(struct bpf_map *map, in htab_lru_percpu_map_lookup_and_delete_batch()
1959 htab_lru_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr, in htab_lru_map_lookup_batch()
1967 htab_lru_map_lookup_and_delete_batch(struct bpf_map *map, in htab_lru_map_lookup_and_delete_batch()
1976 struct bpf_map *map;
2067 struct bpf_map *map = info->map; in __bpf_hash_map_seq_show()
2118 struct bpf_map *map = aux->map; in bpf_iter_init_hash_map()
2160 static long bpf_for_each_hash_elem(struct bpf_map *map, bpf_callback_t callback_fn, in bpf_for_each_hash_elem()
2216 static u64 htab_map_mem_usage(const struct bpf_map *map) in htab_map_mem_usage()
2299 static void *htab_percpu_map_lookup_elem(struct bpf_map *map, void *key) in htab_percpu_map_lookup_elem()
2309 static void *htab_percpu_map_lookup_percpu_elem(struct bpf_map *map, void *key, u32 cpu) in htab_percpu_map_lookup_percpu_elem()
2323 static void *htab_lru_percpu_map_lookup_elem(struct bpf_map *map, void *key) in htab_lru_percpu_map_lookup_elem()
2335 static void *htab_lru_percpu_map_lookup_percpu_elem(struct bpf_map *map, void *key, u32 cpu) in htab_lru_percpu_map_lookup_percpu_elem()
2351 int bpf_percpu_hash_copy(struct bpf_map *map, void *key, void *value) in bpf_percpu_hash_copy()
2383 int bpf_percpu_hash_update(struct bpf_map *map, void *key, void *value, in bpf_percpu_hash_update()
2401 static void htab_percpu_map_seq_show_elem(struct bpf_map *map, void *key, in htab_percpu_map_seq_show_elem()
2477 static void fd_htab_map_free(struct bpf_map *map) in fd_htab_map_free()
2499 int bpf_fd_htab_map_lookup_elem(struct bpf_map *map, void *key, u32 *value) in bpf_fd_htab_map_lookup_elem()
2519 int bpf_fd_htab_map_update_elem(struct bpf_map *map, struct file *map_file, in bpf_fd_htab_map_update_elem()
2537 static struct bpf_map *htab_of_map_alloc(union bpf_attr *attr) in htab_of_map_alloc()
2539 struct bpf_map *map, *inner_map_meta; in htab_of_map_alloc()
2556 static void *htab_of_map_lookup_elem(struct bpf_map *map, void *key) in htab_of_map_lookup_elem()
2558 struct bpf_map **inner_map = htab_map_lookup_elem(map, key); in htab_of_map_lookup_elem()
2566 static int htab_of_map_gen_lookup(struct bpf_map *map, in htab_of_map_gen_lookup()
2573 (void *(*)(struct bpf_map *map, void *key))NULL)); in htab_of_map_gen_lookup()
2584 static void htab_of_map_free(struct bpf_map *map) in htab_of_map_free()