• Home
  • Raw
  • Download

Lines Matching defs:map

37 #define IS_FD_ARRAY(map) ((map)->map_type == BPF_MAP_TYPE_PERF_EVENT_ARRAY || \  argument
40 #define IS_FD_PROG_ARRAY(map) ((map)->map_type == BPF_MAP_TYPE_PROG_ARRAY) argument
41 #define IS_FD_HASH(map) ((map)->map_type == BPF_MAP_TYPE_HASH_OF_MAPS) argument
42 #define IS_FD_MAP(map) (IS_FD_ARRAY(map) || IS_FD_PROG_ARRAY(map) || \ argument
108 struct bpf_map *map; in find_and_alloc_map() local
133 static void bpf_map_write_active_inc(struct bpf_map *map) in bpf_map_write_active_inc()
138 static void bpf_map_write_active_dec(struct bpf_map *map) in bpf_map_write_active_dec()
143 bool bpf_map_write_active(const struct bpf_map *map) in bpf_map_write_active()
148 static u32 bpf_map_value_size(struct bpf_map *map) in bpf_map_value_size()
161 static void maybe_wait_bpf_programs(struct bpf_map *map) in maybe_wait_bpf_programs()
172 static int bpf_map_update_value(struct bpf_map *map, struct fd f, void *key, in bpf_map_update_value()
228 static int bpf_map_copy_value(struct bpf_map *map, void *key, void *value, in bpf_map_copy_value()
352 void bpf_map_init_from_attr(struct bpf_map *map, union bpf_attr *attr) in bpf_map_init_from_attr()
416 int bpf_map_charge_memlock(struct bpf_map *map, u32 pages) in bpf_map_charge_memlock()
427 void bpf_map_uncharge_memlock(struct bpf_map *map, u32 pages) in bpf_map_uncharge_memlock()
433 static int bpf_map_alloc_id(struct bpf_map *map) in bpf_map_alloc_id()
451 void bpf_map_free_id(struct bpf_map *map, bool do_idr_lock) in bpf_map_free_id()
480 struct bpf_map *map = container_of(work, struct bpf_map, work); in bpf_map_free_deferred() local
490 static void bpf_map_put_uref(struct bpf_map *map) in bpf_map_put_uref()
501 static void __bpf_map_put(struct bpf_map *map, bool do_idr_lock) in __bpf_map_put()
512 void bpf_map_put(struct bpf_map *map) in bpf_map_put()
518 void bpf_map_put_with_uref(struct bpf_map *map) in bpf_map_put_with_uref()
526 struct bpf_map *map = filp->private_data; in bpf_map_release() local
535 static fmode_t map_get_sys_perms(struct bpf_map *map, struct fd f) in map_get_sys_perms()
550 const struct bpf_map *map = filp->private_data; in bpf_map_show_fdinfo() local
607 struct bpf_map *map = vma->vm_file->private_data; in bpf_map_mmap_open() local
616 struct bpf_map *map = vma->vm_file->private_data; in bpf_map_mmap_close() local
629 struct bpf_map *map = filp->private_data; in bpf_map_mmap() local
677 struct bpf_map *map = filp->private_data; in bpf_map_poll() local
696 int bpf_map_new_fd(struct bpf_map *map, int flags) in bpf_map_new_fd()
751 int map_check_no_btf(const struct bpf_map *map, in map_check_no_btf()
759 static int map_check_btf(struct bpf_map *map, const struct btf *btf, in map_check_btf()
813 struct bpf_map *map; in map_create() local
930 void bpf_map_inc(struct bpf_map *map) in bpf_map_inc()
936 void bpf_map_inc_with_uref(struct bpf_map *map) in bpf_map_inc_with_uref()
946 struct bpf_map *map; in bpf_map_get() local
961 struct bpf_map *map; in bpf_map_get_with_uref() local
974 static struct bpf_map *__bpf_map_inc_not_zero(struct bpf_map *map, bool uref) in __bpf_map_inc_not_zero()
987 struct bpf_map *bpf_map_inc_not_zero(struct bpf_map *map) in bpf_map_inc_not_zero()
997 int __weak bpf_stackmap_copy(struct bpf_map *map, void *key, void *value) in bpf_stackmap_copy()
1021 struct bpf_map *map; in map_lookup_elem() local
1088 struct bpf_map *map; in map_update_elem() local
1154 struct bpf_map *map; in map_delete_elem() local
1210 struct bpf_map *map; in map_get_next_key() local
1269 int generic_map_delete_batch(struct bpf_map *map, in generic_map_delete_batch()
1325 int generic_map_update_batch(struct bpf_map *map, in generic_map_update_batch()
1391 int generic_map_lookup_batch(struct bpf_map *map, in generic_map_lookup_batch()
1498 struct bpf_map *map; in map_lookup_and_delete_elem() local
1563 struct bpf_map *map; in map_freeze() local
3192 struct bpf_map *map; in bpf_map_get_curr_or_next() local
3274 struct bpf_map *map; in bpf_map_get_fd_by_id() local
3312 const struct bpf_map *map; in bpf_map_from_imm() local
3339 const struct bpf_map *map; in bpf_insn_prepare_dump() local
3701 struct bpf_map *map, in bpf_map_get_info_by_fd()
4010 struct bpf_map *map; in bpf_map_do_batch() local
4334 struct bpf_map *map; in bpf_prog_bind_map() local