Lines Matching refs:bpf_map

100 static struct bpf_map *find_and_alloc_map(union bpf_attr *attr)  in find_and_alloc_map()
104 struct bpf_map *map; in find_and_alloc_map()
176 void bpf_map_init_from_attr(struct bpf_map *map, union bpf_attr *attr) in bpf_map_init_from_attr()
240 int bpf_map_charge_memlock(struct bpf_map *map, u32 pages) in bpf_map_charge_memlock()
251 void bpf_map_uncharge_memlock(struct bpf_map *map, u32 pages) in bpf_map_uncharge_memlock()
257 static int bpf_map_alloc_id(struct bpf_map *map) in bpf_map_alloc_id()
275 void bpf_map_free_id(struct bpf_map *map, bool do_idr_lock) in bpf_map_free_id()
304 struct bpf_map *map = container_of(work, struct bpf_map, work); in bpf_map_free_deferred()
314 static void bpf_map_put_uref(struct bpf_map *map) in bpf_map_put_uref()
325 static void __bpf_map_put(struct bpf_map *map, bool do_idr_lock) in __bpf_map_put()
336 void bpf_map_put(struct bpf_map *map) in bpf_map_put()
342 void bpf_map_put_with_uref(struct bpf_map *map) in bpf_map_put_with_uref()
350 struct bpf_map *map = filp->private_data; in bpf_map_release()
359 static fmode_t map_get_sys_perms(struct bpf_map *map, struct fd f) in map_get_sys_perms()
374 const struct bpf_map *map = filp->private_data; in bpf_map_show_fdinfo()
439 int bpf_map_new_fd(struct bpf_map *map, int flags) in bpf_map_new_fd()
493 int map_check_no_btf(const struct bpf_map *map, in map_check_no_btf()
501 static int map_check_btf(struct bpf_map *map, const struct btf *btf, in map_check_btf()
554 struct bpf_map *map; in map_create()
646 struct bpf_map *__bpf_map_get(struct fd f) in __bpf_map_get()
661 struct bpf_map *bpf_map_inc(struct bpf_map *map, bool uref) in bpf_map_inc()
673 struct bpf_map *bpf_map_get_with_uref(u32 ufd) in bpf_map_get_with_uref()
676 struct bpf_map *map; in bpf_map_get_with_uref()
689 static struct bpf_map *__bpf_map_inc_not_zero(struct bpf_map *map, in __bpf_map_inc_not_zero()
710 struct bpf_map *bpf_map_inc_not_zero(struct bpf_map *map, bool uref) in bpf_map_inc_not_zero()
720 int __weak bpf_stackmap_copy(struct bpf_map *map, void *key, void *value) in bpf_stackmap_copy()
744 struct bpf_map *map; in map_lookup_elem()
861 static void maybe_wait_bpf_programs(struct bpf_map *map) in maybe_wait_bpf_programs()
879 struct bpf_map *map; in map_update_elem()
991 struct bpf_map *map; in map_delete_elem()
1042 struct bpf_map *map; in map_get_next_key()
1108 struct bpf_map *map; in map_lookup_and_delete_elem()
1168 struct bpf_map *map; in map_freeze()
2190 struct bpf_map *map; in bpf_map_get_fd_by_id()
2224 static const struct bpf_map *bpf_map_from_imm(const struct bpf_prog *prog, in bpf_map_from_imm()
2228 const struct bpf_map *map; in bpf_map_from_imm()
2250 const struct bpf_map *map; in bpf_insn_prepare_dump()
2598 static int bpf_map_get_info_by_fd(struct bpf_map *map, in bpf_map_get_info_by_fd()