• Home
  • Raw
  • Download

Lines Matching defs:map

27 #define IS_FD_ARRAY(map) ((map)->map_type == BPF_MAP_TYPE_PROG_ARRAY || \  argument
31 #define IS_FD_HASH(map) ((map)->map_type == BPF_MAP_TYPE_HASH_OF_MAPS) argument
32 #define IS_FD_MAP(map) (IS_FD_ARRAY(map) || IS_FD_HASH(map)) argument
96 struct bpf_map *map; in find_and_alloc_map() local
147 static int bpf_map_charge_memlock(struct bpf_map *map) in bpf_map_charge_memlock()
165 static void bpf_map_uncharge_memlock(struct bpf_map *map) in bpf_map_uncharge_memlock()
173 static int bpf_map_alloc_id(struct bpf_map *map) in bpf_map_alloc_id()
189 static void bpf_map_free_id(struct bpf_map *map, bool do_idr_lock) in bpf_map_free_id()
209 struct bpf_map *map = container_of(work, struct bpf_map, work); in bpf_map_free_deferred() local
217 static void bpf_map_put_uref(struct bpf_map *map) in bpf_map_put_uref()
228 static void __bpf_map_put(struct bpf_map *map, bool do_idr_lock) in __bpf_map_put()
238 void bpf_map_put(struct bpf_map *map) in bpf_map_put()
243 void bpf_map_put_with_uref(struct bpf_map *map) in bpf_map_put_with_uref()
251 struct bpf_map *map = filp->private_data; in bpf_map_release() local
263 const struct bpf_map *map = filp->private_data; in bpf_map_show_fdinfo() local
324 int bpf_map_new_fd(struct bpf_map *map, int flags) in bpf_map_new_fd()
360 struct bpf_map *map; in map_create() local
439 struct bpf_map *bpf_map_inc(struct bpf_map *map, bool uref) in bpf_map_inc()
453 struct bpf_map *map; in bpf_map_get_with_uref() local
466 static struct bpf_map *bpf_map_inc_not_zero(struct bpf_map *map, in bpf_map_inc_not_zero()
487 int __weak bpf_stackmap_copy(struct bpf_map *map, void *key, void *value) in bpf_stackmap_copy()
500 struct bpf_map *map; in map_lookup_elem() local
581 static void maybe_wait_bpf_programs(struct bpf_map *map) in maybe_wait_bpf_programs()
599 struct bpf_map *map; in map_update_elem() local
689 struct bpf_map *map; in map_delete_elem() local
738 struct bpf_map *map; in map_get_next_key() local
1215 struct bpf_map *map; in sockmap_get_from_fd() local
1422 struct bpf_map *map; in bpf_map_get_fd_by_id() local
1513 static int bpf_map_get_info_by_fd(struct bpf_map *map, in bpf_map_get_info_by_fd()