Symbol: bpf_map
drivers/net/ethernet/netronome/nfp/bpf/cmsg.c
204
struct bpf_map *map = &nfp_map->offmap->map;
drivers/net/ethernet/netronome/nfp/bpf/cmsg.c
300
struct bpf_map *map = &offmap->map;
drivers/net/ethernet/netronome/nfp/bpf/cmsg.c
84
nfp_bpf_ctrl_alloc_map(struct nfp_app_bpf *bpf, struct bpf_map *map)
drivers/net/ethernet/netronome/nfp/bpf/jit.c
4407
struct bpf_map *map;
drivers/net/ethernet/netronome/nfp/bpf/main.c
18
.key_len = sizeof_field(struct bpf_map, id),
drivers/net/ethernet/netronome/nfp/bpf/main.h
226
struct bpf_map *ptr;
drivers/net/ethernet/netronome/nfp/bpf/main.h
595
nfp_bpf_ctrl_alloc_map(struct nfp_app_bpf *bpf, struct bpf_map *map);
drivers/net/ethernet/netronome/nfp/bpf/offload.c
32
struct bpf_map *map)
drivers/net/netdevsim/bpf.c
335
nsim_map_key_match(struct bpf_map *map, struct nsim_map_entry *e, void *key)
include/linux/bpf-cgroup.h
155
struct bpf_map *map)
include/linux/bpf-cgroup.h
173
int bpf_cgroup_storage_assign(struct bpf_prog_aux *aux, struct bpf_map *map);
include/linux/bpf-cgroup.h
175
int bpf_percpu_cgroup_storage_copy(struct bpf_map *map, void *key, void *value, u64 flags);
include/linux/bpf-cgroup.h
176
int bpf_percpu_cgroup_storage_update(struct bpf_map *map, void *key,
include/linux/bpf-cgroup.h
18
struct bpf_map;
include/linux/bpf-cgroup.h
467
struct bpf_map *map) { return 0; }
include/linux/bpf-cgroup.h
472
static inline int bpf_percpu_cgroup_storage_copy(struct bpf_map *map, void *key,
include/linux/bpf-cgroup.h
476
static inline int bpf_percpu_cgroup_storage_update(struct bpf_map *map,
include/linux/bpf.h
102
int (*map_delete_batch)(struct bpf_map *map, const union bpf_attr *attr,
include/linux/bpf.h
106
void *(*map_lookup_elem)(struct bpf_map *map, void *key);
include/linux/bpf.h
107
long (*map_update_elem)(struct bpf_map *map, void *key, void *value, u64 flags);
include/linux/bpf.h
108
long (*map_delete_elem)(struct bpf_map *map, void *key);
include/linux/bpf.h
109
long (*map_push_elem)(struct bpf_map *map, void *value, u64 flags);
include/linux/bpf.h
110
long (*map_pop_elem)(struct bpf_map *map, void *value);
include/linux/bpf.h
111
long (*map_peek_elem)(struct bpf_map *map, void *value);
include/linux/bpf.h
112
void *(*map_lookup_percpu_elem)(struct bpf_map *map, void *key, u32 cpu);
include/linux/bpf.h
113
int (*map_get_hash)(struct bpf_map *map, u32 hash_buf_size, void *hash_buf);
include/linux/bpf.h
116
void *(*map_fd_get_ptr)(struct bpf_map *map, struct file *map_file,
include/linux/bpf.h
122
void (*map_fd_put_ptr)(struct bpf_map *map, void *ptr, bool need_defer);
include/linux/bpf.h
123
int (*map_gen_lookup)(struct bpf_map *map, struct bpf_insn *insn_buf);
include/linux/bpf.h
125
void (*map_seq_show_elem)(struct bpf_map *map, void *key,
include/linux/bpf.h
127
int (*map_check_btf)(struct bpf_map *map,
include/linux/bpf.h
133
int (*map_poke_track)(struct bpf_map *map, struct bpf_prog_aux *aux);
include/linux/bpf.h
134
void (*map_poke_untrack)(struct bpf_map *map, struct bpf_prog_aux *aux);
include/linux/bpf.h
135
void (*map_poke_run)(struct bpf_map *map, u32 key, struct bpf_prog *old,
include/linux/bpf.h
139
int (*map_direct_value_addr)(const struct bpf_map *map,
include/linux/bpf.h
141
int (*map_direct_value_meta)(const struct bpf_map *map,
include/linux/bpf.h
143
int (*map_mmap)(struct bpf_map *map, struct vm_area_struct *vma);
include/linux/bpf.h
144
__poll_t (*map_poll)(struct bpf_map *map, struct file *filp,
include/linux/bpf.h
158
long (*map_redirect)(struct bpf_map *map, u64 key, u64 flags);
include/linux/bpf.h
1599
struct bpf_map *map;
include/linux/bpf.h
169
bool (*map_meta_equal)(const struct bpf_map *meta0,
include/linux/bpf.h
170
const struct bpf_map *meta1);
include/linux/bpf.h
1720
struct bpf_map **used_maps;
include/linux/bpf.h
1728
struct bpf_map *cgroup_storage[MAX_BPF_CGROUP_STORAGE_TYPE];
include/linux/bpf.h
176
long (*map_for_each_callback)(struct bpf_map *map,
include/linux/bpf.h
1770
struct bpf_map __rcu *st_ops_assoc;
include/linux/bpf.h
180
u64 (*map_mem_usage)(const struct bpf_map *map);
include/linux/bpf.h
1817
struct bpf_map *map;
include/linux/bpf.h
1869
int (*update_map)(struct bpf_link *link, struct bpf_map *new_map,
include/linux/bpf.h
1870
struct bpf_map *old_map);
include/linux/bpf.h
2095
int bpf_struct_ops_map_sys_lookup_elem(struct bpf_map *map, void *key,
include/linux/bpf.h
2119
int bpf_prog_assoc_struct_ops(struct bpf_prog *prog, struct bpf_map *map);
include/linux/bpf.h
2143
void bpf_map_struct_ops_info_fill(struct bpf_map_info *info, struct bpf_map *map);
include/linux/bpf.h
2159
static inline int bpf_struct_ops_map_sys_lookup_elem(struct bpf_map *map,
include/linux/bpf.h
2169
static inline int bpf_prog_assoc_struct_ops(struct bpf_prog *prog, struct bpf_map *map)
include/linux/bpf.h
2180
static inline void bpf_map_struct_ops_info_fill(struct bpf_map_info *info, struct bpf_map *map)
include/linux/bpf.h
2242
struct bpf_map map;
include/linux/bpf.h
2257
int bpf_array_get_next_key(struct bpf_map *map, void *key, void *next_key);
include/linux/bpf.h
2283
static inline u32 bpf_map_flags_to_cap(struct bpf_map *map)
include/linux/bpf.h
2304
static inline struct bpf_map_owner *bpf_map_owner_alloc(struct bpf_map *map)
include/linux/bpf.h
2309
static inline void bpf_map_owner_free(struct bpf_map *map)
include/linux/bpf.h
2321
static inline bool map_type_contains_progs(struct bpf_map *map)
include/linux/bpf.h
2328
bool bpf_prog_map_compatible(struct bpf_map *map, const struct bpf_prog *fp);
include/linux/bpf.h
2344
u64 bpf_event_output(struct bpf_map *map, u64 flags, void *meta, u64 meta_size,
include/linux/bpf.h
2590
void bpf_map_free_id(struct bpf_map *map);
include/linux/bpf.h
2595
void bpf_map_free_record(struct bpf_map *map);
include/linux/bpf.h
2604
struct bpf_map *bpf_map_get(u32 ufd);
include/linux/bpf.h
2605
struct bpf_map *bpf_map_get_with_uref(u32 ufd);
include/linux/bpf.h
2615
static inline struct bpf_map *__bpf_map_get(struct fd f)
include/linux/bpf.h
2633
void bpf_map_inc(struct bpf_map *map);
include/linux/bpf.h
2634
void bpf_map_inc_with_uref(struct bpf_map *map);
include/linux/bpf.h
2635
struct bpf_map *__bpf_map_inc_not_zero(struct bpf_map *map, bool uref);
include/linux/bpf.h
2636
struct bpf_map * __must_check bpf_map_inc_not_zero(struct bpf_map *map);
include/linux/bpf.h
2637
void bpf_map_put_with_uref(struct bpf_map *map);
include/linux/bpf.h
2638
void bpf_map_put(struct bpf_map *map);
include/linux/bpf.h
2642
bool bpf_map_write_active(const struct bpf_map *map);
include/linux/bpf.h
2643
void bpf_map_init_from_attr(struct bpf_map *map, union bpf_attr *attr);
include/linux/bpf.h
2644
int generic_map_lookup_batch(struct bpf_map *map,
include/linux/bpf.h
2647
int generic_map_update_batch(struct bpf_map *map, struct file *map_file,
include/linux/bpf.h
2650
int generic_map_delete_batch(struct bpf_map *map,
include/linux/bpf.h
2653
struct bpf_map *bpf_map_get_curr_or_next(u32 *id);
include/linux/bpf.h
2657
int bpf_map_alloc_pages(const struct bpf_map *map, int nid,
include/linux/bpf.h
2660
void bpf_map_memcg_enter(const struct bpf_map *map, struct mem_cgroup **old_memcg,
include/linux/bpf.h
2664
void *bpf_map_kmalloc_node(const struct bpf_map *map, size_t size, gfp_t flags,
include/linux/bpf.h
2666
void *bpf_map_kmalloc_nolock(const struct bpf_map *map, size_t size, gfp_t flags,
include/linux/bpf.h
2668
void *bpf_map_kzalloc(const struct bpf_map *map, size_t size, gfp_t flags);
include/linux/bpf.h
2669
void *bpf_map_kvcalloc(struct bpf_map *map, size_t n, size_t size,
include/linux/bpf.h
2671
void __percpu *bpf_map_alloc_percpu(const struct bpf_map *map, size_t size,
include/linux/bpf.h
2688
static inline void bpf_map_memcg_enter(const struct bpf_map *map, struct mem_cgroup **old_memcg,
include/linux/bpf.h
2702
bpf_map_init_elem_count(struct bpf_map *map)
include/linux/bpf.h
2715
bpf_map_free_elem_count(struct bpf_map *map)
include/linux/bpf.h
2720
static inline void bpf_map_inc_elem_count(struct bpf_map *map)
include/linux/bpf.h
2725
static inline void bpf_map_dec_elem_count(struct bpf_map *map)
include/linux/bpf.h
2758
int bpf_map_new_fd(struct bpf_map *map, int flags);
include/linux/bpf.h
2824
struct bpf_map *map;
include/linux/bpf.h
2875
__bpf_md_ptr(struct bpf_map *, map);
include/linux/bpf.h
2899
int bpf_percpu_hash_copy(struct bpf_map *map, void *key, void *value, u64 flags);
include/linux/bpf.h
2900
int bpf_percpu_array_copy(struct bpf_map *map, void *key, void *value, u64 flags);
include/linux/bpf.h
2901
int bpf_percpu_hash_update(struct bpf_map *map, void *key, void *value,
include/linux/bpf.h
2903
int bpf_percpu_array_update(struct bpf_map *map, void *key, void *value,
include/linux/bpf.h
2906
int bpf_stackmap_extract(struct bpf_map *map, void *key, void *value, bool delete);
include/linux/bpf.h
2908
int bpf_fd_array_map_update_elem(struct bpf_map *map, struct file *map_file,
include/linux/bpf.h
2910
int bpf_fd_array_map_lookup_elem(struct bpf_map *map, void *key, u32 *value);
include/linux/bpf.h
2911
int bpf_fd_htab_map_update_elem(struct bpf_map *map, struct file *map_file,
include/linux/bpf.h
2913
int bpf_fd_htab_map_lookup_elem(struct bpf_map *map, void *key, u32 *value);
include/linux/bpf.h
2940
struct bpf_map *map, bool exclude_ingress);
include/linux/bpf.h
2945
struct bpf_map *map, bool exclude_ingress);
include/linux/bpf.h
299
struct bpf_map *inner_map_meta;
include/linux/bpf.h
3214
struct bpf_map *map, bool exclude_ingress)
include/linux/bpf.h
3231
struct bpf_map *map, bool exclude_ingress)
include/linux/bpf.h
3294
static inline void bpf_map_put(struct bpf_map *map)
include/linux/bpf.h
3404
struct bpf_map **used_maps, u32 len);
include/linux/bpf.h
3413
int bpf_map_offload_info_fill(struct bpf_map_info *info, struct bpf_map *map);
include/linux/bpf.h
3415
int bpf_map_offload_lookup_elem(struct bpf_map *map, void *key, void *value);
include/linux/bpf.h
3416
int bpf_map_offload_update_elem(struct bpf_map *map,
include/linux/bpf.h
3418
int bpf_map_offload_delete_elem(struct bpf_map *map, void *key);
include/linux/bpf.h
3419
int bpf_map_offload_get_next_key(struct bpf_map *map,
include/linux/bpf.h
3422
bool bpf_offload_prog_map_match(struct bpf_prog *prog, struct bpf_map *map);
include/linux/bpf.h
3456
static inline bool bpf_map_is_offloaded(struct bpf_map *map)
include/linux/bpf.h
3461
struct bpf_map *bpf_map_offload_map_alloc(union bpf_attr *attr);
include/linux/bpf.h
3462
void bpf_map_offload_map_free(struct bpf_map *map);
include/linux/bpf.h
3463
u64 bpf_map_offload_map_mem_usage(const struct bpf_map *map);
include/linux/bpf.h
3470
int sock_map_update_elem_sys(struct bpf_map *map, void *key, void *value, u64 flags);
include/linux/bpf.h
3522
static inline bool bpf_map_is_offloaded(struct bpf_map *map)
include/linux/bpf.h
3527
static inline struct bpf_map *bpf_map_offload_map_alloc(union bpf_attr *attr)
include/linux/bpf.h
3532
static inline void bpf_map_offload_map_free(struct bpf_map *map)
include/linux/bpf.h
3536
static inline u64 bpf_map_offload_map_mem_usage(const struct bpf_map *map)
include/linux/bpf.h
3561
static inline int sock_map_update_elem_sys(struct bpf_map *map, void *key, void *value,
include/linux/bpf.h
3598
int bpf_fd_reuseport_array_lookup_elem(struct bpf_map *map, void *key,
include/linux/bpf.h
3600
int bpf_fd_reuseport_array_update_elem(struct bpf_map *map, void *key,
include/linux/bpf.h
3608
static inline int bpf_fd_reuseport_array_lookup_elem(struct bpf_map *map,
include/linux/bpf.h
3614
static inline int bpf_fd_reuseport_array_update_elem(struct bpf_map *map,
include/linux/bpf.h
3957
int bpf_insn_array_init(struct bpf_map *map, const struct bpf_prog *prog);
include/linux/bpf.h
3958
int bpf_insn_array_ready(struct bpf_map *map);
include/linux/bpf.h
3959
void bpf_insn_array_release(struct bpf_map *map);
include/linux/bpf.h
3960
void bpf_insn_array_adjust(struct bpf_map *map, u32 off, u32 len);
include/linux/bpf.h
3961
void bpf_insn_array_adjust_after_remove(struct bpf_map *map, u32 off, u32 len);
include/linux/bpf.h
3985
static inline int bpf_map_check_op_flags(struct bpf_map *map, u64 flags, u64 allowed_flags)
include/linux/bpf.h
41
struct bpf_map;
include/linux/bpf.h
508
static inline void check_and_init_map_value(struct bpf_map *map, void *dst)
include/linux/bpf.h
555
static inline void copy_map_value(struct bpf_map *map, void *dst, void *src)
include/linux/bpf.h
560
static inline void copy_map_value_long(struct bpf_map *map, void *dst, void *src)
include/linux/bpf.h
604
static inline void zero_map_value(struct bpf_map *map, void *dst)
include/linux/bpf.h
609
void copy_map_value_locked(struct bpf_map *map, void *dst, void *src,
include/linux/bpf.h
636
struct bpf_map map;
include/linux/bpf.h
643
static inline struct bpf_offloaded_map *map_to_offmap(struct bpf_map *map)
include/linux/bpf.h
648
static inline bool bpf_map_offload_neutral(const struct bpf_map *map)
include/linux/bpf.h
653
static inline bool bpf_map_support_seq_show(const struct bpf_map *map)
include/linux/bpf.h
659
int map_check_no_btf(struct bpf_map *map,
include/linux/bpf.h
664
bool bpf_map_meta_equal(const struct bpf_map *meta0,
include/linux/bpf.h
665
const struct bpf_map *meta1);
include/linux/bpf.h
667
static inline bool bpf_map_has_internal_structs(struct bpf_map *map)
include/linux/bpf.h
672
void bpf_map_free_internal_structs(struct bpf_map *map, void *obj);
include/linux/bpf.h
86
struct bpf_map *(*map_alloc)(union bpf_attr *attr);
include/linux/bpf.h
87
void (*map_release)(struct bpf_map *map, struct file *map_file);
include/linux/bpf.h
88
void (*map_free)(struct bpf_map *map);
include/linux/bpf.h
89
int (*map_get_next_key)(struct bpf_map *map, void *key, void *next_key);
include/linux/bpf.h
90
void (*map_release_uref)(struct bpf_map *map);
include/linux/bpf.h
91
void *(*map_lookup_elem_sys_only)(struct bpf_map *map, void *key);
include/linux/bpf.h
92
int (*map_lookup_batch)(struct bpf_map *map, const union bpf_attr *attr,
include/linux/bpf.h
94
int (*map_lookup_and_delete_elem)(struct bpf_map *map, void *key,
include/linux/bpf.h
96
int (*map_lookup_and_delete_batch)(struct bpf_map *map,
include/linux/bpf.h
99
int (*map_update_batch)(struct bpf_map *map, struct file *map_file,
include/linux/bpf_local_storage.h
138
struct bpf_map *
include/linux/bpf_local_storage.h
176
void bpf_local_storage_map_free(struct bpf_map *map,
include/linux/bpf_local_storage.h
179
int bpf_local_storage_map_check_btf(struct bpf_map *map,
include/linux/bpf_local_storage.h
210
u64 bpf_local_storage_map_mem_usage(const struct bpf_map *map);
include/linux/bpf_local_storage.h
46
struct bpf_map map;
include/linux/bpf_verifier.h
502
struct bpf_map *map_ptr;
include/linux/bpf_verifier.h
53
struct bpf_map *map_ptr;
include/linux/bpf_verifier.h
765
struct bpf_map *used_maps[MAX_USED_MAPS]; /* array of map's used by eBPF program */
include/linux/bpf_verifier.h
767
struct bpf_map *insn_array_maps[MAX_USED_MAPS]; /* array of INSN_ARRAY map's to be relocated */
include/linux/filter.h
1742
static __always_inline long __bpf_xdp_redirect_map(struct bpf_map *map, u64 index,
include/linux/filter.h
1744
void *lookup_elem(struct bpf_map *map, u32 key))
include/linux/filter.h
778
struct bpf_map *map;
include/linux/lsm_hook_defs.h
432
LSM_HOOK(int, 0, bpf_map, struct bpf_map *map, fmode_t fmode)
include/linux/lsm_hook_defs.h
434
LSM_HOOK(int, 0, bpf_map_create, struct bpf_map *map, union bpf_attr *attr,
include/linux/lsm_hook_defs.h
436
LSM_HOOK(void, LSM_RET_VOID, bpf_map_free, struct bpf_map *map)
include/linux/security.h
2263
struct bpf_map;
include/linux/security.h
2268
extern int security_bpf_map(struct bpf_map *map, fmode_t fmode);
include/linux/security.h
2270
extern int security_bpf_map_create(struct bpf_map *map, union bpf_attr *attr,
include/linux/security.h
2272
extern void security_bpf_map_free(struct bpf_map *map);
include/linux/security.h
2288
static inline int security_bpf_map(struct bpf_map *map, fmode_t fmode)
include/linux/security.h
2298
static inline int security_bpf_map_create(struct bpf_map *map, union bpf_attr *attr,
include/linux/security.h
2304
static inline void security_bpf_map_free(struct bpf_map *map)
include/linux/skmsg.h
74
struct bpf_map *map;
include/net/xdp_sock.h
42
struct bpf_map map;
kernel/bpf/arena.c
101
static long arena_map_delete_elem(struct bpf_map *map, void *value)
kernel/bpf/arena.c
106
static int arena_map_get_next_key(struct bpf_map *map, void *key, void *next_key)
kernel/bpf/arena.c
176
static struct bpf_map *arena_map_alloc(union bpf_attr *attr)
kernel/bpf/arena.c
265
static void arena_map_free(struct bpf_map *map)
kernel/bpf/arena.c
295
static void *arena_map_lookup_elem(struct bpf_map *map, void *key)
kernel/bpf/arena.c
300
static long arena_map_update_elem(struct bpf_map *map, void *key,
kernel/bpf/arena.c
306
static int arena_map_check_btf(struct bpf_map *map, const struct btf *btf,
kernel/bpf/arena.c
312
static u64 arena_map_mem_usage(const struct bpf_map *map)
kernel/bpf/arena.c
346
struct bpf_map *map = vma->vm_file->private_data;
kernel/bpf/arena.c
361
struct bpf_map *map = vmf->vma->vm_file->private_data;
kernel/bpf/arena.c
428
struct bpf_map *map = filp->private_data;
kernel/bpf/arena.c
458
static int arena_map_mmap(struct bpf_map *map, struct vm_area_struct *vma)
kernel/bpf/arena.c
497
static int arena_map_direct_value_addr(const struct bpf_map *map, u64 *imm, u32 off)
kernel/bpf/arena.c
52
struct bpf_map map;
kernel/bpf/arena.c
86
static long arena_map_peek_elem(struct bpf_map *map, void *value)
kernel/bpf/arena.c
860
struct bpf_map *map = p__map;
kernel/bpf/arena.c
872
struct bpf_map *map = p__map;
kernel/bpf/arena.c
882
struct bpf_map *map = p__map;
kernel/bpf/arena.c
892
struct bpf_map *map = p__map;
kernel/bpf/arena.c
902
struct bpf_map *map = p__map;
kernel/bpf/arena.c
91
static long arena_map_push_elem(struct bpf_map *map, void *value, u64 flags)
kernel/bpf/arena.c
96
static long arena_map_pop_elem(struct bpf_map *map, void *value)
kernel/bpf/arraymap.c
1013
static void bpf_fd_array_map_clear(struct bpf_map *map, bool need_defer)
kernel/bpf/arraymap.c
1022
static void prog_array_map_seq_show_elem(struct bpf_map *map, void *key,
kernel/bpf/arraymap.c
1050
static int prog_array_map_poke_track(struct bpf_map *map,
kernel/bpf/arraymap.c
1083
static void prog_array_map_poke_untrack(struct bpf_map *map,
kernel/bpf/arraymap.c
1107
static void prog_array_map_poke_run(struct bpf_map *map, u32 key,
kernel/bpf/arraymap.c
1158
struct bpf_map *map = container_of(work, struct bpf_array_aux,
kernel/bpf/arraymap.c
1164
static void prog_array_map_clear(struct bpf_map *map)
kernel/bpf/arraymap.c
1172
static struct bpf_map *prog_array_map_alloc(union bpf_attr *attr)
kernel/bpf/arraymap.c
1175
struct bpf_map *map;
kernel/bpf/arraymap.c
1197
static void prog_array_map_free(struct bpf_map *map)
kernel/bpf/arraymap.c
1264
static void *perf_event_fd_array_get_ptr(struct bpf_map *map,
kernel/bpf/arraymap.c
1290
static void perf_event_fd_array_put_ptr(struct bpf_map *map, void *ptr, bool need_defer)
kernel/bpf/arraymap.c
1296
static void perf_event_fd_array_release(struct bpf_map *map,
kernel/bpf/arraymap.c
1315
static void perf_event_fd_array_map_free(struct bpf_map *map)
kernel/bpf/arraymap.c
1339
static void *cgroup_fd_array_get_ptr(struct bpf_map *map,
kernel/bpf/arraymap.c
1346
static void cgroup_fd_array_put_ptr(struct bpf_map *map, void *ptr, bool need_defer)
kernel/bpf/arraymap.c
1352
static void cgroup_fd_array_free(struct bpf_map *map)
kernel/bpf/arraymap.c
1374
static struct bpf_map *array_of_map_alloc(union bpf_attr *attr)
kernel/bpf/arraymap.c
1376
struct bpf_map *map, *inner_map_meta;
kernel/bpf/arraymap.c
1393
static void array_of_map_free(struct bpf_map *map)
kernel/bpf/arraymap.c
1403
static void *array_of_map_lookup_elem(struct bpf_map *map, void *key)
kernel/bpf/arraymap.c
1405
struct bpf_map **inner_map = array_map_lookup_elem(map, key);
kernel/bpf/arraymap.c
1413
static int array_of_map_gen_lookup(struct bpf_map *map,
kernel/bpf/arraymap.c
167
static void *array_map_lookup_elem(struct bpf_map *map, void *key)
kernel/bpf/arraymap.c
178
static int array_map_get_hash(struct bpf_map *map, u32 hash_buf_size,
kernel/bpf/arraymap.c
189
static int array_map_direct_value_addr(const struct bpf_map *map, u64 *imm,
kernel/bpf/arraymap.c
203
static int array_map_direct_value_meta(const struct bpf_map *map, u64 imm,
kernel/bpf/arraymap.c
220
static int array_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf)
kernel/bpf/arraymap.c
253
static void *percpu_array_map_lookup_elem(struct bpf_map *map, void *key)
kernel/bpf/arraymap.c
265
static int percpu_array_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf)
kernel/bpf/arraymap.c
296
static void *percpu_array_map_lookup_percpu_elem(struct bpf_map *map, void *key, u32 cpu)
kernel/bpf/arraymap.c
310
int bpf_percpu_array_copy(struct bpf_map *map, void *key, void *value, u64 map_flags)
kernel/bpf/arraymap.c
345
int bpf_array_get_next_key(struct bpf_map *map, void *key, void *next_key)
kernel/bpf/arraymap.c
363
static long array_map_update_elem(struct bpf_map *map, void *key, void *value,
kernel/bpf/arraymap.c
402
int bpf_percpu_array_update(struct bpf_map *map, void *key, void *value,
kernel/bpf/arraymap.c
452
static long array_map_delete_elem(struct bpf_map *map, void *key)
kernel/bpf/arraymap.c
462
static void array_map_free_internal_structs(struct bpf_map *map)
kernel/bpf/arraymap.c
476
static void array_map_free(struct bpf_map *map)
kernel/bpf/arraymap.c
507
static void array_map_seq_show_elem(struct bpf_map *map, void *key,
kernel/bpf/arraymap.c
528
static void percpu_array_map_seq_show_elem(struct bpf_map *map, void *key,
kernel/bpf/arraymap.c
551
static int array_map_check_btf(struct bpf_map *map,
kernel/bpf/arraymap.c
578
static int array_map_mmap(struct bpf_map *map, struct vm_area_struct *vma)
kernel/bpf/arraymap.c
594
static bool array_map_meta_equal(const struct bpf_map *meta0,
kernel/bpf/arraymap.c
595
const struct bpf_map *meta1)
kernel/bpf/arraymap.c
604
struct bpf_map *map;
kernel/bpf/arraymap.c
612
struct bpf_map *map = info->map;
kernel/bpf/arraymap.c
631
struct bpf_map *map = info->map;
kernel/bpf/arraymap.c
651
struct bpf_map *map = info->map;
kernel/bpf/arraymap.c
702
struct bpf_map *map = aux->map;
kernel/bpf/arraymap.c
747
static long bpf_for_each_array_elem(struct bpf_map *map, bpf_callback_t callback_fn,
kernel/bpf/arraymap.c
780
static u64 array_map_mem_usage(const struct bpf_map *map)
kernel/bpf/arraymap.c
84
static struct bpf_map *array_map_alloc(union bpf_attr *attr)
kernel/bpf/arraymap.c
862
static void fd_array_map_free(struct bpf_map *map)
kernel/bpf/arraymap.c
874
static void *fd_array_map_lookup_elem(struct bpf_map *map, void *key)
kernel/bpf/arraymap.c
880
int bpf_fd_array_map_lookup_elem(struct bpf_map *map, void *key, u32 *value)
kernel/bpf/arraymap.c
900
int bpf_fd_array_map_update_elem(struct bpf_map *map, struct file *map_file,
kernel/bpf/arraymap.c
932
static long __fd_array_map_delete_elem(struct bpf_map *map, void *key, bool need_defer)
kernel/bpf/arraymap.c
958
static long fd_array_map_delete_elem(struct bpf_map *map, void *key)
kernel/bpf/arraymap.c
963
static void *prog_fd_array_get_ptr(struct bpf_map *map,
kernel/bpf/arraymap.c
996
static void prog_fd_array_put_ptr(struct bpf_map *map, void *ptr, bool need_defer)
kernel/bpf/bloom_filter.c
16
struct bpf_map map;
kernel/bpf/bloom_filter.c
162
static void bloom_map_free(struct bpf_map *map)
kernel/bpf/bloom_filter.c
170
static void *bloom_map_lookup_elem(struct bpf_map *map, void *key)
kernel/bpf/bloom_filter.c
176
static long bloom_map_update_elem(struct bpf_map *map, void *key,
kernel/bpf/bloom_filter.c
183
static int bloom_map_check_btf(struct bpf_map *map,
kernel/bpf/bloom_filter.c
192
static u64 bloom_map_mem_usage(const struct bpf_map *map)
kernel/bpf/bloom_filter.c
36
static long bloom_map_peek_elem(struct bpf_map *map, void *value)
kernel/bpf/bloom_filter.c
51
static long bloom_map_push_elem(struct bpf_map *map, void *value, u64 flags)
kernel/bpf/bloom_filter.c
68
static long bloom_map_pop_elem(struct bpf_map *map, void *value)
kernel/bpf/bloom_filter.c
73
static long bloom_map_delete_elem(struct bpf_map *map, void *value)
kernel/bpf/bloom_filter.c
78
static int bloom_map_get_next_key(struct bpf_map *map, void *key, void *next_key)
kernel/bpf/bloom_filter.c
95
static struct bpf_map *bloom_map_alloc(union bpf_attr *attr)
kernel/bpf/bpf_cgrp_storage.c
110
static int notsupp_get_next_key(struct bpf_map *map, void *key, void *next_key)
kernel/bpf/bpf_cgrp_storage.c
115
static struct bpf_map *cgroup_storage_map_alloc(union bpf_attr *attr)
kernel/bpf/bpf_cgrp_storage.c
120
static void cgroup_storage_map_free(struct bpf_map *map)
kernel/bpf/bpf_cgrp_storage.c
126
BPF_CALL_5(bpf_cgrp_storage_get, struct bpf_map *, map, struct cgroup *, cgroup,
kernel/bpf/bpf_cgrp_storage.c
152
BPF_CALL_2(bpf_cgrp_storage_delete, struct bpf_map *, map, struct cgroup *, cgroup)
kernel/bpf/bpf_cgrp_storage.c
36
cgroup_storage_lookup(struct cgroup *cgroup, struct bpf_map *map, bool cacheit_lockit)
kernel/bpf/bpf_cgrp_storage.c
50
static void *bpf_cgrp_storage_lookup_elem(struct bpf_map *map, void *key)
kernel/bpf/bpf_cgrp_storage.c
66
static long bpf_cgrp_storage_update_elem(struct bpf_map *map, void *key,
kernel/bpf/bpf_cgrp_storage.c
84
static int cgroup_storage_delete(struct cgroup *cgroup, struct bpf_map *map)
kernel/bpf/bpf_cgrp_storage.c
95
static long bpf_cgrp_storage_delete_elem(struct bpf_map *map, void *key)
kernel/bpf/bpf_inode_storage.c
105
static int inode_storage_delete(struct inode *inode, struct bpf_map *map)
kernel/bpf/bpf_inode_storage.c
116
static long bpf_fd_inode_storage_delete_elem(struct bpf_map *map, void *key)
kernel/bpf/bpf_inode_storage.c
126
BPF_CALL_5(bpf_inode_storage_get, struct bpf_map *, map, struct inode *, inode,
kernel/bpf/bpf_inode_storage.c
162
struct bpf_map *, map, struct inode *, inode)
kernel/bpf/bpf_inode_storage.c
174
static int notsupp_get_next_key(struct bpf_map *map, void *key,
kernel/bpf/bpf_inode_storage.c
180
static struct bpf_map *inode_storage_map_alloc(union bpf_attr *attr)
kernel/bpf/bpf_inode_storage.c
185
static void inode_storage_map_free(struct bpf_map *map)
kernel/bpf/bpf_inode_storage.c
36
struct bpf_map *map,
kernel/bpf/bpf_inode_storage.c
76
static void *bpf_fd_inode_storage_lookup_elem(struct bpf_map *map, void *key)
kernel/bpf/bpf_inode_storage.c
88
static long bpf_fd_inode_storage_update_elem(struct bpf_map *map, void *key,
kernel/bpf/bpf_insn_array.c
101
static int insn_array_check_btf(struct bpf_map *map,
kernel/bpf/bpf_insn_array.c
115
static u64 insn_array_mem_usage(const struct bpf_map *map)
kernel/bpf/bpf_insn_array.c
120
static int insn_array_map_direct_value_addr(const struct bpf_map *map, u64 *imm, u32 off)
kernel/bpf/bpf_insn_array.c
150
static inline bool is_frozen(struct bpf_map *map)
kernel/bpf/bpf_insn_array.c
157
static bool is_insn_array(const struct bpf_map *map)
kernel/bpf/bpf_insn_array.c
183
int bpf_insn_array_init(struct bpf_map *map, const struct bpf_prog *prog)
kernel/bpf/bpf_insn_array.c
212
int bpf_insn_array_ready(struct bpf_map *map)
kernel/bpf/bpf_insn_array.c
227
void bpf_insn_array_release(struct bpf_map *map)
kernel/bpf/bpf_insn_array.c
234
void bpf_insn_array_adjust(struct bpf_map *map, u32 off, u32 len)
kernel/bpf/bpf_insn_array.c
251
void bpf_insn_array_adjust_after_remove(struct bpf_map *map, u32 off, u32 len)
kernel/bpf/bpf_insn_array.c
277
struct bpf_map *map;
kernel/bpf/bpf_insn_array.c
37
static void insn_array_free(struct bpf_map *map)
kernel/bpf/bpf_insn_array.c
44
static struct bpf_map *insn_array_alloc(union bpf_attr *attr)
kernel/bpf/bpf_insn_array.c
64
static void *insn_array_lookup_elem(struct bpf_map *map, void *key)
kernel/bpf/bpf_insn_array.c
7
struct bpf_map map;
kernel/bpf/bpf_insn_array.c
75
static long insn_array_update_elem(struct bpf_map *map, void *key, void *value, u64 map_flags)
kernel/bpf/bpf_insn_array.c
96
static long insn_array_delete_elem(struct bpf_map *map, void *key)
kernel/bpf/bpf_iter.c
711
BPF_CALL_4(bpf_for_each_map_elem, struct bpf_map *, map, void *, callback_fn,
kernel/bpf/bpf_local_storage.c
29
struct bpf_map *map = &smap->map;
kernel/bpf/bpf_local_storage.c
40
struct bpf_map *map = &smap->map;
kernel/bpf/bpf_local_storage.c
49
struct bpf_map *map = &smap->map;
kernel/bpf/bpf_local_storage.c
804
int bpf_local_storage_map_check_btf(struct bpf_map *map,
kernel/bpf/bpf_local_storage.c
848
u64 bpf_local_storage_map_mem_usage(const struct bpf_map *map)
kernel/bpf/bpf_local_storage.c
858
struct bpf_map *
kernel/bpf/bpf_local_storage.c
908
void bpf_local_storage_map_free(struct bpf_map *map,
kernel/bpf/bpf_struct_ops.c
1042
static struct bpf_map *bpf_struct_ops_map_alloc(union bpf_attr *attr)
kernel/bpf/bpf_struct_ops.c
1049
struct bpf_map *map;
kernel/bpf/bpf_struct_ops.c
1135
static u64 bpf_struct_ops_map_mem_usage(const struct bpf_map *map)
kernel/bpf/bpf_struct_ops.c
1172
struct bpf_map *map;
kernel/bpf/bpf_struct_ops.c
1206
static bool bpf_struct_ops_valid_to_reg(struct bpf_map *map)
kernel/bpf/bpf_struct_ops.c
1235
struct bpf_map *map;
kernel/bpf/bpf_struct_ops.c
1249
struct bpf_map *map;
kernel/bpf/bpf_struct_ops.c
1260
static int bpf_struct_ops_map_link_update(struct bpf_link *link, struct bpf_map *new_map,
kernel/bpf/bpf_struct_ops.c
1261
struct bpf_map *expected_old_map)
kernel/bpf/bpf_struct_ops.c
1264
struct bpf_map *old_map;
kernel/bpf/bpf_struct_ops.c
1314
struct bpf_map *map;
kernel/bpf/bpf_struct_ops.c
1364
struct bpf_map *map;
kernel/bpf/bpf_struct_ops.c
1414
int bpf_prog_assoc_struct_ops(struct bpf_prog *prog, struct bpf_map *map)
kernel/bpf/bpf_struct_ops.c
1416
struct bpf_map *st_ops_assoc;
kernel/bpf/bpf_struct_ops.c
1446
struct bpf_map *st_ops_assoc;
kernel/bpf/bpf_struct_ops.c
1474
struct bpf_map *st_ops_assoc;
kernel/bpf/bpf_struct_ops.c
1486
void bpf_map_struct_ops_info_fill(struct bpf_map_info *info, struct bpf_map *map)
kernel/bpf/bpf_struct_ops.c
25
struct bpf_map map;
kernel/bpf/bpf_struct_ops.c
471
static int bpf_struct_ops_map_get_next_key(struct bpf_map *map, void *key,
kernel/bpf/bpf_struct_ops.c
481
int bpf_struct_ops_map_sys_lookup_elem(struct bpf_map *map, void *key,
kernel/bpf/bpf_struct_ops.c
518
static void *bpf_struct_ops_map_lookup_elem(struct bpf_map *map, void *key)
kernel/bpf/bpf_struct_ops.c
60
struct bpf_map __rcu *map;
kernel/bpf/bpf_struct_ops.c
686
static long bpf_struct_ops_map_update_elem(struct bpf_map *map, void *key,
kernel/bpf/bpf_struct_ops.c
920
static long bpf_struct_ops_map_delete_elem(struct bpf_map *map, void *key)
kernel/bpf/bpf_struct_ops.c
948
static void bpf_struct_ops_map_seq_show_elem(struct bpf_map *map, void *key,
kernel/bpf/bpf_struct_ops.c
970
static void __bpf_struct_ops_map_free(struct bpf_map *map)
kernel/bpf/bpf_struct_ops.c
985
static void bpf_struct_ops_map_free(struct bpf_map *map)
kernel/bpf/bpf_task_storage.c
129
static int task_storage_delete(struct task_struct *task, struct bpf_map *map)
kernel/bpf/bpf_task_storage.c
140
static long bpf_pid_task_storage_delete_elem(struct bpf_map *map, void *key)
kernel/bpf/bpf_task_storage.c
169
BPF_CALL_5(bpf_task_storage_get, struct bpf_map *, map, struct task_struct *,
kernel/bpf/bpf_task_storage.c
194
BPF_CALL_2(bpf_task_storage_delete, struct bpf_map *, map, struct task_struct *,
kernel/bpf/bpf_task_storage.c
208
static int notsupp_get_next_key(struct bpf_map *map, void *key, void *next_key)
kernel/bpf/bpf_task_storage.c
213
static struct bpf_map *task_storage_map_alloc(union bpf_attr *attr)
kernel/bpf/bpf_task_storage.c
218
static void task_storage_map_free(struct bpf_map *map)
kernel/bpf/bpf_task_storage.c
31
task_storage_lookup(struct task_struct *task, struct bpf_map *map,
kernel/bpf/bpf_task_storage.c
61
static void *bpf_pid_task_storage_lookup_elem(struct bpf_map *map, void *key)
kernel/bpf/bpf_task_storage.c
92
static long bpf_pid_task_storage_update_elem(struct bpf_map *map, void *key,
kernel/bpf/cgroup.c
1752
BPF_CALL_2(bpf_get_local_storage, struct bpf_map *, map, u64, flags)
kernel/bpf/cgroup.c
243
struct bpf_map *map;
kernel/bpf/core.c
1496
struct bpf_map *map;
kernel/bpf/core.c
2079
struct bpf_map *map = (struct bpf_map *) (unsigned long) BPF_R2;
kernel/bpf/core.c
2410
static bool __bpf_prog_map_compatible(struct bpf_map *map,
kernel/bpf/core.c
2476
bool bpf_prog_map_compatible(struct bpf_map *map, const struct bpf_prog *fp)
kernel/bpf/core.c
2496
struct bpf_map *map = aux->used_maps[i];
kernel/bpf/core.c
2887
struct bpf_map **used_maps, u32 len)
kernel/bpf/core.c
2889
struct bpf_map *map;
kernel/bpf/core.c
3063
bpf_event_output(struct bpf_map *map, u64 flags, void *meta, u64 meta_size,
kernel/bpf/cpumap.c
411
struct bpf_map *map, int fd)
kernel/bpf/cpumap.c
432
__cpu_map_entry_alloc(struct bpf_map *map, struct bpf_cpumap_val *value,
kernel/bpf/cpumap.c
565
static long cpu_map_delete_elem(struct bpf_map *map, void *key)
kernel/bpf/cpumap.c
578
static long cpu_map_update_elem(struct bpf_map *map, void *key, void *value,
kernel/bpf/cpumap.c
616
static void cpu_map_free(struct bpf_map *map)
kernel/bpf/cpumap.c
652
static void *__cpu_map_lookup_elem(struct bpf_map *map, u32 key)
kernel/bpf/cpumap.c
665
static void *cpu_map_lookup_elem(struct bpf_map *map, void *key)
kernel/bpf/cpumap.c
673
static int cpu_map_get_next_key(struct bpf_map *map, void *key, void *next_key)
kernel/bpf/cpumap.c
690
static long cpu_map_redirect(struct bpf_map *map, u64 index, u64 flags)
kernel/bpf/cpumap.c
696
static u64 cpu_map_mem_usage(const struct bpf_map *map)
kernel/bpf/cpumap.c
80
struct bpf_map map;
kernel/bpf/cpumap.c
85
static struct bpf_map *cpu_map_alloc(union bpf_attr *attr)
kernel/bpf/devmap.c
1033
static long dev_map_hash_update_elem(struct bpf_map *map, void *key, void *value,
kernel/bpf/devmap.c
1040
static long dev_map_redirect(struct bpf_map *map, u64 ifindex, u64 flags)
kernel/bpf/devmap.c
1047
static long dev_hash_map_redirect(struct bpf_map *map, u64 ifindex, u64 flags)
kernel/bpf/devmap.c
1054
static u64 dev_map_mem_usage(const struct bpf_map *map)
kernel/bpf/devmap.c
164
static struct bpf_map *dev_map_alloc(union bpf_attr *attr)
kernel/bpf/devmap.c
186
static void dev_map_free(struct bpf_map *map)
kernel/bpf/devmap.c
256
static int dev_map_get_next_key(struct bpf_map *map, void *key, void *next_key)
kernel/bpf/devmap.c
277
static void *__dev_map_hash_lookup_elem(struct bpf_map *map, u32 key)
kernel/bpf/devmap.c
291
static int dev_map_hash_get_next_key(struct bpf_map *map, void *key,
kernel/bpf/devmap.c
445
static void *__dev_map_lookup_elem(struct bpf_map *map, u32 key)
kernel/bpf/devmap.c
623
struct bpf_map *map, bool exclude_ingress)
kernel/bpf/devmap.c
744
struct bpf_map *map, bool exclude_ingress)
kernel/bpf/devmap.c
77
struct bpf_map map;
kernel/bpf/devmap.c
819
static void *dev_map_lookup_elem(struct bpf_map *map, void *key)
kernel/bpf/devmap.c
826
static void *dev_map_hash_lookup_elem(struct bpf_map *map, void *key)
kernel/bpf/devmap.c
844
static long dev_map_delete_elem(struct bpf_map *map, void *key)
kernel/bpf/devmap.c
861
static long dev_map_hash_delete_elem(struct bpf_map *map, void *key)
kernel/bpf/devmap.c
931
static long __dev_map_update_elem(struct net *net, struct bpf_map *map,
kernel/bpf/devmap.c
973
static long dev_map_update_elem(struct bpf_map *map, void *key, void *value,
kernel/bpf/devmap.c
980
static long __dev_map_hash_update_elem(struct net *net, struct bpf_map *map,
kernel/bpf/hashtab.c
1167
static long htab_map_update_elem(struct bpf_map *map, void *key, void *value,
kernel/bpf/hashtab.c
1274
static long htab_lru_map_update_elem(struct bpf_map *map, void *key, void *value,
kernel/bpf/hashtab.c
1349
static long htab_map_update_elem_in_place(struct bpf_map *map, void *key,
kernel/bpf/hashtab.c
1412
static long __htab_lru_percpu_map_update_elem(struct bpf_map *map, void *key,
kernel/bpf/hashtab.c
1481
static long htab_percpu_map_update_elem(struct bpf_map *map, void *key,
kernel/bpf/hashtab.c
1487
static long htab_lru_percpu_map_update_elem(struct bpf_map *map, void *key,
kernel/bpf/hashtab.c
1495
static long htab_map_delete_elem(struct bpf_map *map, void *key)
kernel/bpf/hashtab.c
1530
static long htab_lru_map_delete_elem(struct bpf_map *map, void *key)
kernel/bpf/hashtab.c
1605
static void htab_map_free_internal_structs(struct bpf_map *map)
kernel/bpf/hashtab.c
1620
static void htab_map_free(struct bpf_map *map)
kernel/bpf/hashtab.c
1650
static void htab_map_seq_show_elem(struct bpf_map *map, void *key,
kernel/bpf/hashtab.c
1671
static int __htab_map_lookup_and_delete_elem(struct bpf_map *map, void *key,
kernel/bpf/hashtab.c
1735
static int htab_map_lookup_and_delete_elem(struct bpf_map *map, void *key,
kernel/bpf/hashtab.c
1742
static int htab_percpu_map_lookup_and_delete_elem(struct bpf_map *map,
kernel/bpf/hashtab.c
1750
static int htab_lru_map_lookup_and_delete_elem(struct bpf_map *map, void *key,
kernel/bpf/hashtab.c
1757
static int htab_lru_percpu_map_lookup_and_delete_elem(struct bpf_map *map,
kernel/bpf/hashtab.c
1766
__htab_map_lookup_and_delete_batch(struct bpf_map *map,
kernel/bpf/hashtab.c
1916
struct bpf_map **inner_map = value;
kernel/bpf/hashtab.c
2007
htab_percpu_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr,
kernel/bpf/hashtab.c
201
static void *fd_htab_map_get_ptr(const struct bpf_map *map, struct htab_elem *l)
kernel/bpf/hashtab.c
2015
htab_percpu_map_lookup_and_delete_batch(struct bpf_map *map,
kernel/bpf/hashtab.c
2024
htab_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr,
kernel/bpf/hashtab.c
2032
htab_map_lookup_and_delete_batch(struct bpf_map *map,
kernel/bpf/hashtab.c
2041
htab_lru_percpu_map_lookup_batch(struct bpf_map *map,
kernel/bpf/hashtab.c
2050
htab_lru_percpu_map_lookup_and_delete_batch(struct bpf_map *map,
kernel/bpf/hashtab.c
2059
htab_lru_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr,
kernel/bpf/hashtab.c
2067
htab_lru_map_lookup_and_delete_batch(struct bpf_map *map,
kernel/bpf/hashtab.c
2076
struct bpf_map *map;
kernel/bpf/hashtab.c
2166
struct bpf_map *map = info->map;
kernel/bpf/hashtab.c
2217
struct bpf_map *map = aux->map;
kernel/bpf/hashtab.c
2259
static long bpf_for_each_hash_elem(struct bpf_map *map, bpf_callback_t callback_fn,
kernel/bpf/hashtab.c
2312
static u64 htab_map_mem_usage(const struct bpf_map *map)
kernel/bpf/hashtab.c
2397
static void *htab_percpu_map_lookup_elem(struct bpf_map *map, void *key)
kernel/bpf/hashtab.c
2408
static int htab_percpu_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf)
kernel/bpf/hashtab.c
2416
(void *(*)(struct bpf_map *map, void *key))NULL));
kernel/bpf/hashtab.c
2427
static void *htab_percpu_map_lookup_percpu_elem(struct bpf_map *map, void *key, u32 cpu)
kernel/bpf/hashtab.c
2441
static void *htab_lru_percpu_map_lookup_elem(struct bpf_map *map, void *key)
kernel/bpf/hashtab.c
2453
static void *htab_lru_percpu_map_lookup_percpu_elem(struct bpf_map *map, void *key, u32 cpu)
kernel/bpf/hashtab.c
2469
int bpf_percpu_hash_copy(struct bpf_map *map, void *key, void *value, u64 map_flags)
kernel/bpf/hashtab.c
2507
int bpf_percpu_hash_update(struct bpf_map *map, void *key, void *value,
kernel/bpf/hashtab.c
2525
static void htab_percpu_map_seq_show_elem(struct bpf_map *map, void *key,
kernel/bpf/hashtab.c
2604
static void fd_htab_map_free(struct bpf_map *map)
kernel/bpf/hashtab.c
2626
int bpf_fd_htab_map_lookup_elem(struct bpf_map *map, void *key, u32 *value)
kernel/bpf/hashtab.c
2646
int bpf_fd_htab_map_update_elem(struct bpf_map *map, struct file *map_file,
kernel/bpf/hashtab.c
2669
static struct bpf_map *htab_of_map_alloc(union bpf_attr *attr)
kernel/bpf/hashtab.c
2671
struct bpf_map *map, *inner_map_meta;
kernel/bpf/hashtab.c
2688
static void *htab_of_map_lookup_elem(struct bpf_map *map, void *key)
kernel/bpf/hashtab.c
2690
struct bpf_map **inner_map = htab_map_lookup_elem(map, key);
kernel/bpf/hashtab.c
2698
static int htab_of_map_gen_lookup(struct bpf_map *map,
kernel/bpf/hashtab.c
2705
(void *(*)(struct bpf_map *map, void *key))NULL));
kernel/bpf/hashtab.c
2716
static void htab_of_map_free(struct bpf_map *map)
kernel/bpf/hashtab.c
525
static int htab_map_check_btf(struct bpf_map *map, const struct btf *btf,
kernel/bpf/hashtab.c
542
static struct bpf_map *htab_map_alloc(union bpf_attr *attr)
kernel/bpf/hashtab.c
732
static void *__htab_map_lookup_elem(struct bpf_map *map, void *key)
kernel/bpf/hashtab.c
752
static void *htab_map_lookup_elem(struct bpf_map *map, void *key)
kernel/bpf/hashtab.c
773
static int htab_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf)
kernel/bpf/hashtab.c
779
(void *(*)(struct bpf_map *map, void *key))NULL));
kernel/bpf/hashtab.c
788
static __always_inline void *__htab_lru_map_lookup_elem(struct bpf_map *map,
kernel/bpf/hashtab.c
802
static void *htab_lru_map_lookup_elem(struct bpf_map *map, void *key)
kernel/bpf/hashtab.c
807
static void *htab_lru_map_lookup_elem_sys(struct bpf_map *map, void *key)
kernel/bpf/hashtab.c
812
static int htab_lru_map_gen_lookup(struct bpf_map *map,
kernel/bpf/hashtab.c
820
(void *(*)(struct bpf_map *map, void *key))NULL));
kernel/bpf/hashtab.c
86
struct bpf_map map;
kernel/bpf/hashtab.c
892
static int htab_map_get_next_key(struct bpf_map *map, void *key, void *next_key)
kernel/bpf/hashtab.c
961
struct bpf_map *map = &htab->map;
kernel/bpf/helpers.c
107
BPF_CALL_2(bpf_map_pop_elem, struct bpf_map *, map, void *, value)
kernel/bpf/helpers.c
1087
static void *map_key_from_value(struct bpf_map *map, void *value, u32 *arr_idx)
kernel/bpf/helpers.c
1116
struct bpf_map *map;
kernel/bpf/helpers.c
1171
struct bpf_map *map = t->cb.map;
kernel/bpf/helpers.c
120
BPF_CALL_2(bpf_map_peek_elem, struct bpf_map *, map, void *, value)
kernel/bpf/helpers.c
1204
struct bpf_map *map = cb->map;
kernel/bpf/helpers.c
1302
static int __bpf_async_init(struct bpf_async_kern *async, struct bpf_map *map, u64 flags,
kernel/bpf/helpers.c
133
BPF_CALL_3(bpf_map_lookup_percpu_elem, struct bpf_map *, map, void *, key, u32, cpu)
kernel/bpf/helpers.c
1378
BPF_CALL_3(bpf_timer_init, struct bpf_async_kern *, timer, struct bpf_map *, map,
kernel/bpf/helpers.c
2698
BPF_CALL_2(bpf_current_task_under_cgroup, struct bpf_map *, map, u32, idx)
kernel/bpf/helpers.c
3166
struct bpf_map *map = p__map;
kernel/bpf/helpers.c
378
void copy_map_value_locked(struct bpf_map *map, void *dst, void *src,
kernel/bpf/helpers.c
4112
typedef int (*bpf_task_work_callback_t)(struct bpf_map *map, void *key, void *value);
kernel/bpf/helpers.c
4139
struct bpf_map *map;
kernel/bpf/helpers.c
4264
struct bpf_map *map)
kernel/bpf/helpers.c
4295
struct bpf_map *map)
kernel/bpf/helpers.c
4330
struct bpf_map *map, bpf_task_work_callback_t callback_fn,
kernel/bpf/helpers.c
44
BPF_CALL_2(bpf_map_lookup_elem, struct bpf_map *, map, void *, key)
kernel/bpf/helpers.c
4746
void bpf_map_free_internal_structs(struct bpf_map *map, void *val)
kernel/bpf/helpers.c
59
BPF_CALL_4(bpf_map_update_elem, struct bpf_map *, map, void *, key,
kernel/bpf/helpers.c
639
BPF_CALL_5(bpf_event_output_data, void *, ctx, struct bpf_map *, map,
kernel/bpf/helpers.c
77
BPF_CALL_2(bpf_map_delete_elem, struct bpf_map *, map, void *, key)
kernel/bpf/helpers.c
92
BPF_CALL_3(bpf_map_push_elem, struct bpf_map *, map, void *, value, u64, flags)
kernel/bpf/inode.c
181
static struct bpf_map *seq_file_to_map(struct seq_file *m)
kernel/bpf/inode.c
194
static struct map_iter *map_iter_alloc(struct bpf_map *map)
kernel/bpf/inode.c
215
struct bpf_map *map = seq_file_to_map(m);
kernel/bpf/inode.c
251
struct bpf_map *map = seq_file_to_map(m);
kernel/bpf/inode.c
273
struct bpf_map *map = inode->i_private;
kernel/bpf/inode.c
353
struct bpf_map *map = arg;
kernel/bpf/local_storage.c
132
static void *cgroup_storage_lookup_elem(struct bpf_map *_map, void *key)
kernel/bpf/local_storage.c
144
static long cgroup_storage_update_elem(struct bpf_map *map, void *key,
kernel/bpf/local_storage.c
182
int bpf_percpu_cgroup_storage_copy(struct bpf_map *_map, void *key,
kernel/bpf/local_storage.c
216
int bpf_percpu_cgroup_storage_update(struct bpf_map *_map, void *key,
kernel/bpf/local_storage.c
22
struct bpf_map map;
kernel/bpf/local_storage.c
256
static int cgroup_storage_get_next_key(struct bpf_map *_map, void *key,
kernel/bpf/local_storage.c
29
static struct bpf_cgroup_storage_map *map_to_storage(struct bpf_map *map)
kernel/bpf/local_storage.c
296
static struct bpf_map *cgroup_storage_map_alloc(union bpf_attr *attr)
kernel/bpf/local_storage.c
34
static bool attach_type_isolated(const struct bpf_map *map)
kernel/bpf/local_storage.c
341
static void cgroup_storage_map_free(struct bpf_map *_map)
kernel/bpf/local_storage.c
362
static long cgroup_storage_delete_elem(struct bpf_map *map, void *key)
kernel/bpf/local_storage.c
367
static int cgroup_storage_check_btf(struct bpf_map *map,
kernel/bpf/local_storage.c
418
static void cgroup_storage_seq_show_elem(struct bpf_map *map, void *key,
kernel/bpf/local_storage.c
453
static u64 cgroup_storage_map_usage(const struct bpf_map *map)
kernel/bpf/local_storage.c
474
int bpf_cgroup_storage_assign(struct bpf_prog_aux *aux, struct bpf_map *_map)
kernel/bpf/local_storage.c
486
static size_t bpf_cgroup_storage_calculate_size(struct bpf_map *map, u32 *pages)
kernel/bpf/local_storage.c
508
struct bpf_map *map;
kernel/bpf/local_storage.c
565
struct bpf_map *map;
kernel/bpf/lpm_trie.c
238
static void *trie_lookup_elem(struct bpf_map *map, void *_key)
kernel/bpf/lpm_trie.c
322
static long trie_update_elem(struct bpf_map *map,
kernel/bpf/lpm_trie.c
34
struct bpf_map map;
kernel/bpf/lpm_trie.c
457
static long trie_delete_elem(struct bpf_map *map, void *_key)
kernel/bpf/lpm_trie.c
571
static struct bpf_map *trie_alloc(union bpf_attr *attr)
kernel/bpf/lpm_trie.c
613
static void trie_free(struct bpf_map *map)
kernel/bpf/lpm_trie.c
656
static int trie_get_next_key(struct bpf_map *map, void *_key, void *_next_key)
kernel/bpf/lpm_trie.c
754
static int trie_check_btf(struct bpf_map *map,
kernel/bpf/lpm_trie.c
764
static u64 trie_mem_usage(const struct bpf_map *map)
kernel/bpf/map_in_map.c
10
struct bpf_map *bpf_map_meta_alloc(int inner_map_ufd)
kernel/bpf/map_in_map.c
114
void bpf_map_fd_put_ptr(struct bpf_map *map, void *ptr, bool need_defer)
kernel/bpf/map_in_map.c
116
struct bpf_map *inner_map = ptr;
kernel/bpf/map_in_map.c
12
struct bpf_map *inner_map, *inner_map_meta;
kernel/bpf/map_in_map.c
133
return ((struct bpf_map *)ptr)->id;
kernel/bpf/map_in_map.c
48
struct bpf_map *ret = ERR_CAST(inner_map_meta->record);
kernel/bpf/map_in_map.c
76
void bpf_map_meta_free(struct bpf_map *map_meta)
kernel/bpf/map_in_map.c
83
bool bpf_map_meta_equal(const struct bpf_map *meta0,
kernel/bpf/map_in_map.c
84
const struct bpf_map *meta1)
kernel/bpf/map_in_map.c
94
void *bpf_map_fd_get_ptr(struct bpf_map *map,
kernel/bpf/map_in_map.c
98
struct bpf_map *inner_map, *inner_map_meta;
kernel/bpf/map_in_map.h
10
struct bpf_map;
kernel/bpf/map_in_map.h
12
struct bpf_map *bpf_map_meta_alloc(int inner_map_ufd);
kernel/bpf/map_in_map.h
13
void bpf_map_meta_free(struct bpf_map *map_meta);
kernel/bpf/map_in_map.h
14
void *bpf_map_fd_get_ptr(struct bpf_map *map, struct file *map_file,
kernel/bpf/map_in_map.h
16
void bpf_map_fd_put_ptr(struct bpf_map *map, void *ptr, bool need_defer);
kernel/bpf/map_iter.c
105
struct bpf_map *map;
kernel/bpf/map_iter.c
16
struct bpf_map *map;
kernel/bpf/map_iter.c
165
struct bpf_map *map, void *key, void *value)
kernel/bpf/map_iter.c
198
__bpf_kfunc s64 bpf_map_sum_elem_count(const struct bpf_map *map)
kernel/bpf/map_iter.c
33
bpf_map_put((struct bpf_map *)v);
kernel/bpf/map_iter.c
39
__bpf_md_ptr(struct bpf_map *, map);
kernel/bpf/map_iter.c
42
DEFINE_BPF_ITER_FUNC(bpf_map, struct bpf_iter_meta *meta, struct bpf_map *map)
kernel/bpf/map_iter.c
71
bpf_map_put((struct bpf_map *)v);
kernel/bpf/map_iter.c
81
BTF_ID_LIST_GLOBAL_SINGLE(btf_bpf_map_id, struct, bpf_map)
kernel/bpf/offload.c
504
struct bpf_map *bpf_map_offload_map_alloc(union bpf_attr *attr)
kernel/bpf/offload.c
557
void bpf_map_offload_map_free(struct bpf_map *map)
kernel/bpf/offload.c
571
u64 bpf_map_offload_map_mem_usage(const struct bpf_map *map)
kernel/bpf/offload.c
577
int bpf_map_offload_lookup_elem(struct bpf_map *map, void *key, void *value)
kernel/bpf/offload.c
590
int bpf_map_offload_update_elem(struct bpf_map *map,
kernel/bpf/offload.c
608
int bpf_map_offload_delete_elem(struct bpf_map *map, void *key)
kernel/bpf/offload.c
621
int bpf_map_offload_get_next_key(struct bpf_map *map, void *key, void *next_key)
kernel/bpf/offload.c
664
int bpf_map_offload_info_fill(struct bpf_map_info *info, struct bpf_map *map)
kernel/bpf/offload.c
738
bool bpf_offload_prog_map_match(struct bpf_prog *prog, struct bpf_map *map)
kernel/bpf/preload/iterators/iterators.bpf.c
23
struct bpf_map *map;
kernel/bpf/preload/iterators/iterators.bpf.c
76
__s64 bpf_map_sum_elem_count(struct bpf_map *map) __ksym;
kernel/bpf/preload/iterators/iterators.bpf.c
83
struct bpf_map *map = ctx->map;
kernel/bpf/queue_stack_maps.c
125
static long __stack_map_get(struct bpf_map *map, void *value, bool delete)
kernel/bpf/queue_stack_maps.c
158
static long queue_map_peek_elem(struct bpf_map *map, void *value)
kernel/bpf/queue_stack_maps.c
164
static long stack_map_peek_elem(struct bpf_map *map, void *value)
kernel/bpf/queue_stack_maps.c
170
static long queue_map_pop_elem(struct bpf_map *map, void *value)
kernel/bpf/queue_stack_maps.c
176
static long stack_map_pop_elem(struct bpf_map *map, void *value)
kernel/bpf/queue_stack_maps.c
18
struct bpf_map map;
kernel/bpf/queue_stack_maps.c
182
static long queue_stack_map_push_elem(struct bpf_map *map, void *value,
kernel/bpf/queue_stack_maps.c
224
static void *queue_stack_map_lookup_elem(struct bpf_map *map, void *key)
kernel/bpf/queue_stack_maps.c
230
static long queue_stack_map_update_elem(struct bpf_map *map, void *key,
kernel/bpf/queue_stack_maps.c
237
static long queue_stack_map_delete_elem(struct bpf_map *map, void *key)
kernel/bpf/queue_stack_maps.c
243
static int queue_stack_map_get_next_key(struct bpf_map *map, void *key,
kernel/bpf/queue_stack_maps.c
249
static u64 queue_stack_map_mem_usage(const struct bpf_map *map)
kernel/bpf/queue_stack_maps.c
26
static struct bpf_queue_stack *bpf_queue_stack(struct bpf_map *map)
kernel/bpf/queue_stack_maps.c
65
static struct bpf_map *queue_stack_map_alloc(union bpf_attr *attr)
kernel/bpf/queue_stack_maps.c
88
static void queue_stack_map_free(struct bpf_map *map)
kernel/bpf/queue_stack_maps.c
95
static long __queue_map_get(struct bpf_map *map, void *value, bool delete)
kernel/bpf/reuseport_array.c
12
struct bpf_map map;
kernel/bpf/reuseport_array.c
149
static struct bpf_map *reuseport_array_alloc(union bpf_attr *attr)
kernel/bpf/reuseport_array.c
16
static struct reuseport_array *reuseport_array(struct bpf_map *map)
kernel/bpf/reuseport_array.c
165
int bpf_fd_reuseport_array_lookup_elem(struct bpf_map *map, void *key,
kernel/bpf/reuseport_array.c
232
int bpf_fd_reuseport_array_update_elem(struct bpf_map *map, void *key,
kernel/bpf/reuseport_array.c
316
static int reuseport_array_get_next_key(struct bpf_map *map, void *key,
kernel/bpf/reuseport_array.c
335
static u64 reuseport_array_mem_usage(const struct bpf_map *map)
kernel/bpf/reuseport_array.c
50
static void *reuseport_array_lookup_elem(struct bpf_map *map, void *key)
kernel/bpf/reuseport_array.c
62
static long reuseport_array_delete_elem(struct bpf_map *map, void *key)
kernel/bpf/reuseport_array.c
94
static void reuseport_array_free(struct bpf_map *map)
kernel/bpf/ringbuf.c
194
static struct bpf_map *ringbuf_map_alloc(union bpf_attr *attr)
kernel/bpf/ringbuf.c
244
static void ringbuf_map_free(struct bpf_map *map)
kernel/bpf/ringbuf.c
253
static void *ringbuf_map_lookup_elem(struct bpf_map *map, void *key)
kernel/bpf/ringbuf.c
258
static long ringbuf_map_update_elem(struct bpf_map *map, void *key, void *value,
kernel/bpf/ringbuf.c
264
static long ringbuf_map_delete_elem(struct bpf_map *map, void *key)
kernel/bpf/ringbuf.c
269
static int ringbuf_map_get_next_key(struct bpf_map *map, void *key,
kernel/bpf/ringbuf.c
275
static int ringbuf_map_mmap_kern(struct bpf_map *map, struct vm_area_struct *vma)
kernel/bpf/ringbuf.c
291
static int ringbuf_map_mmap_user(struct bpf_map *map, struct vm_area_struct *vma)
kernel/bpf/ringbuf.c
336
static __poll_t ringbuf_map_poll_kern(struct bpf_map *map, struct file *filp,
kernel/bpf/ringbuf.c
349
static __poll_t ringbuf_map_poll_user(struct bpf_map *map, struct file *filp,
kernel/bpf/ringbuf.c
362
static u64 ringbuf_map_mem_usage(const struct bpf_map *map)
kernel/bpf/ringbuf.c
540
BPF_CALL_3(bpf_ringbuf_reserve, struct bpf_map *, map, u64, size, u64, flags)
kernel/bpf/ringbuf.c
613
BPF_CALL_4(bpf_ringbuf_output, struct bpf_map *, map, void *, data, u64, size,
kernel/bpf/ringbuf.c
641
BPF_CALL_2(bpf_ringbuf_query, struct bpf_map *, map, u64, flags)
kernel/bpf/ringbuf.c
670
BPF_CALL_4(bpf_ringbuf_reserve_dynptr, struct bpf_map *, map, u32, size, u64, flags,
kernel/bpf/ringbuf.c
817
BPF_CALL_4(bpf_user_ringbuf_drain, struct bpf_map *, map,
kernel/bpf/ringbuf.c
83
struct bpf_map map;
kernel/bpf/stackmap.c
249
static long __bpf_get_stackid(struct bpf_map *map,
kernel/bpf/stackmap.c
27
struct bpf_map map;
kernel/bpf/stackmap.c
323
BPF_CALL_3(bpf_get_stackid, struct pt_regs *, regs, struct bpf_map *, map,
kernel/bpf/stackmap.c
34
static inline bool stack_map_use_build_id(struct bpf_map *map)
kernel/bpf/stackmap.c
369
struct bpf_map *, map, u64, flags)
kernel/bpf/stackmap.c
39
static inline int stack_map_data_size(struct bpf_map *map)
kernel/bpf/stackmap.c
661
static void *stack_map_lookup_elem(struct bpf_map *map, void *key)
kernel/bpf/stackmap.c
667
static int stack_map_lookup_and_delete_elem(struct bpf_map *map, void *key,
kernel/bpf/stackmap.c
674
int bpf_stackmap_extract(struct bpf_map *map, void *key, void *value,
kernel/bpf/stackmap.c
701
static int stack_map_get_next_key(struct bpf_map *map, void *key,
kernel/bpf/stackmap.c
730
static long stack_map_update_elem(struct bpf_map *map, void *key, void *value,
kernel/bpf/stackmap.c
737
static long stack_map_delete_elem(struct bpf_map *map, void *key)
kernel/bpf/stackmap.c
756
static void stack_map_free(struct bpf_map *map)
kernel/bpf/stackmap.c
766
static u64 stack_map_mem_usage(const struct bpf_map *map)
kernel/bpf/stackmap.c
92
static struct bpf_map *stack_map_alloc(union bpf_attr *attr)
kernel/bpf/syscall.c
1003
static u64 bpf_map_memory_usage(const struct bpf_map *map)
kernel/bpf/syscall.c
1010
struct bpf_map *map = filp->private_data;
kernel/bpf/syscall.c
1067
struct bpf_map *map = vma->vm_file->private_data;
kernel/bpf/syscall.c
1076
struct bpf_map *map = vma->vm_file->private_data;
kernel/bpf/syscall.c
1089
struct bpf_map *map = filp->private_data;
kernel/bpf/syscall.c
1146
struct bpf_map *map = filp->private_data;
kernel/bpf/syscall.c
1158
struct bpf_map *map = filp->private_data;
kernel/bpf/syscall.c
1181
int bpf_map_new_fd(struct bpf_map *map, int flags)
kernel/bpf/syscall.c
122
static void bpf_map_write_active_inc(struct bpf_map *map)
kernel/bpf/syscall.c
1237
int map_check_no_btf(struct bpf_map *map,
kernel/bpf/syscall.c
1245
static int map_check_btf(struct bpf_map *map, struct bpf_token *token,
kernel/bpf/syscall.c
127
static void bpf_map_write_active_dec(struct bpf_map *map)
kernel/bpf/syscall.c
132
bool bpf_map_write_active(const struct bpf_map *map)
kernel/bpf/syscall.c
137
static u32 bpf_map_value_size(const struct bpf_map *map, u64 flags)
kernel/bpf/syscall.c
1375
struct bpf_map *map;
kernel/bpf/syscall.c
152
static void maybe_wait_bpf_programs(struct bpf_map *map)
kernel/bpf/syscall.c
1621
void bpf_map_inc(struct bpf_map *map)
kernel/bpf/syscall.c
1627
void bpf_map_inc_with_uref(struct bpf_map *map)
kernel/bpf/syscall.c
1634
struct bpf_map *bpf_map_get(u32 ufd)
kernel/bpf/syscall.c
1637
struct bpf_map *map = __bpf_map_get(f);
kernel/bpf/syscall.c
1646
struct bpf_map *bpf_map_get_with_uref(u32 ufd)
kernel/bpf/syscall.c
1649
struct bpf_map *map = __bpf_map_get(f);
kernel/bpf/syscall.c
1660
struct bpf_map *__bpf_map_inc_not_zero(struct bpf_map *map, bool uref)
kernel/bpf/syscall.c
1673
struct bpf_map *bpf_map_inc_not_zero(struct bpf_map *map)
kernel/bpf/syscall.c
1680
int __weak bpf_stackmap_extract(struct bpf_map *map, void *key, void *value,
kernel/bpf/syscall.c
1715
struct bpf_map *map;
kernel/bpf/syscall.c
1777
struct bpf_map *map;
kernel/bpf/syscall.c
1829
struct bpf_map *map;
kernel/bpf/syscall.c
1883
struct bpf_map *map;
kernel/bpf/syscall.c
1935
int generic_map_delete_batch(struct bpf_map *map,
kernel/bpf/syscall.c
1991
int generic_map_update_batch(struct bpf_map *map, struct file *map_file,
kernel/bpf/syscall.c
2049
int generic_map_lookup_batch(struct bpf_map *map,
kernel/bpf/syscall.c
2146
struct bpf_map *map;
kernel/bpf/syscall.c
2236
struct bpf_map *map;
kernel/bpf/syscall.c
250
static int bpf_map_update_value(struct bpf_map *map, struct file *map_file,
kernel/bpf/syscall.c
308
static int bpf_map_copy_value(struct bpf_map *map, void *key, void *value,
kernel/bpf/syscall.c
436
void bpf_map_init_from_attr(struct bpf_map *map, union bpf_attr *attr)
kernel/bpf/syscall.c
447
static int bpf_map_alloc_id(struct bpf_map *map)
kernel/bpf/syscall.c
465
void bpf_map_free_id(struct bpf_map *map)
kernel/bpf/syscall.c
4777
struct bpf_map *bpf_map_get_curr_or_next(u32 *id)
kernel/bpf/syscall.c
4779
struct bpf_map *map;
kernel/bpf/syscall.c
486
static void bpf_map_save_memcg(struct bpf_map *map)
kernel/bpf/syscall.c
4861
struct bpf_map *map;
kernel/bpf/syscall.c
4895
static const struct bpf_map *bpf_map_from_imm(const struct bpf_prog *prog,
kernel/bpf/syscall.c
4899
const struct bpf_map *map;
kernel/bpf/syscall.c
4926
const struct bpf_map *map;
kernel/bpf/syscall.c
497
static void bpf_map_release_memcg(struct bpf_map *map)
kernel/bpf/syscall.c
503
static struct mem_cgroup *bpf_map_get_memcg(const struct bpf_map *map)
kernel/bpf/syscall.c
511
void bpf_map_memcg_enter(const struct bpf_map *map, struct mem_cgroup **old_memcg,
kernel/bpf/syscall.c
525
void *bpf_map_kmalloc_node(const struct bpf_map *map, size_t size, gfp_t flags,
kernel/bpf/syscall.c
5302
struct bpf_map *map,
kernel/bpf/syscall.c
538
void *bpf_map_kmalloc_nolock(const struct bpf_map *map, size_t size, gfp_t flags,
kernel/bpf/syscall.c
551
void *bpf_map_kzalloc(const struct bpf_map *map, size_t size, gfp_t flags)
kernel/bpf/syscall.c
563
void *bpf_map_kvcalloc(struct bpf_map *map, size_t n, size_t size,
kernel/bpf/syscall.c
5663
struct bpf_map *map;
kernel/bpf/syscall.c
576
void __percpu *bpf_map_alloc_percpu(const struct bpf_map *map, size_t size,
kernel/bpf/syscall.c
5808
struct bpf_map *new_map, *old_map = NULL;
kernel/bpf/syscall.c
590
static void bpf_map_save_memcg(struct bpf_map *map)
kernel/bpf/syscall.c
594
static void bpf_map_release_memcg(struct bpf_map *map)
kernel/bpf/syscall.c
6070
struct bpf_map *map;
kernel/bpf/syscall.c
6071
struct bpf_map **used_maps_old, **used_maps_new;
kernel/bpf/syscall.c
616
int bpf_map_alloc_pages(const struct bpf_map *map, int nid,
kernel/bpf/syscall.c
6172
struct bpf_map *map;
kernel/bpf/syscall.c
701
void bpf_map_free_record(struct bpf_map *map)
kernel/bpf/syscall.c
881
static void bpf_map_free(struct bpf_map *map)
kernel/bpf/syscall.c
914
struct bpf_map *map = container_of(work, struct bpf_map, work);
kernel/bpf/syscall.c
922
static void bpf_map_put_uref(struct bpf_map *map)
kernel/bpf/syscall.c
930
static void bpf_map_free_in_work(struct bpf_map *map)
kernel/bpf/syscall.c
941
bpf_map_free_in_work(container_of(rcu, struct bpf_map, rcu));
kernel/bpf/syscall.c
955
void bpf_map_put(struct bpf_map *map)
kernel/bpf/syscall.c
972
void bpf_map_put_with_uref(struct bpf_map *map)
kernel/bpf/syscall.c
980
struct bpf_map *map = filp->private_data;
kernel/bpf/syscall.c
989
static fmode_t map_get_sys_perms(struct bpf_map *map, struct fd f)
kernel/bpf/verifier.c
10176
struct bpf_map *map, int func_id)
kernel/bpf/verifier.c
11015
struct bpf_map *map;
kernel/bpf/verifier.c
11062
struct bpf_map *map_ptr = caller->regs[BPF_REG_1].map_ptr;
kernel/bpf/verifier.c
11175
struct bpf_map *map_ptr = caller->regs[BPF_REG_3].map_ptr;
kernel/bpf/verifier.c
11371
struct bpf_map *map = meta->map.ptr;
kernel/bpf/verifier.c
11418
struct bpf_map *map = meta->map.ptr;
kernel/bpf/verifier.c
11514
struct bpf_map *fmt_map = fmt_reg->map_ptr;
kernel/bpf/verifier.c
17747
struct bpf_map *map;
kernel/bpf/verifier.c
18599
static int copy_insn_array(struct bpf_map *map, u32 start, u32 end, u32 *items)
kernel/bpf/verifier.c
18641
static int copy_insn_array_uniq(struct bpf_map *map, u32 start, u32 end, u32 *off)
kernel/bpf/verifier.c
18656
static struct bpf_iarray *jt_from_map(struct bpf_map *map)
kernel/bpf/verifier.c
18691
struct bpf_map *map;
kernel/bpf/verifier.c
20985
struct bpf_map *map,
kernel/bpf/verifier.c
21024
struct bpf_map *map;
kernel/bpf/verifier.c
21621
static bool bpf_map_is_cgroup_storage(struct bpf_map *map)
kernel/bpf/verifier.c
21628
struct bpf_map *map,
kernel/bpf/verifier.c
21732
static int __add_used_map(struct bpf_verifier_env *env, struct bpf_map *map)
kernel/bpf/verifier.c
21781
struct bpf_map *map;
kernel/bpf/verifier.c
21820
struct bpf_map *map;
kernel/bpf/verifier.c
225
struct bpf_map *map,
kernel/bpf/verifier.c
2262
const struct bpf_map *map = reg->map_ptr;
kernel/bpf/verifier.c
22826
struct bpf_map *map_ptr;
kernel/bpf/verifier.c
23409
struct bpf_map *map_ptr;
kernel/bpf/verifier.c
23435
(((struct bpf_map *)env->prog->aux->arena)->map_flags & BPF_F_NO_USER_CONV)) {
kernel/bpf/verifier.c
23956
(void *(*)(struct bpf_map *map, void *key))NULL));
kernel/bpf/verifier.c
23958
(long (*)(struct bpf_map *map, void *key))NULL));
kernel/bpf/verifier.c
23960
(long (*)(struct bpf_map *map, void *key, void *value,
kernel/bpf/verifier.c
23963
(long (*)(struct bpf_map *map, void *value,
kernel/bpf/verifier.c
23966
(long (*)(struct bpf_map *map, void *value))NULL));
kernel/bpf/verifier.c
23968
(long (*)(struct bpf_map *map, void *value))NULL));
kernel/bpf/verifier.c
23970
(long (*)(struct bpf_map *map, u64 index, u64 flags))NULL));
kernel/bpf/verifier.c
23972
(long (*)(struct bpf_map *map,
kernel/bpf/verifier.c
23977
(void *(*)(struct bpf_map *map, void *key, u32 cpu))NULL));
kernel/bpf/verifier.c
25470
struct bpf_map *map;
kernel/bpf/verifier.c
276
struct bpf_map *ptr;
kernel/bpf/verifier.c
483
const struct bpf_map *map)
kernel/bpf/verifier.c
5835
struct bpf_map *map = reg->map_ptr;
kernel/bpf/verifier.c
592
const struct bpf_map *map)
kernel/bpf/verifier.c
6226
static u32 map_mem_size(const struct bpf_map *map)
kernel/bpf/verifier.c
6242
struct bpf_map *map = reg->map_ptr;
kernel/bpf/verifier.c
7199
static bool bpf_map_is_rdonly(const struct bpf_map *map)
kernel/bpf/verifier.c
7219
static int bpf_map_direct_read(struct bpf_map *map, int off, int size, u64 *val,
kernel/bpf/verifier.c
7539
struct bpf_map *map = reg->map_ptr;
kernel/bpf/verifier.c
7754
struct bpf_map *map = reg->map_ptr;
kernel/bpf/verifier.c
8591
struct bpf_map *map = NULL;
kernel/bpf/verifier.c
8705
struct bpf_map *map = reg->map_ptr;
kernel/bpf/verifier.c
8780
struct bpf_map *map_ptr;
kernel/bpf/verifier.c
9748
struct bpf_map *map = reg->map_ptr;
kernel/trace/bpf_trace.c
1372
BPF_CALL_5(bpf_perf_event_output_tp, void *, tp_buff, struct bpf_map *, map,
kernel/trace/bpf_trace.c
1396
BPF_CALL_3(bpf_get_stackid_tp, void *, tp_buff, struct bpf_map *, map,
kernel/trace/bpf_trace.c
1595
struct bpf_map *, map, u64, flags, void *, data, u64, size)
kernel/trace/bpf_trace.c
1626
struct bpf_map *, map, u64, flags)
kernel/trace/bpf_trace.c
537
get_map_perf_counter(struct bpf_map *map, u64 flags,
kernel/trace/bpf_trace.c
559
BPF_CALL_2(bpf_perf_event_read, struct bpf_map *, map, u64, flags)
kernel/trace/bpf_trace.c
582
BPF_CALL_4(bpf_perf_event_read_value, struct bpf_map *, map, u64, flags,
kernel/trace/bpf_trace.c
615
__bpf_perf_event_output(struct pt_regs *regs, struct bpf_map *map,
kernel/trace/bpf_trace.c
657
BPF_CALL_5(bpf_perf_event_output, struct pt_regs *, regs, struct bpf_map *, map,
kernel/trace/bpf_trace.c
713
u64 bpf_event_output(struct bpf_map *map, u64 flags, void *meta, u64 meta_size,
net/core/bpf_sk_storage.c
117
static long bpf_fd_sk_storage_delete_elem(struct bpf_map *map, void *key)
net/core/bpf_sk_storage.c
172
struct bpf_map *map;
net/core/bpf_sk_storage.c
21
bpf_sk_storage_lookup(struct sock *sk, struct bpf_map *map, bool cacheit_lockit)
net/core/bpf_sk_storage.c
231
BPF_CALL_5(bpf_sk_storage_get, struct bpf_map *, map, struct sock *, sk,
net/core/bpf_sk_storage.c
265
BPF_CALL_2(bpf_sk_storage_delete, struct bpf_map *, map, struct sock *, sk)
net/core/bpf_sk_storage.c
35
static int bpf_sk_storage_del(struct sock *sk, struct bpf_map *map)
net/core/bpf_sk_storage.c
387
BPF_CALL_5(bpf_sk_storage_get_tracing, struct bpf_map *, map, struct sock *, sk,
net/core/bpf_sk_storage.c
398
BPF_CALL_2(bpf_sk_storage_delete_tracing, struct bpf_map *, map,
net/core/bpf_sk_storage.c
432
struct bpf_map *maps[];
net/core/bpf_sk_storage.c
470
const struct bpf_map *map)
net/core/bpf_sk_storage.c
510
struct bpf_map *map = bpf_map_get(map_fd);
net/core/bpf_sk_storage.c
64
static void bpf_sk_storage_map_free(struct bpf_map *map)
net/core/bpf_sk_storage.c
69
static struct bpf_map *bpf_sk_storage_map_alloc(union bpf_attr *attr)
net/core/bpf_sk_storage.c
695
struct bpf_map *map;
net/core/bpf_sk_storage.c
74
static int notsupp_get_next_key(struct bpf_map *map, void *key,
net/core/bpf_sk_storage.c
786
__bpf_md_ptr(struct bpf_map *, map);
net/core/bpf_sk_storage.c
792
struct bpf_map *map, struct sock *sk,
net/core/bpf_sk_storage.c
80
static void *bpf_fd_sk_storage_lookup_elem(struct bpf_map *map, void *key)
net/core/bpf_sk_storage.c
856
struct bpf_map *map;
net/core/bpf_sk_storage.c
97
static long bpf_fd_sk_storage_update_elem(struct bpf_map *map, void *key,
net/core/filter.c
11454
struct bpf_map *, map, void *, key, u32, flags)
net/core/filter.c
4447
struct bpf_map *map;
net/core/filter.c
4545
struct bpf_map *map;
net/core/filter.c
4658
BPF_CALL_3(bpf_xdp_redirect_map, struct bpf_map *, map, u64, key,
net/core/filter.c
4686
BPF_CALL_5(bpf_skb_event_output, struct sk_buff *, skb, struct bpf_map *, map,
net/core/filter.c
4978
BPF_CALL_3(bpf_skb_under_cgroup, struct sk_buff *, skb, struct bpf_map *, map,
net/core/filter.c
5099
BPF_CALL_5(bpf_xdp_event_output, struct xdp_buff *, xdp, struct bpf_map *, map,
net/core/sock_map.c
1056
static int sock_hash_get_next_key(struct bpf_map *map, void *key,
net/core/sock_map.c
1096
static struct bpf_map *sock_hash_alloc(union bpf_attr *attr)
net/core/sock_map.c
1144
static void sock_hash_free(struct bpf_map *map)
net/core/sock_map.c
1197
static void *sock_hash_lookup_sys(struct bpf_map *map, void *key)
net/core/sock_map.c
1212
static void *sock_hash_lookup(struct bpf_map *map, void *key)
net/core/sock_map.c
1224
static void sock_hash_release_progs(struct bpf_map *map)
net/core/sock_map.c
1230
struct bpf_map *, map, void *, key, u64, flags)
net/core/sock_map.c
1252
struct bpf_map *, map, void *, key, u64, flags)
net/core/sock_map.c
1280
struct bpf_map *, map, void *, key, u64, flags)
net/core/sock_map.c
1311
struct bpf_map *map;
net/core/sock_map.c
133
struct bpf_map *map, void *link_raw)
net/core/sock_map.c
1427
static u64 sock_hash_mem_usage(const struct bpf_map *map)
net/core/sock_map.c
1461
static struct sk_psock_progs *sock_map_progs(struct bpf_map *map)
net/core/sock_map.c
1475
static int sock_map_prog_link_lookup(struct bpf_map *map, struct bpf_prog ***pprog,
net/core/sock_map.c
151
struct bpf_map *map = link->map;
net/core/sock_map.c
1524
static int sock_map_prog_update(struct bpf_map *map, struct bpf_prog *prog,
net/core/sock_map.c
1562
struct bpf_map *map;
net/core/sock_map.c
1711
struct bpf_map *map;
net/core/sock_map.c
18
struct bpf_map map;
net/core/sock_map.c
1847
struct bpf_map *map;
net/core/sock_map.c
1906
struct bpf_map *map;
net/core/sock_map.c
217
static int sock_map_link(struct bpf_map *map, struct sock *sk)
net/core/sock_map.c
339
static void sock_map_free(struct bpf_map *map)
net/core/sock_map.c
34
static int sock_map_prog_update(struct bpf_map *map, struct bpf_prog *prog,
net/core/sock_map.c
37
static struct sk_psock_progs *sock_map_progs(struct bpf_map *map);
net/core/sock_map.c
372
static void sock_map_release_progs(struct bpf_map *map)
net/core/sock_map.c
377
static struct sock *__sock_map_lookup_elem(struct bpf_map *map, u32 key)
net/core/sock_map.c
388
static void *sock_map_lookup(struct bpf_map *map, void *key)
net/core/sock_map.c
39
static struct bpf_map *sock_map_alloc(union bpf_attr *attr)
net/core/sock_map.c
400
static void *sock_map_lookup_sys(struct bpf_map *map, void *key)
net/core/sock_map.c
434
static void sock_map_delete_from_link(struct bpf_map *map, struct sock *sk,
net/core/sock_map.c
442
static long sock_map_delete_elem(struct bpf_map *map, void *key)
net/core/sock_map.c
455
static int sock_map_get_next_key(struct bpf_map *map, void *key, void *next)
net/core/sock_map.c
470
static int sock_map_update_common(struct bpf_map *map, u32 idx,
net/core/sock_map.c
553
static int sock_hash_update_common(struct bpf_map *map, void *key,
net/core/sock_map.c
556
int sock_map_update_elem_sys(struct bpf_map *map, void *key, void *value,
net/core/sock_map.c
597
static long sock_map_update_elem(struct bpf_map *map, void *key,
net/core/sock_map.c
623
struct bpf_map *, map, void *, key, u64, flags)
net/core/sock_map.c
646
struct bpf_map *, map, u32, key, u64, flags)
net/core/sock_map.c
674
struct bpf_map *, map, u32, key, u64, flags)
net/core/sock_map.c
70
struct bpf_map *map;
net/core/sock_map.c
705
struct bpf_map *map;
net/core/sock_map.c
712
__bpf_md_ptr(struct bpf_map *, map);
net/core/sock_map.c
718
struct bpf_map *map, void *key,
net/core/sock_map.c
813
static u64 sock_map_mem_usage(const struct bpf_map *map)
net/core/sock_map.c
859
struct bpf_map map;
net/core/sock_map.c
89
struct bpf_map *map;
net/core/sock_map.c
893
static struct sock *__sock_hash_lookup_elem(struct bpf_map *map, void *key)
net/core/sock_map.c
916
static void sock_hash_delete_from_link(struct bpf_map *map, struct sock *sk,
net/core/sock_map.c
941
static long sock_hash_delete_elem(struct bpf_map *map, void *key)
net/core/sock_map.c
991
static int sock_hash_update_common(struct bpf_map *map, void *key,
net/xdp/xskmap.c
104
static int xsk_map_get_next_key(struct bpf_map *map, void *key, void *next_key)
net/xdp/xskmap.c
121
static int xsk_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf)
net/xdp/xskmap.c
141
static void *__xsk_map_lookup_elem(struct bpf_map *map, u32 key)
net/xdp/xskmap.c
151
static void *xsk_map_lookup_elem(struct bpf_map *map, void *key)
net/xdp/xskmap.c
156
static void *xsk_map_lookup_elem_sys_only(struct bpf_map *map, void *key)
net/xdp/xskmap.c
161
static long xsk_map_update_elem(struct bpf_map *map, void *key, void *value,
net/xdp/xskmap.c
222
static long xsk_map_delete_elem(struct bpf_map *map, void *key)
net/xdp/xskmap.c
242
static long xsk_map_redirect(struct bpf_map *map, u64 index, u64 flags)
net/xdp/xskmap.c
259
static bool xsk_map_meta_equal(const struct bpf_map *meta0,
net/xdp/xskmap.c
260
const struct bpf_map *meta1)
net/xdp/xskmap.c
64
static struct bpf_map *xsk_map_alloc(union bpf_attr *attr)
net/xdp/xskmap.c
88
static u64 xsk_map_mem_usage(const struct bpf_map *map)
net/xdp/xskmap.c
96
static void xsk_map_free(struct bpf_map *map)
samples/bpf/map_perf_test_user.c
405
struct bpf_map *map;
samples/bpf/map_perf_test_user.c
430
struct bpf_map *map;
samples/bpf/tracex6.bpf.c
56
int BPF_KPROBE(bpf_prog2, struct bpf_map *map)
samples/bpf/xdp_sample.bpf.c
106
const struct bpf_map *map, u32 index)
samples/bpf/xdp_sample.bpf.c
114
const struct bpf_map *map, u32 index)
samples/bpf/xdp_sample.bpf.c
122
const struct bpf_map *map, u32 index)
samples/bpf/xdp_sample.bpf.c
98
const struct bpf_map *map, u32 index)
samples/bpf/xdp_sample_user.c
1195
int sample_setup_maps(struct bpf_map **maps)
samples/bpf/xdp_sample_user.c
151
struct bpf_map *sample_map[NUM_MAP];
samples/bpf/xdp_sample_user.h
33
int sample_setup_maps(struct bpf_map **maps);
samples/bpf/xdp_sample_user.h
74
sample_setup_maps((struct bpf_map *[]){ \
security/security.c
313
static int lsm_bpf_map_alloc(struct bpf_map *map)
security/security.c
5190
int security_bpf_map(struct bpf_map *map, fmode_t fmode)
security/security.c
5192
return call_int_hook(bpf_map, map, fmode);
security/security.c
5221
int security_bpf_map_create(struct bpf_map *map, union bpf_attr *attr,
security/security.c
5328
void security_bpf_map_free(struct bpf_map *map)
security/selinux/hooks.c
7094
struct bpf_map *map;
security/selinux/hooks.c
7115
static int selinux_bpf_map(struct bpf_map *map, fmode_t fmode)
security/selinux/hooks.c
7153
static int selinux_bpf_map_create(struct bpf_map *map, union bpf_attr *attr,
security/selinux/hooks.c
7644
LSM_HOOK_INIT(bpf_map, selinux_bpf_map),
security/selinux/include/objsec.h
264
selinux_bpf_map_security(struct bpf_map *map)
tools/bpf/bpftool/gen.c
1131
const struct bpf_map *map)
tools/bpf/bpftool/gen.c
1161
struct bpf_map *map;
tools/bpf/bpftool/gen.c
1194
struct bpf_map *map;
tools/bpf/bpftool/gen.c
1228
struct bpf_map *map;
tools/bpf/bpftool/gen.c
1640
const struct bpf_map *map;
tools/bpf/bpftool/gen.c
257
static bool is_mmapable_map(const struct bpf_map *map, char *buf, size_t sz)
tools/bpf/bpftool/gen.c
279
struct bpf_map *map;
tools/bpf/bpftool/gen.c
328
struct bpf_map *map;
tools/bpf/bpftool/gen.c
486
static size_t bpf_map_mmap_sz(const struct bpf_map *map)
tools/bpf/bpftool/gen.c
500
struct bpf_map *map;
tools/bpf/bpftool/gen.c
647
struct bpf_map *map;
tools/bpf/bpftool/gen.c
694
struct bpf_map *map;
tools/bpf/bpftool/gen.c
905
struct bpf_map *map;
tools/bpf/bpftool/gen.c
93
static bool get_map_ident(const struct bpf_map *map, char *buf, size_t buf_sz)
tools/bpf/bpftool/prog.c
1582
struct bpf_map *map;
tools/bpf/bpftool/skeleton/pid_iter.bpf.c
45
return BPF_CORE_READ((struct bpf_map *)ent, id);
tools/bpf/bpftool/struct_ops.c
508
struct bpf_map *map;
tools/lib/bpf/libbpf.c
10170
static struct bpf_map *find_struct_ops_map_by_offset(struct bpf_object *obj,
tools/lib/bpf/libbpf.c
10174
struct bpf_map *map;
tools/lib/bpf/libbpf.c
10202
struct bpf_map *map;
tools/lib/bpf/libbpf.c
10538
int bpf_map__fd(const struct bpf_map *map)
tools/lib/bpf/libbpf.c
10547
static bool map_uses_real_name(const struct bpf_map *map)
tools/lib/bpf/libbpf.c
10562
const char *bpf_map__name(const struct bpf_map *map)
tools/lib/bpf/libbpf.c
10573
enum bpf_map_type bpf_map__type(const struct bpf_map *map)
tools/lib/bpf/libbpf.c
10578
int bpf_map__set_type(struct bpf_map *map, enum bpf_map_type type)
tools/lib/bpf/libbpf.c
10586
__u32 bpf_map__map_flags(const struct bpf_map *map)
tools/lib/bpf/libbpf.c
10591
int bpf_map__set_map_flags(struct bpf_map *map, __u32 flags)
tools/lib/bpf/libbpf.c
10599
__u64 bpf_map__map_extra(const struct bpf_map *map)
tools/lib/bpf/libbpf.c
10604
int bpf_map__set_map_extra(struct bpf_map *map, __u64 map_extra)
tools/lib/bpf/libbpf.c
10612
__u32 bpf_map__numa_node(const struct bpf_map *map)
tools/lib/bpf/libbpf.c
10617
int bpf_map__set_numa_node(struct bpf_map *map, __u32 numa_node)
tools/lib/bpf/libbpf.c
10625
__u32 bpf_map__key_size(const struct bpf_map *map)
tools/lib/bpf/libbpf.c
10630
int bpf_map__set_key_size(struct bpf_map *map, __u32 size)
tools/lib/bpf/libbpf.c
10638
__u32 bpf_map__value_size(const struct bpf_map *map)
tools/lib/bpf/libbpf.c
10643
static int map_btf_datasec_resize(struct bpf_map *map, __u32 size)
tools/lib/bpf/libbpf.c
10714
int bpf_map__set_value_size(struct bpf_map *map, __u32 size)
tools/lib/bpf/libbpf.c
10747
__u32 bpf_map__btf_key_type_id(const struct bpf_map *map)
tools/lib/bpf/libbpf.c
10752
__u32 bpf_map__btf_value_type_id(const struct bpf_map *map)
tools/lib/bpf/libbpf.c
10757
int bpf_map__set_initial_value(struct bpf_map *map,
tools/lib/bpf/libbpf.c
10779
void *bpf_map__initial_value(const struct bpf_map *map, size_t *psize)
tools/lib/bpf/libbpf.c
10798
bool bpf_map__is_internal(const struct bpf_map *map)
tools/lib/bpf/libbpf.c
10803
__u32 bpf_map__ifindex(const struct bpf_map *map)
tools/lib/bpf/libbpf.c
10808
int bpf_map__set_ifindex(struct bpf_map *map, __u32 ifindex)
tools/lib/bpf/libbpf.c
10816
int bpf_map__set_inner_map_fd(struct bpf_map *map, int fd)
tools/lib/bpf/libbpf.c
10834
int bpf_map__set_exclusive_program(struct bpf_map *map, struct bpf_program *prog)
tools/lib/bpf/libbpf.c
10850
struct bpf_program *bpf_map__exclusive_program(struct bpf_map *map)
tools/lib/bpf/libbpf.c
10855
static struct bpf_map *
tools/lib/bpf/libbpf.c
10856
__bpf_map__iter(const struct bpf_map *m, const struct bpf_object *obj, int i)
tools/lib/bpf/libbpf.c
10859
struct bpf_map *s, *e;
tools/lib/bpf/libbpf.c
10879
struct bpf_map *
tools/lib/bpf/libbpf.c
10880
bpf_object__next_map(const struct bpf_object *obj, const struct bpf_map *prev)
tools/lib/bpf/libbpf.c
10888
struct bpf_map *
tools/lib/bpf/libbpf.c
10889
bpf_object__prev_map(const struct bpf_object *obj, const struct bpf_map *next)
tools/lib/bpf/libbpf.c
10900
struct bpf_map *
tools/lib/bpf/libbpf.c
10903
struct bpf_map *pos;
tools/lib/bpf/libbpf.c
10933
static int validate_map_op(const struct bpf_map *map, size_t key_sz,
tools/lib/bpf/libbpf.c
10993
int bpf_map__lookup_elem(const struct bpf_map *map,
tools/lib/bpf/libbpf.c
11006
int bpf_map__update_elem(const struct bpf_map *map,
tools/lib/bpf/libbpf.c
1101
static bool bpf_map__is_struct_ops(const struct bpf_map *map)
tools/lib/bpf/libbpf.c
11019
int bpf_map__delete_elem(const struct bpf_map *map,
tools/lib/bpf/libbpf.c
11031
int bpf_map__lookup_and_delete_elem(const struct bpf_map *map,
tools/lib/bpf/libbpf.c
11044
int bpf_map__get_next_key(const struct bpf_map *map,
tools/lib/bpf/libbpf.c
1127
struct bpf_map *map;
tools/lib/bpf/libbpf.c
1165
static int bpf_map__init_kern_struct_ops(struct bpf_map *map)
tools/lib/bpf/libbpf.c
13474
struct bpf_link *bpf_map__attach_struct_ops(const struct bpf_map *map)
tools/lib/bpf/libbpf.c
13530
int bpf_link__update_map(struct bpf_link *link, const struct bpf_map *map)
tools/lib/bpf/libbpf.c
1366
struct bpf_map *map;
tools/lib/bpf/libbpf.c
1396
struct bpf_map *map;
tools/lib/bpf/libbpf.c
14169
int bpf_program__assoc_struct_ops(struct bpf_program *prog, struct bpf_map *map,
tools/lib/bpf/libbpf.c
14311
struct bpf_map **map = map_skel->map;
tools/lib/bpf/libbpf.c
14382
const struct bpf_map *map;
tools/lib/bpf/libbpf.c
14460
struct bpf_map *map = *map_skel->map;
tools/lib/bpf/libbpf.c
14516
struct bpf_map *map = *map_skel->map;
tools/lib/bpf/libbpf.c
1787
static struct bpf_map *bpf_object__add_map(struct bpf_object *obj)
tools/lib/bpf/libbpf.c
1789
struct bpf_map *map;
tools/lib/bpf/libbpf.c
1830
static size_t bpf_map_mmap_sz(const struct bpf_map *map)
tools/lib/bpf/libbpf.c
1844
static int bpf_map_mmap_resize(struct bpf_map *map, size_t old_sz, size_t new_sz)
tools/lib/bpf/libbpf.c
1923
map_fill_btf_type_info(struct bpf_object *obj, struct bpf_map *map);
tools/lib/bpf/libbpf.c
1930
static bool map_is_mmapable(struct bpf_object *obj, struct bpf_map *map)
tools/lib/bpf/libbpf.c
1961
struct bpf_map *map;
tools/lib/bpf/libbpf.c
2551
static int build_map_pin_path(struct bpf_map *map, const char *path)
tools/lib/bpf/libbpf.c
2825
static bool map_is_ringbuf(const struct bpf_map *map)
tools/lib/bpf/libbpf.c
2831
static void fill_map_from_def(struct bpf_map *map, const struct btf_map_def *def)
tools/lib/bpf/libbpf.c
2900
struct bpf_map *map;
tools/lib/bpf/libbpf.c
2991
static int init_arena_map_data(struct bpf_object *obj, struct bpf_map *map,
tools/lib/bpf/libbpf.c
3068
struct bpf_map *map = &obj->maps[i];
tools/lib/bpf/libbpf.c
3489
static bool map_needs_vmlinux_btf(struct bpf_map *map)
tools/lib/bpf/libbpf.c
3497
struct bpf_map *map;
tools/lib/bpf/libbpf.c
4575
struct bpf_map *map;
tools/lib/bpf/libbpf.c
4880
static int map_fill_btf_type_info(struct bpf_object *obj, struct bpf_map *map)
tools/lib/bpf/libbpf.c
4946
static bool map_is_created(const struct bpf_map *map)
tools/lib/bpf/libbpf.c
4951
bool bpf_map__autocreate(const struct bpf_map *map)
tools/lib/bpf/libbpf.c
4956
int bpf_map__set_autocreate(struct bpf_map *map, bool autocreate)
tools/lib/bpf/libbpf.c
4965
int bpf_map__set_autoattach(struct bpf_map *map, bool autoattach)
tools/lib/bpf/libbpf.c
4974
bool bpf_map__autoattach(const struct bpf_map *map)
tools/lib/bpf/libbpf.c
4979
int bpf_map__reuse_fd(struct bpf_map *map, int fd)
tools/lib/bpf/libbpf.c
5037
__u32 bpf_map__max_entries(const struct bpf_map *map)
tools/lib/bpf/libbpf.c
5042
struct bpf_map *bpf_map__inner_map(struct bpf_map *map)
tools/lib/bpf/libbpf.c
5050
int bpf_map__set_max_entries(struct bpf_map *map, __u32 max_entries)
tools/lib/bpf/libbpf.c
5166
static bool map_is_reuse_compat(const struct bpf_map *map, int map_fd)
tools/lib/bpf/libbpf.c
5201
bpf_object__reuse_map(struct bpf_map *map)
tools/lib/bpf/libbpf.c
5238
bpf_object__populate_internal_map(struct bpf_object *obj, struct bpf_map *map)
tools/lib/bpf/libbpf.c
5305
static void bpf_map__destroy(struct bpf_map *map);
tools/lib/bpf/libbpf.c
5307
static int bpf_object__create_map(struct bpf_object *obj, struct bpf_map *map, bool is_inner)
tools/lib/bpf/libbpf.c
5443
static int init_map_in_map_slots(struct bpf_object *obj, struct bpf_map *map)
tools/lib/bpf/libbpf.c
5445
const struct bpf_map *targ_map;
tools/lib/bpf/libbpf.c
5479
static int init_prog_array_slots(struct bpf_object *obj, struct bpf_map *map)
tools/lib/bpf/libbpf.c
5514
struct bpf_map *map;
tools/lib/bpf/libbpf.c
5530
static int map_set_def_max_entries(struct bpf_map *map)
tools/lib/bpf/libbpf.c
5551
struct bpf_map *map;
tools/lib/bpf/libbpf.c
587
struct bpf_map *inner_map;
tools/lib/bpf/libbpf.c
6151
int map_idx, const struct bpf_map *map)
tools/lib/bpf/libbpf.c
6363
const struct bpf_map *map;
tools/lib/bpf/libbpf.c
709
struct bpf_map *maps;
tools/lib/bpf/libbpf.c
7390
struct bpf_map *arena_map = &obj->maps[obj->arena_map_idx];
tools/lib/bpf/libbpf.c
7498
struct bpf_map *map = NULL, *targ_map = NULL;
tools/lib/bpf/libbpf.c
75
static struct bpf_map *bpf_object__add_map(struct bpf_object *obj);
tools/lib/bpf/libbpf.c
77
static int map_set_def_max_entries(struct bpf_map *map);
tools/lib/bpf/libbpf.c
7908
struct bpf_map *map;
tools/lib/bpf/libbpf.c
8065
const struct bpf_map *map;
tools/lib/bpf/libbpf.c
8448
struct bpf_map *m;
tools/lib/bpf/libbpf.c
8832
static void bpf_map_prepare_vdata(const struct bpf_map *map)
tools/lib/bpf/libbpf.c
8856
struct bpf_map *map;
tools/lib/bpf/libbpf.c
9095
int bpf_map__pin(struct bpf_map *map, const char *path)
tools/lib/bpf/libbpf.c
9159
int bpf_map__unpin(struct bpf_map *map, const char *path)
tools/lib/bpf/libbpf.c
9195
int bpf_map__set_pin_path(struct bpf_map *map, const char *path)
tools/lib/bpf/libbpf.c
9211
const char *bpf_map__get_pin_path(const struct bpf_map *map);
tools/lib/bpf/libbpf.c
9213
const char *bpf_map__pin_path(const struct bpf_map *map)
tools/lib/bpf/libbpf.c
9218
bool bpf_map__is_pinned(const struct bpf_map *map)
tools/lib/bpf/libbpf.c
9235
struct bpf_map *map;
tools/lib/bpf/libbpf.c
9283
struct bpf_map *map;
tools/lib/bpf/libbpf.c
9403
static void bpf_map__destroy(struct bpf_map *map)
tools/lib/bpf/libbpf.h
1022
bpf_program__assoc_struct_ops(struct bpf_program *prog, struct bpf_map *map,
tools/lib/bpf/libbpf.h
1033
LIBBPF_API struct bpf_map *
tools/lib/bpf/libbpf.h
1039
LIBBPF_API struct bpf_map *
tools/lib/bpf/libbpf.h
1040
bpf_object__next_map(const struct bpf_object *obj, const struct bpf_map *map);
tools/lib/bpf/libbpf.h
1048
LIBBPF_API struct bpf_map *
tools/lib/bpf/libbpf.h
1049
bpf_object__prev_map(const struct bpf_object *obj, const struct bpf_map *map);
tools/lib/bpf/libbpf.h
1070
LIBBPF_API int bpf_map__set_autocreate(struct bpf_map *map, bool autocreate);
tools/lib/bpf/libbpf.h
1071
LIBBPF_API bool bpf_map__autocreate(const struct bpf_map *map);
tools/lib/bpf/libbpf.h
1080
LIBBPF_API int bpf_map__set_autoattach(struct bpf_map *map, bool autoattach);
tools/lib/bpf/libbpf.h
1088
LIBBPF_API bool bpf_map__autoattach(const struct bpf_map *map);
tools/lib/bpf/libbpf.h
1096
LIBBPF_API int bpf_map__fd(const struct bpf_map *map);
tools/lib/bpf/libbpf.h
1097
LIBBPF_API int bpf_map__reuse_fd(struct bpf_map *map, int fd);
tools/lib/bpf/libbpf.h
1099
LIBBPF_API const char *bpf_map__name(const struct bpf_map *map);
tools/lib/bpf/libbpf.h
1101
LIBBPF_API enum bpf_map_type bpf_map__type(const struct bpf_map *map);
tools/lib/bpf/libbpf.h
1102
LIBBPF_API int bpf_map__set_type(struct bpf_map *map, enum bpf_map_type type);
tools/lib/bpf/libbpf.h
1104
LIBBPF_API __u32 bpf_map__max_entries(const struct bpf_map *map);
tools/lib/bpf/libbpf.h
1105
LIBBPF_API int bpf_map__set_max_entries(struct bpf_map *map, __u32 max_entries);
tools/lib/bpf/libbpf.h
1107
LIBBPF_API __u32 bpf_map__map_flags(const struct bpf_map *map);
tools/lib/bpf/libbpf.h
1108
LIBBPF_API int bpf_map__set_map_flags(struct bpf_map *map, __u32 flags);
tools/lib/bpf/libbpf.h
1110
LIBBPF_API __u32 bpf_map__numa_node(const struct bpf_map *map);
tools/lib/bpf/libbpf.h
1111
LIBBPF_API int bpf_map__set_numa_node(struct bpf_map *map, __u32 numa_node);
tools/lib/bpf/libbpf.h
1113
LIBBPF_API __u32 bpf_map__key_size(const struct bpf_map *map);
tools/lib/bpf/libbpf.h
1114
LIBBPF_API int bpf_map__set_key_size(struct bpf_map *map, __u32 size);
tools/lib/bpf/libbpf.h
1116
LIBBPF_API __u32 bpf_map__value_size(const struct bpf_map *map);
tools/lib/bpf/libbpf.h
1132
LIBBPF_API int bpf_map__set_value_size(struct bpf_map *map, __u32 size);
tools/lib/bpf/libbpf.h
1134
LIBBPF_API __u32 bpf_map__btf_key_type_id(const struct bpf_map *map);
tools/lib/bpf/libbpf.h
1135
LIBBPF_API __u32 bpf_map__btf_value_type_id(const struct bpf_map *map);
tools/lib/bpf/libbpf.h
1137
LIBBPF_API __u32 bpf_map__ifindex(const struct bpf_map *map);
tools/lib/bpf/libbpf.h
1138
LIBBPF_API int bpf_map__set_ifindex(struct bpf_map *map, __u32 ifindex);
tools/lib/bpf/libbpf.h
1140
LIBBPF_API __u64 bpf_map__map_extra(const struct bpf_map *map);
tools/lib/bpf/libbpf.h
1141
LIBBPF_API int bpf_map__set_map_extra(struct bpf_map *map, __u64 map_extra);
tools/lib/bpf/libbpf.h
1143
LIBBPF_API int bpf_map__set_initial_value(struct bpf_map *map,
tools/lib/bpf/libbpf.h
1145
LIBBPF_API void *bpf_map__initial_value(const struct bpf_map *map, size_t *psize);
tools/lib/bpf/libbpf.h
1154
LIBBPF_API bool bpf_map__is_internal(const struct bpf_map *map);
tools/lib/bpf/libbpf.h
1163
LIBBPF_API int bpf_map__set_pin_path(struct bpf_map *map, const char *path);
tools/lib/bpf/libbpf.h
1171
LIBBPF_API const char *bpf_map__pin_path(const struct bpf_map *map);
tools/lib/bpf/libbpf.h
1179
LIBBPF_API bool bpf_map__is_pinned(const struct bpf_map *map);
tools/lib/bpf/libbpf.h
1193
LIBBPF_API int bpf_map__pin(struct bpf_map *map, const char *path);
tools/lib/bpf/libbpf.h
1206
LIBBPF_API int bpf_map__unpin(struct bpf_map *map, const char *path);
tools/lib/bpf/libbpf.h
1208
LIBBPF_API int bpf_map__set_inner_map_fd(struct bpf_map *map, int fd);
tools/lib/bpf/libbpf.h
1209
LIBBPF_API struct bpf_map *bpf_map__inner_map(struct bpf_map *map);
tools/lib/bpf/libbpf.h
1232
LIBBPF_API int bpf_map__lookup_elem(const struct bpf_map *map,
tools/lib/bpf/libbpf.h
1250
LIBBPF_API int bpf_map__update_elem(const struct bpf_map *map,
tools/lib/bpf/libbpf.h
1266
LIBBPF_API int bpf_map__delete_elem(const struct bpf_map *map,
tools/lib/bpf/libbpf.h
1289
LIBBPF_API int bpf_map__lookup_and_delete_elem(const struct bpf_map *map,
tools/lib/bpf/libbpf.h
1307
LIBBPF_API int bpf_map__get_next_key(const struct bpf_map *map,
tools/lib/bpf/libbpf.h
1322
LIBBPF_API int bpf_map__set_exclusive_program(struct bpf_map *map, struct bpf_program *prog);
tools/lib/bpf/libbpf.h
1330
LIBBPF_API struct bpf_program *bpf_map__exclusive_program(struct bpf_map *map);
tools/lib/bpf/libbpf.h
1804
struct bpf_map **map;
tools/lib/bpf/libbpf.h
1843
struct bpf_map **map;
tools/lib/bpf/libbpf.h
920
struct bpf_map;
tools/lib/bpf/libbpf.h
922
LIBBPF_API struct bpf_link *bpf_map__attach_struct_ops(const struct bpf_map *map);
tools/lib/bpf/libbpf.h
923
LIBBPF_API int bpf_link__update_map(struct bpf_link *link, const struct bpf_map *map);
tools/lib/bpf/libbpf_legacy.h
124
struct bpf_map;
tools/lib/bpf/libbpf_legacy.h
132
LIBBPF_API const char *bpf_map__get_pin_path(const struct bpf_map *map);
tools/lib/bpf/skel_internal.h
156
struct bpf_map *map;
tools/lib/bpf/usdt.c
255
struct bpf_map *specs_map;
tools/lib/bpf/usdt.c
256
struct bpf_map *ip_to_spec_id_map;
tools/lib/bpf/usdt.c
271
struct bpf_map *specs_map, *ip_to_spec_id_map;
tools/perf/builtin-trace.c
178
struct bpf_map *map;
tools/perf/util/bpf-trace-summary.c
379
struct bpf_map *map = skel->maps.syscall_stats_map;
tools/perf/util/bpf_map.c
21
static void *bpf_map__alloc_value(const struct bpf_map *map)
tools/perf/util/bpf_map.c
30
int bpf_map__fprintf(struct bpf_map *map, FILE *fp)
tools/perf/util/bpf_map.h
10
int bpf_map__fprintf(struct bpf_map *map, FILE *fp);
tools/perf/util/bpf_map.h
16
static inline int bpf_map__fprintf(struct bpf_map *map __maybe_unused, FILE *fp __maybe_unused)
tools/perf/util/bpf_map.h
6
struct bpf_map;
tools/sched_ext/scx_pair.bpf.c
315
struct bpf_map *cgq_map;
tools/testing/selftests/bpf/benchs/bench_htab_mem.c
157
struct bpf_map *map;
tools/testing/selftests/bpf/benchs/bench_local_storage.c
117
struct bpf_map *inner_map;
tools/testing/selftests/bpf/benchs/bench_local_storage.c
96
struct bpf_map *array_of_maps;
tools/testing/selftests/bpf/benchs/bench_ringbufs.c
180
struct bpf_map *ringbuf;
tools/testing/selftests/bpf/flow_dissector_load.h
18
struct bpf_map *prog_array, *keys;
tools/testing/selftests/bpf/prog_tests/bpf_iter.c
79
struct bpf_map *map)
tools/testing/selftests/bpf/prog_tests/bpftool_maps_access.c
34
struct bpf_map *map;
tools/testing/selftests/bpf/prog_tests/bpftool_maps_access.c
51
struct bpf_map *maps[] = {skel->maps.prot_map, skel->maps.not_prot_map};
tools/testing/selftests/bpf/prog_tests/bpftool_maps_access.c
57
for (i = 0; i < sizeof(maps)/sizeof(struct bpf_map *); i++) {
tools/testing/selftests/bpf/prog_tests/btf.c
4841
struct bpf_map *map;
tools/testing/selftests/bpf/prog_tests/btf_map_in_map.c
10
static __u32 bpf_map_id(struct bpf_map *map)
tools/testing/selftests/bpf/prog_tests/cg_storage_multi.c
22
static bool assert_storage(struct bpf_map *map, const void *key,
tools/testing/selftests/bpf/prog_tests/cg_storage_multi.c
40
static bool assert_storage_noexist(struct bpf_map *map, const void *key)
tools/testing/selftests/bpf/prog_tests/core_autosize.c
59
struct bpf_map *bss_map;
tools/testing/selftests/bpf/prog_tests/core_reloc.c
1008
struct bpf_map *data_map;
tools/testing/selftests/bpf/prog_tests/fexit_bpf2bpf.c
14
struct bpf_map *data_map = NULL, *map;
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
625
static int init_prog_array(struct bpf_object *obj, struct bpf_map *prog_array)
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
653
static void run_tests_skb_less(int tap_fd, struct bpf_map *keys,
tools/testing/selftests/bpf/prog_tests/flow_dissector_classification.c
502
struct bpf_map *prog_array = skel->maps.jmp_table;
tools/testing/selftests/bpf/prog_tests/get_stack_raw_tp.c
96
struct bpf_map *map;
tools/testing/selftests/bpf/prog_tests/global_data.c
106
struct bpf_map *map, *map2;
tools/testing/selftests/bpf/prog_tests/global_data_init.c
10
struct bpf_map *map;
tools/testing/selftests/bpf/prog_tests/global_map_resize.c
163
struct bpf_map *map;
tools/testing/selftests/bpf/prog_tests/global_map_resize.c
23
struct bpf_map *map;
tools/testing/selftests/bpf/prog_tests/global_map_resize.c
92
struct bpf_map *map;
tools/testing/selftests/bpf/prog_tests/linked_list.c
134
static void clear_fields(struct bpf_map *map)
tools/testing/selftests/bpf/prog_tests/load_bytes_relative.c
16
struct bpf_map *test_result;
tools/testing/selftests/bpf/prog_tests/map_in_map.c
78
struct bpf_map *outer_map;
tools/testing/selftests/bpf/prog_tests/mmap.c
23
struct bpf_map *data_map, *bss_map;
tools/testing/selftests/bpf/prog_tests/pe_preserve_elems.c
9
static void test_one_map(struct bpf_map *map, struct bpf_program *prog,
tools/testing/selftests/bpf/prog_tests/percpu_alloc.c
119
static void test_percpu_map_op_cpu_flag(struct bpf_map *map, void *keys, size_t key_sz, u32 entries,
tools/testing/selftests/bpf/prog_tests/percpu_alloc.c
303
struct bpf_map *map;
tools/testing/selftests/bpf/prog_tests/percpu_alloc.c
358
struct bpf_map *map;
tools/testing/selftests/bpf/prog_tests/pinning.c
12
struct bpf_map *map;
tools/testing/selftests/bpf/prog_tests/pinning.c
39
struct bpf_map *map;
tools/testing/selftests/bpf/prog_tests/pinning_htab.c
9
struct bpf_map *map;
tools/testing/selftests/bpf/prog_tests/prepare.c
11
const struct bpf_map *map;
tools/testing/selftests/bpf/prog_tests/rdonly_maps.c
28
struct bpf_map *bss_map;
tools/testing/selftests/bpf/prog_tests/refcounted_kptr.c
52
struct bpf_map *map;
tools/testing/selftests/bpf/prog_tests/select_reuseport.c
85
struct bpf_map *map;
tools/testing/selftests/bpf/prog_tests/sk_lookup.c
1155
struct bpf_map *redir_map;
tools/testing/selftests/bpf/prog_tests/sk_lookup.c
1156
struct bpf_map *run_map;
tools/testing/selftests/bpf/prog_tests/sk_lookup.c
433
static int update_lookup_map(struct bpf_map *map, int index, int sock_fd)
tools/testing/selftests/bpf/prog_tests/sk_lookup.c
69
struct bpf_map *sock_map;
tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
241
struct bpf_map *dst_map;
tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
302
struct bpf_map *src;
tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
70
static void compare_cookies(struct bpf_map *src, struct bpf_map *dst)
tools/testing/selftests/bpf/prog_tests/sockmap_listen.c
1220
static void test_ops_cleanup(const struct bpf_map *map)
tools/testing/selftests/bpf/prog_tests/sockmap_listen.c
1250
static const char *map_type_str(const struct bpf_map *map)
tools/testing/selftests/bpf/prog_tests/sockmap_listen.c
1280
static void test_ops(struct test_sockmap_listen *skel, struct bpf_map *map,
tools/testing/selftests/bpf/prog_tests/sockmap_listen.c
1337
static void test_redir(struct test_sockmap_listen *skel, struct bpf_map *map,
tools/testing/selftests/bpf/prog_tests/sockmap_listen.c
1342
struct bpf_map *map, int family, int sotype);
tools/testing/selftests/bpf/prog_tests/sockmap_listen.c
1372
struct bpf_map *map, int family, int sotype)
tools/testing/selftests/bpf/prog_tests/sockmap_listen.c
1411
static void run_tests(struct test_sockmap_listen *skel, struct bpf_map *map,
tools/testing/selftests/bpf/prog_tests/sockmap_listen.c
725
struct bpf_map *inner_map, int family,
tools/testing/selftests/bpf/prog_tests/sockmap_listen.c
750
struct bpf_map *inner_map, int family,
tools/testing/selftests/bpf/prog_tests/sockmap_listen.c
768
struct bpf_map *inner_map, int family,
tools/testing/selftests/bpf/prog_tests/sockmap_listen.c
845
struct bpf_map *inner_map, int family,
tools/testing/selftests/bpf/prog_tests/sockmap_listen.c
870
struct bpf_map *inner_map, int family,
tools/testing/selftests/bpf/prog_tests/sockmap_listen.c
888
struct bpf_map *inner_map, int family,
tools/testing/selftests/bpf/prog_tests/sockmap_listen.c
949
struct bpf_map *inner_map, int family,
tools/testing/selftests/bpf/prog_tests/struct_ops_autocreate.c
37
static int check_test_1_link(struct struct_ops_autocreate *skel, struct bpf_map *map)
tools/testing/selftests/bpf/prog_tests/subskeleton.c
88
const struct bpf_map *map;
tools/testing/selftests/bpf/prog_tests/tailcalls.c
1018
struct bpf_map *prog_array, *data_map;
tools/testing/selftests/bpf/prog_tests/tailcalls.c
1203
struct bpf_map *prog_array, *data_map;
tools/testing/selftests/bpf/prog_tests/tailcalls.c
156
struct bpf_map *prog_array;
tools/testing/selftests/bpf/prog_tests/tailcalls.c
20
struct bpf_map *prog_array;
tools/testing/selftests/bpf/prog_tests/tailcalls.c
235
struct bpf_map *prog_array, *data_map;
tools/testing/selftests/bpf/prog_tests/tailcalls.c
416
struct bpf_map *prog_array, *data_map;
tools/testing/selftests/bpf/prog_tests/tailcalls.c
506
struct bpf_map *prog_array, *data_map;
tools/testing/selftests/bpf/prog_tests/tailcalls.c
596
struct bpf_map *prog_array;
tools/testing/selftests/bpf/prog_tests/tailcalls.c
680
struct bpf_map *prog_array, *data_map;
tools/testing/selftests/bpf/prog_tests/tailcalls.c
760
struct bpf_map *prog_array;
tools/testing/selftests/bpf/prog_tests/tailcalls.c
855
struct bpf_map *prog_array, *data_map;
tools/testing/selftests/bpf/prog_tests/task_local_storage.c
461
struct bpf_map *map;
tools/testing/selftests/bpf/prog_tests/test_struct_ops_module.c
40
struct bpf_map *map,
tools/testing/selftests/bpf/prog_tests/test_task_work.c
30
static int verify_map(struct bpf_map *map, const char *expected_data)
tools/testing/selftests/bpf/prog_tests/test_task_work.c
57
struct bpf_map *map;
tools/testing/selftests/bpf/prog_tests/test_xsk.c
1708
struct bpf_map *xskmap, enum test_mode mode)
tools/testing/selftests/bpf/prog_tests/test_xsk.c
307
struct bpf_program *xdp_prog_tx, struct bpf_map *xskmap_rx,
tools/testing/selftests/bpf/prog_tests/test_xsk.c
308
struct bpf_map *xskmap_tx)
tools/testing/selftests/bpf/prog_tests/test_xsk.c
783
struct bpf_map *data_map;
tools/testing/selftests/bpf/prog_tests/test_xsk.h
130
struct bpf_map *xskmap;
tools/testing/selftests/bpf/prog_tests/test_xsk.h
198
struct bpf_map *xskmap_rx;
tools/testing/selftests/bpf/prog_tests/test_xsk.h
199
struct bpf_map *xskmap_tx;
tools/testing/selftests/bpf/prog_tests/verifier.c
267
struct bpf_map *map;
tools/testing/selftests/bpf/prog_tests/verify_pkcs7_sig.c
270
struct bpf_map *map;
tools/testing/selftests/bpf/prog_tests/xdp_metadata.c
355
struct bpf_map *prog_arr, *devmap;
tools/testing/selftests/bpf/progs/bloom_filter_bench.c
109
data.map = (struct bpf_map *)&bloom_map;
tools/testing/selftests/bpf/progs/bloom_filter_bench.c
12
struct bpf_map;
tools/testing/selftests/bpf/progs/bloom_filter_bench.c
43
struct bpf_map *map;
tools/testing/selftests/bpf/progs/bloom_filter_bench.c
71
bloom_callback(struct bpf_map *map, __u32 *key, void *val,
tools/testing/selftests/bpf/progs/bloom_filter_bench.c
96
data.map = (struct bpf_map *)&bloom_map;
tools/testing/selftests/bpf/progs/bloom_filter_map.c
10
struct bpf_map;
tools/testing/selftests/bpf/progs/bloom_filter_map.c
35
struct bpf_map *map;
tools/testing/selftests/bpf/progs/bloom_filter_map.c
41
check_elem(struct bpf_map *map, __u32 *key, __u32 *val,
tools/testing/selftests/bpf/progs/bloom_filter_map.c
58
struct bpf_map *inner_map;
tools/testing/selftests/bpf/progs/bloom_filter_map.c
79
data.map = (struct bpf_map *)&map_bloom;
tools/testing/selftests/bpf/progs/bpf_iter_bpf_hash_map.c
47
struct bpf_map *map = ctx->map;
tools/testing/selftests/bpf/progs/bpf_iter_bpf_map.c
13
struct bpf_map *map = ctx->map;
tools/testing/selftests/bpf/progs/bpf_iter_test_kern4.c
19
struct bpf_map *map = ctx->map;
tools/testing/selftests/bpf/progs/bpf_qdisc_fq.c
661
fq_remove_flows(struct bpf_map *flow_map, u64 *hash,
tools/testing/selftests/bpf/progs/core_kern.c
28
struct bpf_map *map = (struct bpf_map *)&array1;
tools/testing/selftests/bpf/progs/core_kern.c
33
map = (struct bpf_map *)&array2;
tools/testing/selftests/bpf/progs/file_reader.c
32
static int task_work_callback(struct bpf_map *map, void *key, void *value);
tools/testing/selftests/bpf/progs/file_reader.c
85
static int task_work_callback(struct bpf_map *map, void *key, void *value)
tools/testing/selftests/bpf/progs/for_each_array_map_elem.c
29
unused_subprog(struct bpf_map *map, __u32 *key, __u64 *val,
tools/testing/selftests/bpf/progs/for_each_array_map_elem.c
37
check_array_elem(struct bpf_map *map, __u32 *key, __u64 *val,
tools/testing/selftests/bpf/progs/for_each_array_map_elem.c
50
check_percpu_elem(struct bpf_map *map, __u32 *key, __u64 *val,
tools/testing/selftests/bpf/progs/for_each_hash_map_elem.c
29
check_hash_elem(struct bpf_map *map, __u32 *key, __u64 *val,
tools/testing/selftests/bpf/progs/for_each_hash_map_elem.c
58
check_percpu_elem(struct bpf_map *map, __u32 *key, __u64 *val,
tools/testing/selftests/bpf/progs/for_each_hash_modify.c
15
static int cb(struct bpf_map *map, __u64 *key, __u64 *val, void *arg)
tools/testing/selftests/bpf/progs/for_each_map_elem_write_key.c
13
check_array_elem(struct bpf_map *map, __u32 *key, __u64 *val,
tools/testing/selftests/bpf/progs/for_each_multi_maps.c
29
check_map_elem(struct bpf_map *map, __u32 *key, __u64 *val,
tools/testing/selftests/bpf/progs/jeq_infer_not_null_fail.c
24
struct bpf_map *map = (struct bpf_map *)&m_hash;
tools/testing/selftests/bpf/progs/jeq_infer_not_null_fail.c
25
struct bpf_map *inner_map = map->inner_map_meta;
tools/testing/selftests/bpf/progs/lpm_trie_bench.c
42
struct bpf_map *map = container_of(work, struct bpf_map, work);
tools/testing/selftests/bpf/progs/map_in_map_btf.c
49
struct bpf_map *map;
tools/testing/selftests/bpf/progs/map_kptr_race.c
158
int BPF_PROG(map_put, struct bpf_map *map)
tools/testing/selftests/bpf/progs/map_kptr_race.c
166
int BPF_PROG(htab_map_free, struct bpf_map *map)
tools/testing/selftests/bpf/progs/map_kptr_race.c
174
int BPF_PROG(sk_map_free, struct bpf_map *map)
tools/testing/selftests/bpf/progs/map_percpu_stats.c
10
__s64 bpf_map_sum_elem_count(const struct bpf_map *map) __ksym;
tools/testing/selftests/bpf/progs/map_percpu_stats.c
16
struct bpf_map *map = ctx->map;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
106
__s64 bpf_map_sum_elem_count(struct bpf_map *map) __ksym;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
111
struct bpf_map *map = (struct bpf_map *)&m_hash;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
136
struct bpf_map map;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
150
struct bpf_map *map = (struct bpf_map *)&m_array;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
182
struct bpf_map *map = (struct bpf_map *)&m_prog_array;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
199
struct bpf_map *map = (struct bpf_map *)&m_perf_event_array;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
216
struct bpf_map *map = (struct bpf_map *)&m_percpu_hash;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
233
struct bpf_map *map = (struct bpf_map *)&m_percpu_array;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
241
struct bpf_map map;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
255
struct bpf_map *map = (struct bpf_map *)&m_stack_trace;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
273
struct bpf_map *map = (struct bpf_map *)&m_cgroup_array;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
290
struct bpf_map *map = (struct bpf_map *)&m_lru_hash;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
307
struct bpf_map *map = (struct bpf_map *)&m_lru_percpu_hash;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
315
struct bpf_map map;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
334
struct bpf_map *map = (struct bpf_map *)&m_lpm_trie;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
369
struct bpf_map *map = (struct bpf_map *)&m_array_of_maps;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
38
static inline int check_bpf_map_fields(struct bpf_map *map, __u32 key_size,
tools/testing/selftests/bpf/progs/map_ptr_kern.c
396
struct bpf_map *map = (struct bpf_map *)&m_hash_of_maps;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
409
struct bpf_map map;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
422
struct bpf_map *map = (struct bpf_map *)&m_devmap;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
430
struct bpf_map map;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
443
struct bpf_map *map = (struct bpf_map *)&m_sockmap;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
451
struct bpf_map map;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
464
struct bpf_map *map = (struct bpf_map *)&m_cpumap;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
472
struct bpf_map map;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
485
struct bpf_map *map = (struct bpf_map *)&m_xskmap;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
493
struct bpf_map map;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
50
static inline int check_bpf_map_ptr(struct bpf_map *indirect,
tools/testing/selftests/bpf/progs/map_ptr_kern.c
506
struct bpf_map *map = (struct bpf_map *)&m_sockhash;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
51
struct bpf_map *direct)
tools/testing/selftests/bpf/progs/map_ptr_kern.c
514
struct bpf_map map;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
527
struct bpf_map *map = (struct bpf_map *)&m_cgroup_storage;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
536
struct bpf_map map;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
550
struct bpf_map *map = (struct bpf_map *)&m_reuseport_sockarray;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
567
struct bpf_map *map = (struct bpf_map *)&m_percpu_cgroup_storage;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
576
struct bpf_map map;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
588
struct bpf_map *map = (struct bpf_map *)&m_queue;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
604
struct bpf_map *map = (struct bpf_map *)&m_stack;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
612
struct bpf_map map;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
62
static inline int check(struct bpf_map *indirect, struct bpf_map *direct,
tools/testing/selftests/bpf/progs/map_ptr_kern.c
626
struct bpf_map *map = (struct bpf_map *)&m_sk_storage;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
643
struct bpf_map *map = (struct bpf_map *)&m_devmap_hash;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
651
struct bpf_map map;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
661
struct bpf_map *map = (struct bpf_map *)&m_ringbuf;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
71
static inline int check_default(struct bpf_map *indirect,
tools/testing/selftests/bpf/progs/map_ptr_kern.c
72
struct bpf_map *direct)
tools/testing/selftests/bpf/progs/map_ptr_kern.c
80
check_default_noinline(struct bpf_map *indirect, struct bpf_map *direct)
tools/testing/selftests/bpf/progs/map_ptr_kern.c
92
struct bpf_map map;
tools/testing/selftests/bpf/progs/mmap_inner_array.c
37
struct bpf_map *map;
tools/testing/selftests/bpf/progs/recursion.c
28
int BPF_PROG(on_delete, struct bpf_map *map)
tools/testing/selftests/bpf/progs/security_bpf_map.c
38
int BPF_PROG(fmod_bpf_map, struct bpf_map *map, int fmode)
tools/testing/selftests/bpf/progs/syscall.c
168
attr = bpf_map_lookup_elem((struct bpf_map *)&bpf_attr_array, &zero);
tools/testing/selftests/bpf/progs/syscall.c
173
attr->map_id = ((struct bpf_map *)&outer_array_map)->id;
tools/testing/selftests/bpf/progs/task_work.c
43
static int process_work(struct bpf_map *map, void *key, void *value)
tools/testing/selftests/bpf/progs/task_work_fail.c
35
static int process_work(struct bpf_map *map, void *key, void *value)
tools/testing/selftests/bpf/progs/task_work_stress.c
33
static int process_work(struct bpf_map *map, void *key, void *value)
tools/testing/selftests/bpf/progs/test_bpf_ma.c
105
static __always_inline void batch_percpu_alloc(struct bpf_map *map, unsigned int batch,
tools/testing/selftests/bpf/progs/test_bpf_ma.c
133
static __always_inline void batch_percpu_free(struct bpf_map *map, unsigned int batch,
tools/testing/selftests/bpf/progs/test_bpf_ma.c
155
batch_alloc((struct bpf_map *)(&array_##size), batch, idx)
tools/testing/selftests/bpf/progs/test_bpf_ma.c
159
batch_alloc((struct bpf_map *)(&array_##size), batch, idx); \
tools/testing/selftests/bpf/progs/test_bpf_ma.c
160
batch_free((struct bpf_map *)(&array_##size), batch, idx); \
tools/testing/selftests/bpf/progs/test_bpf_ma.c
164
batch_percpu_alloc((struct bpf_map *)(&array_percpu_##size), batch, idx)
tools/testing/selftests/bpf/progs/test_bpf_ma.c
168
batch_percpu_alloc((struct bpf_map *)(&array_percpu_##size), batch, idx); \
tools/testing/selftests/bpf/progs/test_bpf_ma.c
169
batch_percpu_free((struct bpf_map *)(&array_percpu_##size), batch, idx); \
tools/testing/selftests/bpf/progs/test_bpf_ma.c
56
static __always_inline void batch_alloc(struct bpf_map *map, unsigned int batch, unsigned int idx)
tools/testing/selftests/bpf/progs/test_bpf_ma.c
83
static __always_inline void batch_free(struct bpf_map *map, unsigned int batch, unsigned int idx)
tools/testing/selftests/bpf/progs/test_libbpf_get_fd_by_id_opts.c
27
int BPF_PROG(check_access, struct bpf_map *map, fmode_t fmode)
tools/testing/selftests/bpf/progs/test_libbpf_get_fd_by_id_opts.c
29
if (map != (struct bpf_map *)&data_input)
tools/testing/selftests/bpf/progs/test_subprogs_extable.c
16
static __u64 test_cb(struct bpf_map *map, __u32 *key, __u64 *val, void *data)
tools/testing/selftests/bpf/progs/timer_mim.c
68
struct bpf_map *inner_map;
tools/testing/selftests/bpf/progs/timer_mim_reject.c
50
struct bpf_map *inner_map, *inner_map2;
tools/testing/selftests/bpf/progs/verifier_arena.c
173
struct bpf_map map;
tools/testing/selftests/bpf/progs/verifier_arena.c
414
struct bpf_map *map = ctx->map;
tools/testing/selftests/bpf/progs/verifier_arena.c
436
struct bpf_map *map = ctx->map;
tools/testing/selftests/bpf/progs/verifier_async_cb_context.c
135
static int task_work_cb(struct bpf_map *map, void *key, void *value)
tools/testing/selftests/bpf/progs/verifier_iterating_callbacks.c
119
static __u64 for_each_map_elem_cb(struct bpf_map *map, __u32 *key, __u64 *val, void *data)
tools/testing/selftests/bpf/progs/verifier_iterating_callbacks.c
18
struct bpf_map;
tools/testing/selftests/bpf/test_loader.c
1146
struct bpf_map *map;
tools/testing/selftests/bpf/test_loader.c
998
static bool is_unpriv_capable_map(struct bpf_map *map)
tools/testing/selftests/bpf/test_maps.c
1151
struct bpf_map *map;
tools/testing/selftests/bpf/test_maps.c
656
struct bpf_map *bpf_map_rx, *bpf_map_tx, *bpf_map_msg, *bpf_map_break;
tools/testing/selftests/bpf/test_progs.c
661
struct bpf_map *map;
tools/testing/selftests/bpf/test_sockmap.c
67
struct bpf_map *maps[9];
tools/testing/selftests/bpf/test_tcpnotify_user.c
71
struct bpf_map *perf_map, *global_map;
tools/testing/selftests/bpf/veristat.c
1210
struct bpf_map *map,
tools/testing/selftests/bpf/veristat.c
1241
struct bpf_map *map;
tools/testing/selftests/bpf/veristat.c
2043
struct bpf_map *map, struct btf_var_secinfo *sinfo,
tools/testing/selftests/bpf/veristat.c
2112
struct bpf_map *map;
tools/testing/selftests/bpf/xdping.c
98
struct bpf_map *map;
tools/testing/selftests/bpf/xsk.c
439
void xsk_clear_xskmap(struct bpf_map *map)
tools/testing/selftests/bpf/xsk.c
448
int xsk_update_xskmap(struct bpf_map *map, struct xsk_socket *xsk, u32 index)
tools/testing/selftests/bpf/xsk.h
208
int xsk_update_xskmap(struct bpf_map *map, struct xsk_socket *xsk, u32 index);
tools/testing/selftests/bpf/xsk.h
209
void xsk_clear_xskmap(struct bpf_map *map);
tools/testing/selftests/hid/hid_bpf.c
123
struct bpf_map *map;
tools/testing/selftests/hid/hid_bpf.c
79
struct bpf_map *iter_map;
tools/testing/selftests/hid/hid_bpf.c
91
struct bpf_map *map;
tools/testing/selftests/sched_ext/peek_dsq.c
52
static int print_observed_pids(struct bpf_map *map, int max_samples, const char *dsq_name)
tools/tracing/rtla/src/timerlat_bpf.c
144
static int get_value(struct bpf_map *map_irq,
tools/tracing/rtla/src/timerlat_bpf.c
145
struct bpf_map *map_thread,
tools/tracing/rtla/src/timerlat_bpf.c
146
struct bpf_map *map_user,