bpf_map 82 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c nfp_bpf_ctrl_alloc_map(struct nfp_app_bpf *bpf, struct bpf_map *map) bpf_map 202 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c struct bpf_map *map = &nfp_map->offmap->map; bpf_map 298 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c struct bpf_map *map = &offmap->map; bpf_map 4401 drivers/net/ethernet/netronome/nfp/bpf/jit.c struct bpf_map *map; bpf_map 18 drivers/net/ethernet/netronome/nfp/bpf/main.c .key_len = FIELD_SIZEOF(struct bpf_map, id), bpf_map 226 drivers/net/ethernet/netronome/nfp/bpf/main.h struct bpf_map *ptr; bpf_map 593 drivers/net/ethernet/netronome/nfp/bpf/main.h nfp_bpf_ctrl_alloc_map(struct nfp_app_bpf *bpf, struct bpf_map *map); bpf_map 32 drivers/net/ethernet/netronome/nfp/bpf/offload.c struct bpf_map *map) bpf_map 328 drivers/net/netdevsim/bpf.c nsim_map_key_match(struct bpf_map *map, struct nsim_map_entry *e, void *key) bpf_map 17 include/linux/bpf-cgroup.h struct bpf_map; bpf_map 136 include/linux/bpf-cgroup.h struct bpf_map *map) bpf_map 160 include/linux/bpf-cgroup.h int bpf_cgroup_storage_assign(struct bpf_prog *prog, struct bpf_map *map); bpf_map 161 include/linux/bpf-cgroup.h void bpf_cgroup_storage_release(struct bpf_prog *prog, struct bpf_map *map); bpf_map 163 include/linux/bpf-cgroup.h int bpf_percpu_cgroup_storage_copy(struct bpf_map *map, void *key, void *value); bpf_map 164 include/linux/bpf-cgroup.h int bpf_percpu_cgroup_storage_update(struct bpf_map *map, void *key, bpf_map 364 include/linux/bpf-cgroup.h struct bpf_map *map) { return 0; } bpf_map 366 include/linux/bpf-cgroup.h struct bpf_map *map) {} bpf_map 371 include/linux/bpf-cgroup.h static inline int bpf_percpu_cgroup_storage_copy(struct bpf_map *map, void *key, bpf_map 375 include/linux/bpf-cgroup.h static inline int bpf_percpu_cgroup_storage_update(struct bpf_map *map, bpf_map 21 include/linux/bpf.h struct bpf_map; bpf_map 34 include/linux/bpf.h struct bpf_map *(*map_alloc)(union bpf_attr *attr); bpf_map 35 include/linux/bpf.h void (*map_release)(struct bpf_map *map, struct file *map_file); bpf_map 36 include/linux/bpf.h void (*map_free)(struct bpf_map *map); bpf_map 37 include/linux/bpf.h int (*map_get_next_key)(struct bpf_map *map, void *key, void *next_key); bpf_map 38 include/linux/bpf.h void (*map_release_uref)(struct bpf_map *map); bpf_map 39 include/linux/bpf.h void *(*map_lookup_elem_sys_only)(struct bpf_map *map, void *key); bpf_map 42 include/linux/bpf.h void *(*map_lookup_elem)(struct bpf_map *map, void *key); bpf_map 43 include/linux/bpf.h int (*map_update_elem)(struct bpf_map *map, void *key, void *value, u64 flags); bpf_map 44 include/linux/bpf.h int (*map_delete_elem)(struct bpf_map *map, void *key); bpf_map 45 include/linux/bpf.h int (*map_push_elem)(struct bpf_map *map, void *value, u64 flags); bpf_map 46 include/linux/bpf.h int (*map_pop_elem)(struct bpf_map *map, void *value); bpf_map 47 include/linux/bpf.h int (*map_peek_elem)(struct bpf_map *map, void *value); bpf_map 50 include/linux/bpf.h void *(*map_fd_get_ptr)(struct bpf_map *map, struct file *map_file, bpf_map 53 include/linux/bpf.h u32 (*map_gen_lookup)(struct bpf_map *map, struct bpf_insn *insn_buf); bpf_map 55 include/linux/bpf.h void (*map_seq_show_elem)(struct bpf_map *map, void *key, bpf_map 57 include/linux/bpf.h int (*map_check_btf)(const struct bpf_map *map, bpf_map 63 include/linux/bpf.h int (*map_direct_value_addr)(const struct bpf_map *map, bpf_map 65 include/linux/bpf.h int (*map_direct_value_meta)(const struct bpf_map *map, bpf_map 79 include/linux/bpf.h struct bpf_map *inner_map_meta; bpf_map 108 include/linux/bpf.h static inline bool map_value_has_spin_lock(const struct bpf_map *map) bpf_map 113 include/linux/bpf.h static inline void check_and_init_map_lock(struct bpf_map *map, void *dst) bpf_map 122 include/linux/bpf.h static inline void copy_map_value(struct bpf_map *map, void *dst, void *src) bpf_map 135 include/linux/bpf.h void copy_map_value_locked(struct bpf_map *map, void *dst, void *src, bpf_map 152 include/linux/bpf.h struct bpf_map map; bpf_map 159 include/linux/bpf.h static inline struct bpf_offloaded_map *map_to_offmap(struct bpf_map *map) bpf_map 164 include/linux/bpf.h static inline bool bpf_map_offload_neutral(const struct bpf_map *map) bpf_map 169 include/linux/bpf.h static inline bool bpf_map_support_seq_show(const struct bpf_map *map) bpf_map 174 include/linux/bpf.h int map_check_no_btf(const struct bpf_map *map, bpf_map 385 include/linux/bpf.h struct bpf_map **used_maps; bpf_map 389 include/linux/bpf.h struct bpf_map *cgroup_storage[MAX_BPF_CGROUP_STORAGE_TYPE]; bpf_map 427 include/linux/bpf.h struct bpf_map map; bpf_map 455 include/linux/bpf.h static inline u32 bpf_map_flags_to_cap(struct bpf_map *map) bpf_map 496 include/linux/bpf.h u64 bpf_event_output(struct bpf_map *map, u64 flags, void *meta, u64 meta_size, bpf_map 648 include/linux/bpf.h void bpf_map_free_id(struct bpf_map *map, bool do_idr_lock); bpf_map 650 include/linux/bpf.h struct bpf_map *bpf_map_get_with_uref(u32 ufd); bpf_map 651 include/linux/bpf.h struct bpf_map *__bpf_map_get(struct fd f); bpf_map 652 include/linux/bpf.h struct bpf_map * __must_check bpf_map_inc(struct bpf_map *map, bool uref); bpf_map 653 include/linux/bpf.h struct bpf_map * __must_check bpf_map_inc_not_zero(struct bpf_map *map, bpf_map 655 include/linux/bpf.h void bpf_map_put_with_uref(struct bpf_map *map); bpf_map 656 include/linux/bpf.h void bpf_map_put(struct bpf_map *map); bpf_map 657 include/linux/bpf.h int bpf_map_charge_memlock(struct bpf_map *map, u32 pages); bpf_map 658 include/linux/bpf.h void bpf_map_uncharge_memlock(struct bpf_map *map, u32 pages); bpf_map 665 include/linux/bpf.h void bpf_map_init_from_attr(struct bpf_map *map, union bpf_attr *attr); bpf_map 669 include/linux/bpf.h int bpf_map_new_fd(struct bpf_map *map, int flags); bpf_map 675 include/linux/bpf.h int bpf_percpu_hash_copy(struct bpf_map *map, void *key, void *value); bpf_map 676 include/linux/bpf.h int bpf_percpu_array_copy(struct bpf_map *map, void *key, void *value); bpf_map 677 include/linux/bpf.h int bpf_percpu_hash_update(struct bpf_map *map, void *key, void *value, bpf_map 679 include/linux/bpf.h int bpf_percpu_array_update(struct bpf_map *map, void *key, void *value, bpf_map 682 include/linux/bpf.h int bpf_stackmap_copy(struct bpf_map *map, void *key, void *value); bpf_map 684 include/linux/bpf.h int bpf_fd_array_map_update_elem(struct bpf_map *map, struct file *map_file, bpf_map 686 include/linux/bpf.h int bpf_fd_array_map_lookup_elem(struct bpf_map *map, void *key, u32 *value); bpf_map 687 include/linux/bpf.h int bpf_fd_htab_map_update_elem(struct bpf_map *map, struct file *map_file, bpf_map 689 include/linux/bpf.h int bpf_fd_htab_map_lookup_elem(struct bpf_map *map, void *key, u32 *value); bpf_map 720 include/linux/bpf.h struct bpf_dtab_netdev *__dev_map_lookup_elem(struct bpf_map *map, u32 key); bpf_map 721 include/linux/bpf.h struct bpf_dtab_netdev *__dev_map_hash_lookup_elem(struct bpf_map *map, u32 key); bpf_map 722 include/linux/bpf.h void __dev_map_flush(struct bpf_map *map); bpf_map 728 include/linux/bpf.h struct bpf_cpu_map_entry *__cpu_map_lookup_elem(struct bpf_map *map, u32 key); bpf_map 729 include/linux/bpf.h void __cpu_map_flush(struct bpf_map *map); bpf_map 802 include/linux/bpf.h static inline struct net_device *__dev_map_lookup_elem(struct bpf_map *map, bpf_map 808 include/linux/bpf.h static inline struct net_device *__dev_map_hash_lookup_elem(struct bpf_map *map, bpf_map 814 include/linux/bpf.h static inline void __dev_map_flush(struct bpf_map *map) bpf_map 838 include/linux/bpf.h struct bpf_cpu_map_entry *__cpu_map_lookup_elem(struct bpf_map *map, u32 key) bpf_map 843 include/linux/bpf.h static inline void __cpu_map_flush(struct bpf_map *map) bpf_map 895 include/linux/bpf.h int bpf_map_offload_info_fill(struct bpf_map_info *info, struct bpf_map *map); bpf_map 897 include/linux/bpf.h int bpf_map_offload_lookup_elem(struct bpf_map *map, void *key, void *value); bpf_map 898 include/linux/bpf.h int bpf_map_offload_update_elem(struct bpf_map *map, bpf_map 900 include/linux/bpf.h int bpf_map_offload_delete_elem(struct bpf_map *map, void *key); bpf_map 901 include/linux/bpf.h int bpf_map_offload_get_next_key(struct bpf_map *map, bpf_map 904 include/linux/bpf.h bool bpf_offload_prog_map_match(struct bpf_prog *prog, struct bpf_map *map); bpf_map 924 include/linux/bpf.h static inline bool bpf_map_is_dev_bound(struct bpf_map *map) bpf_map 929 include/linux/bpf.h struct bpf_map *bpf_map_offload_map_alloc(union bpf_attr *attr); bpf_map 930 include/linux/bpf.h void bpf_map_offload_map_free(struct bpf_map *map); bpf_map 943 include/linux/bpf.h static inline bool bpf_map_is_dev_bound(struct bpf_map *map) bpf_map 948 include/linux/bpf.h static inline struct bpf_map *bpf_map_offload_map_alloc(union bpf_attr *attr) bpf_map 953 include/linux/bpf.h static inline void bpf_map_offload_map_free(struct bpf_map *map) bpf_map 959 include/linux/bpf.h int sock_map_prog_update(struct bpf_map *map, struct bpf_prog *prog, u32 which); bpf_map 962 include/linux/bpf.h static inline int sock_map_prog_update(struct bpf_map *map, bpf_map 977 include/linux/bpf.h struct xdp_sock *__xsk_map_lookup_elem(struct bpf_map *map, u32 key); bpf_map 978 include/linux/bpf.h int __xsk_map_redirect(struct bpf_map *map, struct xdp_buff *xdp, bpf_map 980 include/linux/bpf.h void __xsk_map_flush(struct bpf_map *map); bpf_map 983 include/linux/bpf.h static inline struct xdp_sock *__xsk_map_lookup_elem(struct bpf_map *map, bpf_map 989 include/linux/bpf.h static inline int __xsk_map_redirect(struct bpf_map *map, struct xdp_buff *xdp, bpf_map 995 include/linux/bpf.h static inline void __xsk_map_flush(struct bpf_map *map) bpf_map 1002 include/linux/bpf.h int bpf_fd_reuseport_array_lookup_elem(struct bpf_map *map, void *key, bpf_map 1004 include/linux/bpf.h int bpf_fd_reuseport_array_update_elem(struct bpf_map *map, void *key, bpf_map 1012 include/linux/bpf.h static inline int bpf_fd_reuseport_array_lookup_elem(struct bpf_map *map, bpf_map 1018 include/linux/bpf.h static inline int bpf_fd_reuseport_array_update_elem(struct bpf_map *map, bpf_map 53 include/linux/bpf_verifier.h struct bpf_map *map_ptr; bpf_map 362 include/linux/bpf_verifier.h struct bpf_map *used_maps[MAX_USED_MAPS]; /* array of map's used by eBPF program */ bpf_map 585 include/linux/filter.h struct bpf_map *map; bpf_map 586 include/linux/filter.h struct bpf_map *map_to_flush; bpf_map 868 include/linux/filter.h void bpf_clear_redirect_map(struct bpf_map *map); bpf_map 1813 include/linux/lsm_hooks.h int (*bpf_map)(struct bpf_map *map, fmode_t fmode); bpf_map 1815 include/linux/lsm_hooks.h int (*bpf_map_alloc_security)(struct bpf_map *map); bpf_map 1816 include/linux/lsm_hooks.h void (*bpf_map_free_security)(struct bpf_map *map); bpf_map 2055 include/linux/lsm_hooks.h struct hlist_head bpf_map; bpf_map 1854 include/linux/security.h struct bpf_map; bpf_map 1859 include/linux/security.h extern int security_bpf_map(struct bpf_map *map, fmode_t fmode); bpf_map 1861 include/linux/security.h extern int security_bpf_map_alloc(struct bpf_map *map); bpf_map 1862 include/linux/security.h extern void security_bpf_map_free(struct bpf_map *map); bpf_map 1872 include/linux/security.h static inline int security_bpf_map(struct bpf_map *map, fmode_t fmode) bpf_map 1882 include/linux/security.h static inline int security_bpf_map_alloc(struct bpf_map *map) bpf_map 1887 include/linux/security.h static inline void security_bpf_map_free(struct bpf_map *map) bpf_map 68 include/linux/skmsg.h struct bpf_map *map; bpf_map 87 include/trace/events/xdp.h const struct bpf_map *map, u32 map_index), bpf_map 122 include/trace/events/xdp.h const struct bpf_map *map, u32 map_index), bpf_map 130 include/trace/events/xdp.h const struct bpf_map *map, u32 map_index), bpf_map 144 include/trace/events/xdp.h const struct bpf_map *map, u32 map_index), bpf_map 159 include/trace/events/xdp.h const struct bpf_map *map, u32 map_index), bpf_map 262 include/trace/events/xdp.h TP_PROTO(const struct bpf_map *map, u32 map_index, bpf_map 71 kernel/bpf/arraymap.c static struct bpf_map *array_map_alloc(union bpf_attr *attr) bpf_map 143 kernel/bpf/arraymap.c static void *array_map_lookup_elem(struct bpf_map *map, void *key) bpf_map 154 kernel/bpf/arraymap.c static int array_map_direct_value_addr(const struct bpf_map *map, u64 *imm, bpf_map 168 kernel/bpf/arraymap.c static int array_map_direct_value_meta(const struct bpf_map *map, u64 imm, bpf_map 185 kernel/bpf/arraymap.c static u32 array_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) bpf_map 215 kernel/bpf/arraymap.c static void *percpu_array_map_lookup_elem(struct bpf_map *map, void *key) bpf_map 226 kernel/bpf/arraymap.c int bpf_percpu_array_copy(struct bpf_map *map, void *key, void *value) bpf_map 253 kernel/bpf/arraymap.c static int array_map_get_next_key(struct bpf_map *map, void *key, void *next_key) bpf_map 272 kernel/bpf/arraymap.c static int array_map_update_elem(struct bpf_map *map, void *key, void *value, bpf_map 309 kernel/bpf/arraymap.c int bpf_percpu_array_update(struct bpf_map *map, void *key, void *value, bpf_map 348 kernel/bpf/arraymap.c static int array_map_delete_elem(struct bpf_map *map, void *key) bpf_map 354 kernel/bpf/arraymap.c static void array_map_free(struct bpf_map *map) bpf_map 371 kernel/bpf/arraymap.c static void array_map_seq_show_elem(struct bpf_map *map, void *key, bpf_map 392 kernel/bpf/arraymap.c static void percpu_array_map_seq_show_elem(struct bpf_map *map, void *key, bpf_map 415 kernel/bpf/arraymap.c static int array_map_check_btf(const struct bpf_map *map, bpf_map 485 kernel/bpf/arraymap.c static void fd_array_map_free(struct bpf_map *map) bpf_map 499 kernel/bpf/arraymap.c static void *fd_array_map_lookup_elem(struct bpf_map *map, void *key) bpf_map 505 kernel/bpf/arraymap.c int bpf_fd_array_map_lookup_elem(struct bpf_map *map, void *key, u32 *value) bpf_map 525 kernel/bpf/arraymap.c int bpf_fd_array_map_update_elem(struct bpf_map *map, struct file *map_file, bpf_map 550 kernel/bpf/arraymap.c static int fd_array_map_delete_elem(struct bpf_map *map, void *key) bpf_map 568 kernel/bpf/arraymap.c static void *prog_fd_array_get_ptr(struct bpf_map *map, bpf_map 596 kernel/bpf/arraymap.c static void bpf_fd_array_map_clear(struct bpf_map *map) bpf_map 605 kernel/bpf/arraymap.c static void prog_array_map_seq_show_elem(struct bpf_map *map, void *key, bpf_map 671 kernel/bpf/arraymap.c static void *perf_event_fd_array_get_ptr(struct bpf_map *map, bpf_map 702 kernel/bpf/arraymap.c static void perf_event_fd_array_release(struct bpf_map *map, bpf_map 732 kernel/bpf/arraymap.c static void *cgroup_fd_array_get_ptr(struct bpf_map *map, bpf_map 745 kernel/bpf/arraymap.c static void cgroup_fd_array_free(struct bpf_map *map) bpf_map 764 kernel/bpf/arraymap.c static struct bpf_map *array_of_map_alloc(union bpf_attr *attr) bpf_map 766 kernel/bpf/arraymap.c struct bpf_map *map, *inner_map_meta; bpf_map 783 kernel/bpf/arraymap.c static void array_of_map_free(struct bpf_map *map) bpf_map 793 kernel/bpf/arraymap.c static void *array_of_map_lookup_elem(struct bpf_map *map, void *key) bpf_map 795 kernel/bpf/arraymap.c struct bpf_map **inner_map = array_map_lookup_elem(map, key); bpf_map 803 kernel/bpf/arraymap.c static u32 array_of_map_gen_lookup(struct bpf_map *map, bpf_map 1459 kernel/bpf/core.c struct bpf_map *map = (struct bpf_map *) (unsigned long) BPF_R2; bpf_map 1675 kernel/bpf/core.c struct bpf_map *map = aux->used_maps[i]; bpf_map 2052 kernel/bpf/core.c bpf_event_output(struct bpf_map *map, u64 flags, void *meta, u64 meta_size, bpf_map 72 kernel/bpf/cpumap.c struct bpf_map map; bpf_map 80 kernel/bpf/cpumap.c static struct bpf_map *cpu_map_alloc(union bpf_attr *attr) bpf_map 455 kernel/bpf/cpumap.c static int cpu_map_delete_elem(struct bpf_map *map, void *key) bpf_map 468 kernel/bpf/cpumap.c static int cpu_map_update_elem(struct bpf_map *map, void *key, void *value, bpf_map 507 kernel/bpf/cpumap.c static void cpu_map_free(struct bpf_map *map) bpf_map 555 kernel/bpf/cpumap.c struct bpf_cpu_map_entry *__cpu_map_lookup_elem(struct bpf_map *map, u32 key) bpf_map 567 kernel/bpf/cpumap.c static void *cpu_map_lookup_elem(struct bpf_map *map, void *key) bpf_map 575 kernel/bpf/cpumap.c static int cpu_map_get_next_key(struct bpf_map *map, void *key, void *next_key) bpf_map 684 kernel/bpf/cpumap.c void __cpu_map_flush(struct bpf_map *map) bpf_map 76 kernel/bpf/devmap.c struct bpf_map map; bpf_map 176 kernel/bpf/devmap.c static struct bpf_map *dev_map_alloc(union bpf_attr *attr) bpf_map 201 kernel/bpf/devmap.c static void dev_map_free(struct bpf_map *map) bpf_map 273 kernel/bpf/devmap.c static int dev_map_get_next_key(struct bpf_map *map, void *key, void *next_key) bpf_map 290 kernel/bpf/devmap.c struct bpf_dtab_netdev *__dev_map_hash_lookup_elem(struct bpf_map *map, u32 key) bpf_map 304 kernel/bpf/devmap.c static int dev_map_hash_get_next_key(struct bpf_map *map, void *key, bpf_map 405 kernel/bpf/devmap.c void __dev_map_flush(struct bpf_map *map) bpf_map 421 kernel/bpf/devmap.c struct bpf_dtab_netdev *__dev_map_lookup_elem(struct bpf_map *map, u32 key) bpf_map 496 kernel/bpf/devmap.c static void *dev_map_lookup_elem(struct bpf_map *map, void *key) bpf_map 504 kernel/bpf/devmap.c static void *dev_map_hash_lookup_elem(struct bpf_map *map, void *key) bpf_map 539 kernel/bpf/devmap.c static int dev_map_delete_elem(struct bpf_map *map, void *key) bpf_map 562 kernel/bpf/devmap.c static int dev_map_hash_delete_elem(struct bpf_map *map, void *key) bpf_map 623 kernel/bpf/devmap.c static int __dev_map_update_elem(struct net *net, struct bpf_map *map, bpf_map 657 kernel/bpf/devmap.c static int dev_map_update_elem(struct bpf_map *map, void *key, void *value, bpf_map 664 kernel/bpf/devmap.c static int __dev_map_hash_update_elem(struct net *net, struct bpf_map *map, bpf_map 714 kernel/bpf/devmap.c static int dev_map_hash_update_elem(struct bpf_map *map, void *key, void *value, bpf_map 26 kernel/bpf/hashtab.c struct bpf_map map; bpf_map 90 kernel/bpf/hashtab.c static void *fd_htab_map_get_ptr(const struct bpf_map *map, struct htab_elem *l) bpf_map 295 kernel/bpf/hashtab.c static struct bpf_map *htab_map_alloc(union bpf_attr *attr) bpf_map 461 kernel/bpf/hashtab.c static void *__htab_map_lookup_elem(struct bpf_map *map, void *key) bpf_map 482 kernel/bpf/hashtab.c static void *htab_map_lookup_elem(struct bpf_map *map, void *key) bpf_map 503 kernel/bpf/hashtab.c static u32 htab_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) bpf_map 509 kernel/bpf/hashtab.c (void *(*)(struct bpf_map *map, void *key))NULL)); bpf_map 518 kernel/bpf/hashtab.c static __always_inline void *__htab_lru_map_lookup_elem(struct bpf_map *map, bpf_map 532 kernel/bpf/hashtab.c static void *htab_lru_map_lookup_elem(struct bpf_map *map, void *key) bpf_map 537 kernel/bpf/hashtab.c static void *htab_lru_map_lookup_elem_sys(struct bpf_map *map, void *key) bpf_map 542 kernel/bpf/hashtab.c static u32 htab_lru_map_gen_lookup(struct bpf_map *map, bpf_map 550 kernel/bpf/hashtab.c (void *(*)(struct bpf_map *map, void *key))NULL)); bpf_map 597 kernel/bpf/hashtab.c static int htab_map_get_next_key(struct bpf_map *map, void *key, void *next_key) bpf_map 680 kernel/bpf/hashtab.c struct bpf_map *map = &htab->map; bpf_map 819 kernel/bpf/hashtab.c static int htab_map_update_elem(struct bpf_map *map, void *key, void *value, bpf_map 911 kernel/bpf/hashtab.c static int htab_lru_map_update_elem(struct bpf_map *map, void *key, void *value, bpf_map 975 kernel/bpf/hashtab.c static int __htab_percpu_map_update_elem(struct bpf_map *map, void *key, bpf_map 1028 kernel/bpf/hashtab.c static int __htab_lru_percpu_map_update_elem(struct bpf_map *map, void *key, bpf_map 1093 kernel/bpf/hashtab.c static int htab_percpu_map_update_elem(struct bpf_map *map, void *key, bpf_map 1099 kernel/bpf/hashtab.c static int htab_lru_percpu_map_update_elem(struct bpf_map *map, void *key, bpf_map 1107 kernel/bpf/hashtab.c static int htab_map_delete_elem(struct bpf_map *map, void *key) bpf_map 1139 kernel/bpf/hashtab.c static int htab_lru_map_delete_elem(struct bpf_map *map, void *key) bpf_map 1189 kernel/bpf/hashtab.c static void htab_map_free(struct bpf_map *map) bpf_map 1214 kernel/bpf/hashtab.c static void htab_map_seq_show_elem(struct bpf_map *map, void *key, bpf_map 1261 kernel/bpf/hashtab.c static void *htab_percpu_map_lookup_elem(struct bpf_map *map, void *key) bpf_map 1271 kernel/bpf/hashtab.c static void *htab_lru_percpu_map_lookup_elem(struct bpf_map *map, void *key) bpf_map 1283 kernel/bpf/hashtab.c int bpf_percpu_hash_copy(struct bpf_map *map, void *key, void *value) bpf_map 1315 kernel/bpf/hashtab.c int bpf_percpu_hash_update(struct bpf_map *map, void *key, void *value, bpf_map 1333 kernel/bpf/hashtab.c static void htab_percpu_map_seq_show_elem(struct bpf_map *map, void *key, bpf_map 1391 kernel/bpf/hashtab.c static void fd_htab_map_free(struct bpf_map *map) bpf_map 1413 kernel/bpf/hashtab.c int bpf_fd_htab_map_lookup_elem(struct bpf_map *map, void *key, u32 *value) bpf_map 1433 kernel/bpf/hashtab.c int bpf_fd_htab_map_update_elem(struct bpf_map *map, struct file *map_file, bpf_map 1451 kernel/bpf/hashtab.c static struct bpf_map *htab_of_map_alloc(union bpf_attr *attr) bpf_map 1453 kernel/bpf/hashtab.c struct bpf_map *map, *inner_map_meta; bpf_map 1470 kernel/bpf/hashtab.c static void *htab_of_map_lookup_elem(struct bpf_map *map, void *key) bpf_map 1472 kernel/bpf/hashtab.c struct bpf_map **inner_map = htab_map_lookup_elem(map, key); bpf_map 1480 kernel/bpf/hashtab.c static u32 htab_of_map_gen_lookup(struct bpf_map *map, bpf_map 1487 kernel/bpf/hashtab.c (void *(*)(struct bpf_map *map, void *key))NULL)); bpf_map 1498 kernel/bpf/hashtab.c static void htab_of_map_free(struct bpf_map *map) bpf_map 26 kernel/bpf/helpers.c BPF_CALL_2(bpf_map_lookup_elem, struct bpf_map *, map, void *, key) bpf_map 41 kernel/bpf/helpers.c BPF_CALL_4(bpf_map_update_elem, struct bpf_map *, map, void *, key, bpf_map 59 kernel/bpf/helpers.c BPF_CALL_2(bpf_map_delete_elem, struct bpf_map *, map, void *, key) bpf_map 74 kernel/bpf/helpers.c BPF_CALL_3(bpf_map_push_elem, struct bpf_map *, map, void *, value, u64, flags) bpf_map 89 kernel/bpf/helpers.c BPF_CALL_2(bpf_map_pop_elem, struct bpf_map *, map, void *, value) bpf_map 102 kernel/bpf/helpers.c BPF_CALL_2(bpf_map_peek_elem, struct bpf_map *, map, void *, value) bpf_map 299 kernel/bpf/helpers.c void copy_map_value_locked(struct bpf_map *map, void *dst, void *src, bpf_map 333 kernel/bpf/helpers.c BPF_CALL_2(bpf_get_local_storage, struct bpf_map *, map, u64, flags) bpf_map 161 kernel/bpf/inode.c static struct bpf_map *seq_file_to_map(struct seq_file *m) bpf_map 174 kernel/bpf/inode.c static struct map_iter *map_iter_alloc(struct bpf_map *map) bpf_map 195 kernel/bpf/inode.c struct bpf_map *map = seq_file_to_map(m); bpf_map 229 kernel/bpf/inode.c struct bpf_map *map = seq_file_to_map(m); bpf_map 251 kernel/bpf/inode.c struct bpf_map *map = inode->i_private; bpf_map 331 kernel/bpf/inode.c struct bpf_map *map = arg; bpf_map 20 kernel/bpf/local_storage.c struct bpf_map map; bpf_map 28 kernel/bpf/local_storage.c static struct bpf_cgroup_storage_map *map_to_storage(struct bpf_map *map) bpf_map 114 kernel/bpf/local_storage.c static void *cgroup_storage_lookup_elem(struct bpf_map *_map, void *_key) bpf_map 127 kernel/bpf/local_storage.c static int cgroup_storage_update_elem(struct bpf_map *map, void *_key, bpf_map 170 kernel/bpf/local_storage.c int bpf_percpu_cgroup_storage_copy(struct bpf_map *_map, void *_key, bpf_map 200 kernel/bpf/local_storage.c int bpf_percpu_cgroup_storage_update(struct bpf_map *_map, void *_key, bpf_map 235 kernel/bpf/local_storage.c static int cgroup_storage_get_next_key(struct bpf_map *_map, void *_key, bpf_map 271 kernel/bpf/local_storage.c static struct bpf_map *cgroup_storage_map_alloc(union bpf_attr *attr) bpf_map 318 kernel/bpf/local_storage.c static void cgroup_storage_map_free(struct bpf_map *_map) bpf_map 328 kernel/bpf/local_storage.c static int cgroup_storage_delete_elem(struct bpf_map *map, void *key) bpf_map 333 kernel/bpf/local_storage.c static int cgroup_storage_check_btf(const struct bpf_map *map, bpf_map 376 kernel/bpf/local_storage.c static void cgroup_storage_seq_show_elem(struct bpf_map *map, void *_key, bpf_map 423 kernel/bpf/local_storage.c int bpf_cgroup_storage_assign(struct bpf_prog *prog, struct bpf_map *_map) bpf_map 446 kernel/bpf/local_storage.c void bpf_cgroup_storage_release(struct bpf_prog *prog, struct bpf_map *_map) bpf_map 460 kernel/bpf/local_storage.c static size_t bpf_cgroup_storage_calculate_size(struct bpf_map *map, u32 *pages) bpf_map 481 kernel/bpf/local_storage.c struct bpf_map *map; bpf_map 544 kernel/bpf/local_storage.c struct bpf_map *map; bpf_map 32 kernel/bpf/lpm_trie.c struct bpf_map map; bpf_map 227 kernel/bpf/lpm_trie.c static void *trie_lookup_elem(struct bpf_map *map, void *_key) bpf_map 300 kernel/bpf/lpm_trie.c static int trie_update_elem(struct bpf_map *map, bpf_map 431 kernel/bpf/lpm_trie.c static int trie_delete_elem(struct bpf_map *map, void *_key) bpf_map 540 kernel/bpf/lpm_trie.c static struct bpf_map *trie_alloc(union bpf_attr *attr) bpf_map 586 kernel/bpf/lpm_trie.c static void trie_free(struct bpf_map *map) bpf_map 630 kernel/bpf/lpm_trie.c static int trie_get_next_key(struct bpf_map *map, void *_key, void *_next_key) bpf_map 728 kernel/bpf/lpm_trie.c static int trie_check_btf(const struct bpf_map *map, bpf_map 9 kernel/bpf/map_in_map.c struct bpf_map *bpf_map_meta_alloc(int inner_map_ufd) bpf_map 11 kernel/bpf/map_in_map.c struct bpf_map *inner_map, *inner_map_meta; bpf_map 72 kernel/bpf/map_in_map.c void bpf_map_meta_free(struct bpf_map *map_meta) bpf_map 77 kernel/bpf/map_in_map.c bool bpf_map_meta_equal(const struct bpf_map *meta0, bpf_map 78 kernel/bpf/map_in_map.c const struct bpf_map *meta1) bpf_map 88 kernel/bpf/map_in_map.c void *bpf_map_fd_get_ptr(struct bpf_map *map, bpf_map 92 kernel/bpf/map_in_map.c struct bpf_map *inner_map; bpf_map 119 kernel/bpf/map_in_map.c return ((struct bpf_map *)ptr)->id; bpf_map 10 kernel/bpf/map_in_map.h struct bpf_map; bpf_map 12 kernel/bpf/map_in_map.h struct bpf_map *bpf_map_meta_alloc(int inner_map_ufd); bpf_map 13 kernel/bpf/map_in_map.h void bpf_map_meta_free(struct bpf_map *map_meta); bpf_map 14 kernel/bpf/map_in_map.h bool bpf_map_meta_equal(const struct bpf_map *meta0, bpf_map 15 kernel/bpf/map_in_map.h const struct bpf_map *meta1); bpf_map 16 kernel/bpf/map_in_map.h void *bpf_map_fd_get_ptr(struct bpf_map *map, struct file *map_file, bpf_map 362 kernel/bpf/offload.c struct bpf_map *bpf_map_offload_map_alloc(union bpf_attr *attr) bpf_map 420 kernel/bpf/offload.c void bpf_map_offload_map_free(struct bpf_map *map) bpf_map 434 kernel/bpf/offload.c int bpf_map_offload_lookup_elem(struct bpf_map *map, void *key, void *value) bpf_map 447 kernel/bpf/offload.c int bpf_map_offload_update_elem(struct bpf_map *map, bpf_map 465 kernel/bpf/offload.c int bpf_map_offload_delete_elem(struct bpf_map *map, void *key) bpf_map 478 kernel/bpf/offload.c int bpf_map_offload_get_next_key(struct bpf_map *map, void *key, void *next_key) bpf_map 521 kernel/bpf/offload.c int bpf_map_offload_info_fill(struct bpf_map_info *info, struct bpf_map *map) bpf_map 579 kernel/bpf/offload.c bool bpf_offload_prog_map_match(struct bpf_prog *prog, struct bpf_map *map) bpf_map 17 kernel/bpf/queue_stack_maps.c struct bpf_map map; bpf_map 25 kernel/bpf/queue_stack_maps.c static struct bpf_queue_stack *bpf_queue_stack(struct bpf_map *map) bpf_map 67 kernel/bpf/queue_stack_maps.c static struct bpf_map *queue_stack_map_alloc(union bpf_attr *attr) bpf_map 100 kernel/bpf/queue_stack_maps.c static void queue_stack_map_free(struct bpf_map *map) bpf_map 114 kernel/bpf/queue_stack_maps.c static int __queue_map_get(struct bpf_map *map, void *value, bool delete) bpf_map 143 kernel/bpf/queue_stack_maps.c static int __stack_map_get(struct bpf_map *map, void *value, bool delete) bpf_map 175 kernel/bpf/queue_stack_maps.c static int queue_map_peek_elem(struct bpf_map *map, void *value) bpf_map 181 kernel/bpf/queue_stack_maps.c static int stack_map_peek_elem(struct bpf_map *map, void *value) bpf_map 187 kernel/bpf/queue_stack_maps.c static int queue_map_pop_elem(struct bpf_map *map, void *value) bpf_map 193 kernel/bpf/queue_stack_maps.c static int stack_map_pop_elem(struct bpf_map *map, void *value) bpf_map 199 kernel/bpf/queue_stack_maps.c static int queue_stack_map_push_elem(struct bpf_map *map, void *value, bpf_map 240 kernel/bpf/queue_stack_maps.c static void *queue_stack_map_lookup_elem(struct bpf_map *map, void *key) bpf_map 246 kernel/bpf/queue_stack_maps.c static int queue_stack_map_update_elem(struct bpf_map *map, void *key, bpf_map 253 kernel/bpf/queue_stack_maps.c static int queue_stack_map_delete_elem(struct bpf_map *map, void *key) bpf_map 259 kernel/bpf/queue_stack_maps.c static int queue_stack_map_get_next_key(struct bpf_map *map, void *key, bpf_map 11 kernel/bpf/reuseport_array.c struct bpf_map map; bpf_map 15 kernel/bpf/reuseport_array.c static struct reuseport_array *reuseport_array(struct bpf_map *map) bpf_map 49 kernel/bpf/reuseport_array.c static void *reuseport_array_lookup_elem(struct bpf_map *map, void *key) bpf_map 61 kernel/bpf/reuseport_array.c static int reuseport_array_delete_elem(struct bpf_map *map, void *key) bpf_map 93 kernel/bpf/reuseport_array.c static void reuseport_array_free(struct bpf_map *map) bpf_map 150 kernel/bpf/reuseport_array.c static struct bpf_map *reuseport_array_alloc(union bpf_attr *attr) bpf_map 181 kernel/bpf/reuseport_array.c int bpf_fd_reuseport_array_lookup_elem(struct bpf_map *map, void *key, bpf_map 248 kernel/bpf/reuseport_array.c int bpf_fd_reuseport_array_update_elem(struct bpf_map *map, void *key, bpf_map 334 kernel/bpf/reuseport_array.c static int reuseport_array_get_next_key(struct bpf_map *map, void *key, bpf_map 26 kernel/bpf/stackmap.c struct bpf_map map; bpf_map 50 kernel/bpf/stackmap.c static inline bool stack_map_use_build_id(struct bpf_map *map) bpf_map 55 kernel/bpf/stackmap.c static inline int stack_map_data_size(struct bpf_map *map) bpf_map 85 kernel/bpf/stackmap.c static struct bpf_map *stack_map_alloc(union bpf_attr *attr) bpf_map 346 kernel/bpf/stackmap.c BPF_CALL_3(bpf_get_stackid, struct pt_regs *, regs, struct bpf_map *, map, bpf_map 514 kernel/bpf/stackmap.c static void *stack_map_lookup_elem(struct bpf_map *map, void *key) bpf_map 520 kernel/bpf/stackmap.c int bpf_stackmap_copy(struct bpf_map *map, void *key, void *value) bpf_map 543 kernel/bpf/stackmap.c static int stack_map_get_next_key(struct bpf_map *map, void *key, bpf_map 572 kernel/bpf/stackmap.c static int stack_map_update_elem(struct bpf_map *map, void *key, void *value, bpf_map 579 kernel/bpf/stackmap.c static int stack_map_delete_elem(struct bpf_map *map, void *key) bpf_map 598 kernel/bpf/stackmap.c static void stack_map_free(struct bpf_map *map) bpf_map 100 kernel/bpf/syscall.c static struct bpf_map *find_and_alloc_map(union bpf_attr *attr) bpf_map 104 kernel/bpf/syscall.c struct bpf_map *map; bpf_map 176 kernel/bpf/syscall.c void bpf_map_init_from_attr(struct bpf_map *map, union bpf_attr *attr) bpf_map 240 kernel/bpf/syscall.c int bpf_map_charge_memlock(struct bpf_map *map, u32 pages) bpf_map 251 kernel/bpf/syscall.c void bpf_map_uncharge_memlock(struct bpf_map *map, u32 pages) bpf_map 257 kernel/bpf/syscall.c static int bpf_map_alloc_id(struct bpf_map *map) bpf_map 275 kernel/bpf/syscall.c void bpf_map_free_id(struct bpf_map *map, bool do_idr_lock) bpf_map 304 kernel/bpf/syscall.c struct bpf_map *map = container_of(work, struct bpf_map, work); bpf_map 314 kernel/bpf/syscall.c static void bpf_map_put_uref(struct bpf_map *map) bpf_map 325 kernel/bpf/syscall.c static void __bpf_map_put(struct bpf_map *map, bool do_idr_lock) bpf_map 336 kernel/bpf/syscall.c void bpf_map_put(struct bpf_map *map) bpf_map 342 kernel/bpf/syscall.c void bpf_map_put_with_uref(struct bpf_map *map) bpf_map 350 kernel/bpf/syscall.c struct bpf_map *map = filp->private_data; bpf_map 359 kernel/bpf/syscall.c static fmode_t map_get_sys_perms(struct bpf_map *map, struct fd f) bpf_map 374 kernel/bpf/syscall.c const struct bpf_map *map = filp->private_data; bpf_map 439 kernel/bpf/syscall.c int bpf_map_new_fd(struct bpf_map *map, int flags) bpf_map 493 kernel/bpf/syscall.c int map_check_no_btf(const struct bpf_map *map, bpf_map 501 kernel/bpf/syscall.c static int map_check_btf(struct bpf_map *map, const struct btf *btf, bpf_map 554 kernel/bpf/syscall.c struct bpf_map *map; bpf_map 646 kernel/bpf/syscall.c struct bpf_map *__bpf_map_get(struct fd f) bpf_map 661 kernel/bpf/syscall.c struct bpf_map *bpf_map_inc(struct bpf_map *map, bool uref) bpf_map 673 kernel/bpf/syscall.c struct bpf_map *bpf_map_get_with_uref(u32 ufd) bpf_map 676 kernel/bpf/syscall.c struct bpf_map *map; bpf_map 689 kernel/bpf/syscall.c static struct bpf_map *__bpf_map_inc_not_zero(struct bpf_map *map, bpf_map 710 kernel/bpf/syscall.c struct bpf_map *bpf_map_inc_not_zero(struct bpf_map *map, bool uref) bpf_map 720 kernel/bpf/syscall.c int __weak bpf_stackmap_copy(struct bpf_map *map, void *key, void *value) bpf_map 744 kernel/bpf/syscall.c struct bpf_map *map; bpf_map 861 kernel/bpf/syscall.c static void maybe_wait_bpf_programs(struct bpf_map *map) bpf_map 879 kernel/bpf/syscall.c struct bpf_map *map; bpf_map 991 kernel/bpf/syscall.c struct bpf_map *map; bpf_map 1042 kernel/bpf/syscall.c struct bpf_map *map; bpf_map 1108 kernel/bpf/syscall.c struct bpf_map *map; bpf_map 1170 kernel/bpf/syscall.c struct bpf_map *map; bpf_map 2192 kernel/bpf/syscall.c struct bpf_map *map; bpf_map 2226 kernel/bpf/syscall.c static const struct bpf_map *bpf_map_from_imm(const struct bpf_prog *prog, bpf_map 2230 kernel/bpf/syscall.c const struct bpf_map *map; bpf_map 2252 kernel/bpf/syscall.c const struct bpf_map *map; bpf_map 2601 kernel/bpf/syscall.c static int bpf_map_get_info_by_fd(struct bpf_map *map, bpf_map 177 kernel/bpf/verifier.c #define BPF_MAP_PTR(X) ((struct bpf_map *)((X) & ~BPF_MAP_PTR_UNPRIV)) bpf_map 190 kernel/bpf/verifier.c const struct bpf_map *map, bool unpriv) bpf_map 199 kernel/bpf/verifier.c struct bpf_map *map_ptr; bpf_map 2151 kernel/bpf/verifier.c struct bpf_map *map = regs[regno].map_ptr; bpf_map 2174 kernel/bpf/verifier.c struct bpf_map *map = regs[regno].map_ptr; bpf_map 3146 kernel/bpf/verifier.c struct bpf_map *map = reg->map_ptr; bpf_map 3443 kernel/bpf/verifier.c struct bpf_map *map, int func_id) bpf_map 3922 kernel/bpf/verifier.c struct bpf_map *map = meta->map_ptr; bpf_map 6026 kernel/bpf/verifier.c struct bpf_map *map; bpf_map 7906 kernel/bpf/verifier.c static int check_map_prealloc(struct bpf_map *map) bpf_map 7928 kernel/bpf/verifier.c struct bpf_map *map, bpf_map 7965 kernel/bpf/verifier.c static bool bpf_map_is_cgroup_storage(struct bpf_map *map) bpf_map 8000 kernel/bpf/verifier.c struct bpf_map *map; bpf_map 8963 kernel/bpf/verifier.c struct bpf_map *map_ptr; bpf_map 9178 kernel/bpf/verifier.c (void *(*)(struct bpf_map *map, void *key))NULL)); bpf_map 9180 kernel/bpf/verifier.c (int (*)(struct bpf_map *map, void *key))NULL)); bpf_map 9182 kernel/bpf/verifier.c (int (*)(struct bpf_map *map, void *key, void *value, bpf_map 9185 kernel/bpf/verifier.c (int (*)(struct bpf_map *map, void *value, bpf_map 9188 kernel/bpf/verifier.c (int (*)(struct bpf_map *map, void *value))NULL)); bpf_map 9190 kernel/bpf/verifier.c (int (*)(struct bpf_map *map, void *value))NULL)); bpf_map 13 kernel/bpf/xskmap.c struct bpf_map map; bpf_map 21 kernel/bpf/xskmap.c struct bpf_map *m = &map->map; bpf_map 81 kernel/bpf/xskmap.c static struct bpf_map *xsk_map_alloc(union bpf_attr *attr) bpf_map 135 kernel/bpf/xskmap.c static void xsk_map_free(struct bpf_map *map) bpf_map 146 kernel/bpf/xskmap.c static int xsk_map_get_next_key(struct bpf_map *map, void *key, void *next_key) bpf_map 163 kernel/bpf/xskmap.c struct xdp_sock *__xsk_map_lookup_elem(struct bpf_map *map, u32 key) bpf_map 175 kernel/bpf/xskmap.c int __xsk_map_redirect(struct bpf_map *map, struct xdp_buff *xdp, bpf_map 192 kernel/bpf/xskmap.c void __xsk_map_flush(struct bpf_map *map) bpf_map 204 kernel/bpf/xskmap.c static void *xsk_map_lookup_elem(struct bpf_map *map, void *key) bpf_map 210 kernel/bpf/xskmap.c static void *xsk_map_lookup_elem_sys_only(struct bpf_map *map, void *key) bpf_map 215 kernel/bpf/xskmap.c static int xsk_map_update_elem(struct bpf_map *map, void *key, void *value, bpf_map 280 kernel/bpf/xskmap.c static int xsk_map_delete_elem(struct bpf_map *map, void *key) bpf_map 347 kernel/trace/bpf_trace.c get_map_perf_counter(struct bpf_map *map, u64 flags, bpf_map 369 kernel/trace/bpf_trace.c BPF_CALL_2(bpf_perf_event_read, struct bpf_map *, map, u64, flags) bpf_map 392 kernel/trace/bpf_trace.c BPF_CALL_4(bpf_perf_event_read_value, struct bpf_map *, map, u64, flags, bpf_map 420 kernel/trace/bpf_trace.c __bpf_perf_event_output(struct pt_regs *regs, struct bpf_map *map, bpf_map 459 kernel/trace/bpf_trace.c BPF_CALL_5(bpf_perf_event_output, struct pt_regs *, regs, struct bpf_map *, map, bpf_map 513 kernel/trace/bpf_trace.c u64 bpf_event_output(struct bpf_map *map, u64 flags, void *meta, u64 meta_size, bpf_map 563 kernel/trace/bpf_trace.c BPF_CALL_2(bpf_current_task_under_cgroup, struct bpf_map *, map, u32, idx) bpf_map 791 kernel/trace/bpf_trace.c BPF_CALL_5(bpf_perf_event_output_tp, void *, tp_buff, struct bpf_map *, map, bpf_map 815 kernel/trace/bpf_trace.c BPF_CALL_3(bpf_get_stackid_tp, void *, tp_buff, struct bpf_map *, map, bpf_map 970 kernel/trace/bpf_trace.c struct bpf_map *, map, u64, flags, void *, data, u64, size) bpf_map 997 kernel/trace/bpf_trace.c struct bpf_map *, map, u64, flags) bpf_map 42 net/core/bpf_sk_storage.c struct bpf_map map; bpf_map 299 net/core/bpf_sk_storage.c sk_storage_lookup(struct sock *sk, struct bpf_map *map, bool cacheit_lockit) bpf_map 388 net/core/bpf_sk_storage.c struct bpf_map *map, bpf_map 501 net/core/bpf_sk_storage.c static int sk_storage_delete(struct sock *sk, struct bpf_map *map) bpf_map 553 net/core/bpf_sk_storage.c static void bpf_sk_storage_map_free(struct bpf_map *map) bpf_map 633 net/core/bpf_sk_storage.c static struct bpf_map *bpf_sk_storage_map_alloc(union bpf_attr *attr) bpf_map 678 net/core/bpf_sk_storage.c static int notsupp_get_next_key(struct bpf_map *map, void *key, bpf_map 684 net/core/bpf_sk_storage.c static int bpf_sk_storage_map_check_btf(const struct bpf_map *map, bpf_map 701 net/core/bpf_sk_storage.c static void *bpf_fd_sk_storage_lookup_elem(struct bpf_map *map, void *key) bpf_map 718 net/core/bpf_sk_storage.c static int bpf_fd_sk_storage_update_elem(struct bpf_map *map, void *key, bpf_map 736 net/core/bpf_sk_storage.c static int bpf_fd_sk_storage_delete_elem(struct bpf_map *map, void *key) bpf_map 791 net/core/bpf_sk_storage.c struct bpf_map *map; bpf_map 841 net/core/bpf_sk_storage.c BPF_CALL_4(bpf_sk_storage_get, struct bpf_map *, map, struct sock *, sk, bpf_map 872 net/core/bpf_sk_storage.c BPF_CALL_2(bpf_sk_storage_delete, struct bpf_map *, map, struct sock *, sk) bpf_map 3463 net/core/filter.c struct bpf_map *map, bpf_map 3515 net/core/filter.c struct bpf_map *map, bpf_map 3554 net/core/filter.c struct bpf_map *map = ri->map_to_flush; bpf_map 3576 net/core/filter.c static inline void *__xdp_map_lookup_elem(struct bpf_map *map, u32 index) bpf_map 3592 net/core/filter.c void bpf_clear_redirect_map(struct bpf_map *map) bpf_map 3610 net/core/filter.c struct bpf_prog *xdp_prog, struct bpf_map *map, bpf_map 3640 net/core/filter.c struct bpf_map *map = READ_ONCE(ri->map); bpf_map 3653 net/core/filter.c struct bpf_map *map) bpf_map 3695 net/core/filter.c struct bpf_map *map = READ_ONCE(ri->map); bpf_map 3747 net/core/filter.c BPF_CALL_3(bpf_xdp_redirect_map, struct bpf_map *, map, u32, ifindex, bpf_map 3796 net/core/filter.c BPF_CALL_5(bpf_skb_event_output, struct sk_buff *, skb, struct bpf_map *, map, bpf_map 4055 net/core/filter.c BPF_CALL_3(bpf_skb_under_cgroup, struct sk_buff *, skb, struct bpf_map *, map, bpf_map 4138 net/core/filter.c BPF_CALL_5(bpf_xdp_event_output, struct xdp_buff *, xdp, struct bpf_map *, map, bpf_map 4218 net/core/filter.c struct bpf_map *, map, u64, flags, void *, data, u64, size) bpf_map 8716 net/core/filter.c struct bpf_map *, map, void *, key, u32, flags) bpf_map 15 net/core/sock_map.c struct bpf_map map; bpf_map 24 net/core/sock_map.c static struct bpf_map *sock_map_alloc(union bpf_attr *attr) bpf_map 66 net/core/sock_map.c struct bpf_map *map; bpf_map 97 net/core/sock_map.c struct bpf_map *map, void *link_raw) bpf_map 115 net/core/sock_map.c struct bpf_map *map = link->map; bpf_map 142 net/core/sock_map.c static int sock_map_link(struct bpf_map *map, struct sk_psock_progs *progs, bpf_map 231 net/core/sock_map.c static void sock_map_free(struct bpf_map *map) bpf_map 262 net/core/sock_map.c static void sock_map_release_progs(struct bpf_map *map) bpf_map 267 net/core/sock_map.c static struct sock *__sock_map_lookup_elem(struct bpf_map *map, u32 key) bpf_map 278 net/core/sock_map.c static void *sock_map_lookup(struct bpf_map *map, void *key) bpf_map 303 net/core/sock_map.c static void sock_map_delete_from_link(struct bpf_map *map, struct sock *sk, bpf_map 311 net/core/sock_map.c static int sock_map_delete_elem(struct bpf_map *map, void *key) bpf_map 324 net/core/sock_map.c static int sock_map_get_next_key(struct bpf_map *map, void *key, void *next) bpf_map 339 net/core/sock_map.c static int sock_map_update_common(struct bpf_map *map, u32 idx, bpf_map 405 net/core/sock_map.c static int sock_map_update_elem(struct bpf_map *map, void *key, bpf_map 439 net/core/sock_map.c struct bpf_map *, map, void *, key, u64, flags) bpf_map 462 net/core/sock_map.c struct bpf_map *, map, u32, key, u64, flags) bpf_map 486 net/core/sock_map.c struct bpf_map *, map, u32, key, u64, flags) bpf_map 532 net/core/sock_map.c struct bpf_map map; bpf_map 566 net/core/sock_map.c static struct sock *__sock_hash_lookup_elem(struct bpf_map *map, void *key) bpf_map 589 net/core/sock_map.c static void sock_hash_delete_from_link(struct bpf_map *map, struct sock *sk, bpf_map 614 net/core/sock_map.c static int sock_hash_delete_elem(struct bpf_map *map, void *key) bpf_map 663 net/core/sock_map.c static int sock_hash_update_common(struct bpf_map *map, void *key, bpf_map 731 net/core/sock_map.c static int sock_hash_update_elem(struct bpf_map *map, void *key, bpf_map 763 net/core/sock_map.c static int sock_hash_get_next_key(struct bpf_map *map, void *key, bpf_map 803 net/core/sock_map.c static struct bpf_map *sock_hash_alloc(union bpf_attr *attr) bpf_map 860 net/core/sock_map.c static void sock_hash_free(struct bpf_map *map) bpf_map 895 net/core/sock_map.c static void sock_hash_release_progs(struct bpf_map *map) bpf_map 901 net/core/sock_map.c struct bpf_map *, map, void *, key, u64, flags) bpf_map 923 net/core/sock_map.c struct bpf_map *, map, void *, key, u64, flags) bpf_map 947 net/core/sock_map.c struct bpf_map *, map, void *, key, u64, flags) bpf_map 979 net/core/sock_map.c static struct sk_psock_progs *sock_map_progs(struct bpf_map *map) bpf_map 993 net/core/sock_map.c int sock_map_prog_update(struct bpf_map *map, struct bpf_prog *prog, bpf_map 130 samples/bpf/hbm.c struct bpf_map *map; bpf_map 91 samples/bpf/xdp1_user.c struct bpf_map *map; bpf_map 94 samples/bpf/xdp_adjust_tail_user.c struct bpf_map *map; bpf_map 36 samples/bpf/xdp_rxq_info_user.c static struct bpf_map *stats_global_map; bpf_map 37 samples/bpf/xdp_rxq_info_user.c static struct bpf_map *rx_queue_index_map; bpf_map 470 samples/bpf/xdp_rxq_info_user.c struct bpf_map *map; bpf_map 121 samples/bpf/xdp_sample_pkts_user.c struct bpf_map *map; bpf_map 2376 security/security.c int security_bpf_map(struct bpf_map *map, fmode_t fmode) bpf_map 2378 security/security.c return call_int_hook(bpf_map, 0, map, fmode); bpf_map 2384 security/security.c int security_bpf_map_alloc(struct bpf_map *map) bpf_map 2392 security/security.c void security_bpf_map_free(struct bpf_map *map) bpf_map 6732 security/selinux/hooks.c struct bpf_map *map; bpf_map 6755 security/selinux/hooks.c static int selinux_bpf_map(struct bpf_map *map, fmode_t fmode) bpf_map 6777 security/selinux/hooks.c static int selinux_bpf_map_alloc(struct bpf_map *map) bpf_map 6791 security/selinux/hooks.c static void selinux_bpf_map_free(struct bpf_map *map) bpf_map 7060 security/selinux/hooks.c LSM_HOOK_INIT(bpf_map, selinux_bpf_map), bpf_map 1104 tools/bpf/bpftool/prog.c struct bpf_map *map; bpf_map 244 tools/lib/bpf/libbpf.c struct bpf_map *maps; bpf_map 656 tools/lib/bpf/libbpf.c const struct bpf_map *a = _a; bpf_map 657 tools/lib/bpf/libbpf.c const struct bpf_map *b = _b; bpf_map 778 tools/lib/bpf/libbpf.c static struct bpf_map *bpf_object__add_map(struct bpf_object *obj) bpf_map 780 tools/lib/bpf/libbpf.c struct bpf_map *new_maps; bpf_map 818 tools/lib/bpf/libbpf.c struct bpf_map *map; bpf_map 948 tools/lib/bpf/libbpf.c struct bpf_map *map; bpf_map 1082 tools/lib/bpf/libbpf.c struct bpf_map *map; bpf_map 1730 tools/lib/bpf/libbpf.c struct bpf_map *maps = obj->maps; bpf_map 1853 tools/lib/bpf/libbpf.c static int bpf_map_find_btf_info(struct bpf_object *obj, struct bpf_map *map) bpf_map 1884 tools/lib/bpf/libbpf.c int bpf_map__reuse_fd(struct bpf_map *map, int fd) bpf_map 1937 tools/lib/bpf/libbpf.c int bpf_map__resize(struct bpf_map *map, __u32 max_entries) bpf_map 2111 tools/lib/bpf/libbpf.c bpf_object__populate_internal_map(struct bpf_object *obj, struct bpf_map *map) bpf_map 2147 tools/lib/bpf/libbpf.c struct bpf_map *map = &obj->maps[i]; bpf_map 3958 tools/lib/bpf/libbpf.c int bpf_map__pin(struct bpf_map *map, const char *path) bpf_map 3983 tools/lib/bpf/libbpf.c int bpf_map__unpin(struct bpf_map *map, const char *path) bpf_map 4006 tools/lib/bpf/libbpf.c struct bpf_map *map; bpf_map 4062 tools/lib/bpf/libbpf.c struct bpf_map *map; bpf_map 4650 tools/lib/bpf/libbpf.c int bpf_map__fd(const struct bpf_map *map) bpf_map 4655 tools/lib/bpf/libbpf.c const struct bpf_map_def *bpf_map__def(const struct bpf_map *map) bpf_map 4660 tools/lib/bpf/libbpf.c const char *bpf_map__name(const struct bpf_map *map) bpf_map 4665 tools/lib/bpf/libbpf.c __u32 bpf_map__btf_key_type_id(const struct bpf_map *map) bpf_map 4670 tools/lib/bpf/libbpf.c __u32 bpf_map__btf_value_type_id(const struct bpf_map *map) bpf_map 4675 tools/lib/bpf/libbpf.c int bpf_map__set_priv(struct bpf_map *map, void *priv, bpf_map 4691 tools/lib/bpf/libbpf.c void *bpf_map__priv(const struct bpf_map *map) bpf_map 4696 tools/lib/bpf/libbpf.c bool bpf_map__is_offload_neutral(const struct bpf_map *map) bpf_map 4701 tools/lib/bpf/libbpf.c bool bpf_map__is_internal(const struct bpf_map *map) bpf_map 4706 tools/lib/bpf/libbpf.c void bpf_map__set_ifindex(struct bpf_map *map, __u32 ifindex) bpf_map 4711 tools/lib/bpf/libbpf.c int bpf_map__set_inner_map_fd(struct bpf_map *map, int fd) bpf_map 4725 tools/lib/bpf/libbpf.c static struct bpf_map * bpf_map 4726 tools/lib/bpf/libbpf.c __bpf_map__iter(const struct bpf_map *m, const struct bpf_object *obj, int i) bpf_map 4729 tools/lib/bpf/libbpf.c struct bpf_map *s, *e; bpf_map 4749 tools/lib/bpf/libbpf.c struct bpf_map * bpf_map 4750 tools/lib/bpf/libbpf.c bpf_map__next(const struct bpf_map *prev, const struct bpf_object *obj) bpf_map 4758 tools/lib/bpf/libbpf.c struct bpf_map * bpf_map 4759 tools/lib/bpf/libbpf.c bpf_map__prev(const struct bpf_map *next, const struct bpf_object *obj) bpf_map 4770 tools/lib/bpf/libbpf.c struct bpf_map * bpf_map 4773 tools/lib/bpf/libbpf.c struct bpf_map *pos; bpf_map 4788 tools/lib/bpf/libbpf.c struct bpf_map * bpf_map 4820 tools/lib/bpf/libbpf.c struct bpf_map *map; bpf_map 298 tools/lib/bpf/libbpf.h struct bpf_map; bpf_map 299 tools/lib/bpf/libbpf.h LIBBPF_API struct bpf_map * bpf_map 309 tools/lib/bpf/libbpf.h LIBBPF_API struct bpf_map * bpf_map 312 tools/lib/bpf/libbpf.h LIBBPF_API struct bpf_map * bpf_map 313 tools/lib/bpf/libbpf.h bpf_map__next(const struct bpf_map *map, const struct bpf_object *obj); bpf_map 320 tools/lib/bpf/libbpf.h LIBBPF_API struct bpf_map * bpf_map 321 tools/lib/bpf/libbpf.h bpf_map__prev(const struct bpf_map *map, const struct bpf_object *obj); bpf_map 323 tools/lib/bpf/libbpf.h LIBBPF_API int bpf_map__fd(const struct bpf_map *map); bpf_map 324 tools/lib/bpf/libbpf.h LIBBPF_API const struct bpf_map_def *bpf_map__def(const struct bpf_map *map); bpf_map 325 tools/lib/bpf/libbpf.h LIBBPF_API const char *bpf_map__name(const struct bpf_map *map); bpf_map 326 tools/lib/bpf/libbpf.h LIBBPF_API __u32 bpf_map__btf_key_type_id(const struct bpf_map *map); bpf_map 327 tools/lib/bpf/libbpf.h LIBBPF_API __u32 bpf_map__btf_value_type_id(const struct bpf_map *map); bpf_map 329 tools/lib/bpf/libbpf.h typedef void (*bpf_map_clear_priv_t)(struct bpf_map *, void *); bpf_map 330 tools/lib/bpf/libbpf.h LIBBPF_API int bpf_map__set_priv(struct bpf_map *map, void *priv, bpf_map 332 tools/lib/bpf/libbpf.h LIBBPF_API void *bpf_map__priv(const struct bpf_map *map); bpf_map 333 tools/lib/bpf/libbpf.h LIBBPF_API int bpf_map__reuse_fd(struct bpf_map *map, int fd); bpf_map 334 tools/lib/bpf/libbpf.h LIBBPF_API int bpf_map__resize(struct bpf_map *map, __u32 max_entries); bpf_map 335 tools/lib/bpf/libbpf.h LIBBPF_API bool bpf_map__is_offload_neutral(const struct bpf_map *map); bpf_map 336 tools/lib/bpf/libbpf.h LIBBPF_API bool bpf_map__is_internal(const struct bpf_map *map); bpf_map 337 tools/lib/bpf/libbpf.h LIBBPF_API void bpf_map__set_ifindex(struct bpf_map *map, __u32 ifindex); bpf_map 338 tools/lib/bpf/libbpf.h LIBBPF_API int bpf_map__pin(struct bpf_map *map, const char *path); bpf_map 339 tools/lib/bpf/libbpf.h LIBBPF_API int bpf_map__unpin(struct bpf_map *map, const char *path); bpf_map 341 tools/lib/bpf/libbpf.h LIBBPF_API int bpf_map__set_inner_map_fd(struct bpf_map *map, int fd); bpf_map 94 tools/perf/builtin-trace.c struct bpf_map *map; bpf_map 96 tools/perf/builtin-trace.c struct bpf_map *sys_enter, bpf_map 107 tools/perf/builtin-trace.c struct bpf_map *map; bpf_map 129 tools/perf/builtin-trace.c struct bpf_map *map; bpf_map 3138 tools/perf/builtin-trace.c static int bpf_map__set_filter_pids(struct bpf_map *map __maybe_unused, bpf_map 4006 tools/perf/builtin-trace.c static struct bpf_map *trace__find_bpf_map_by_name(struct trace *trace, const char *name) bpf_map 23 tools/perf/examples/bpf/augmented_raw_syscalls.c bpf_map(__augmented_syscalls__, PERF_EVENT_ARRAY, int, u32, __NR_CPUS__); bpf_map 35 tools/perf/examples/bpf/augmented_raw_syscalls.c bpf_map(syscalls, ARRAY, int, struct syscall, 512); bpf_map 42 tools/perf/examples/bpf/augmented_raw_syscalls.c bpf_map(syscalls_sys_enter, PROG_ARRAY, u32, u32, 512); bpf_map 49 tools/perf/examples/bpf/augmented_raw_syscalls.c bpf_map(syscalls_sys_exit, PROG_ARRAY, u32, u32, 512); bpf_map 82 tools/perf/examples/bpf/augmented_raw_syscalls.c bpf_map(augmented_args_tmp, PERCPU_ARRAY, int, struct augmented_args_payload, 1); bpf_map 23 tools/perf/examples/bpf/augmented_syscalls.c bpf_map(__augmented_syscalls__, PERF_EVENT_ARRAY, int, u32, __NR_CPUS__); bpf_map 25 tools/perf/examples/bpf/etcsnoop.c bpf_map(__augmented_syscalls__, PERF_EVENT_ARRAY, int, u32, __NR_CPUS__); bpf_map 22 tools/perf/include/bpf/bpf.h struct bpf_map SEC("maps") name = { \ bpf_map 43 tools/perf/include/bpf/bpf.h #define pid_map(name, value_type) bpf_map(name, HASH, pid_t, value_type, 64) bpf_map 45 tools/perf/include/bpf/bpf.h static int (*bpf_map_update_elem)(struct bpf_map *map, void *key, void *value, u64 flags) = (void *)BPF_FUNC_map_update_elem; bpf_map 46 tools/perf/include/bpf/bpf.h static void *(*bpf_map_lookup_elem)(struct bpf_map *map, void *key) = (void *)BPF_FUNC_map_lookup_elem; bpf_map 68 tools/perf/include/bpf/bpf.h static int (*perf_event_output)(void *, struct bpf_map *, int, void *, unsigned long) = (void *)BPF_FUNC_perf_event_output; bpf_map 10 tools/perf/include/bpf/pid_filter.h static int pid_filter__add(struct bpf_map *pids, pid_t pid) bpf_map 16 tools/perf/include/bpf/pid_filter.h static bool pid_filter__has(struct bpf_map *pids, pid_t pid) bpf_map 5 tools/perf/include/bpf/stdio.h struct bpf_map SEC("maps") __bpf_stdout__ = { bpf_map 853 tools/perf/util/bpf-loader.c bpf_map_priv__clear(struct bpf_map *map __maybe_unused, bpf_map 958 tools/perf/util/bpf-loader.c bpf_map__add_op(struct bpf_map *map, struct bpf_map_op *op) bpf_map 987 tools/perf/util/bpf-loader.c bpf_map__add_newop(struct bpf_map *map, struct parse_events_term *term) bpf_map 1005 tools/perf/util/bpf-loader.c __bpf_map__config_value(struct bpf_map *map, bpf_map 1047 tools/perf/util/bpf-loader.c bpf_map__config_value(struct bpf_map *map, bpf_map 1065 tools/perf/util/bpf-loader.c __bpf_map__config_event(struct bpf_map *map, bpf_map 1107 tools/perf/util/bpf-loader.c bpf_map__config_event(struct bpf_map *map, bpf_map 1126 tools/perf/util/bpf-loader.c int (*config_func)(struct bpf_map *, struct parse_events_term *, bpf_map 1137 tools/perf/util/bpf-loader.c struct bpf_map *map, bpf_map 1180 tools/perf/util/bpf-loader.c struct bpf_map *map; bpf_map 1309 tools/perf/util/bpf-loader.c bpf_map_config_foreach_key(struct bpf_map *map, bpf_map 1484 tools/perf/util/bpf-loader.c apply_obj_config_map(struct bpf_map *map) bpf_map 1494 tools/perf/util/bpf-loader.c struct bpf_map *map; bpf_map 1534 tools/perf/util/bpf-loader.c struct bpf_map *map; bpf_map 28 tools/perf/util/bpf_map.c int bpf_map__fprintf(struct bpf_map *map, FILE *fp) bpf_map 7 tools/perf/util/bpf_map.h struct bpf_map; bpf_map 11 tools/perf/util/bpf_map.h int bpf_map__fprintf(struct bpf_map *map, FILE *fp); bpf_map 15 tools/perf/util/bpf_map.h static inline int bpf_map__fprintf(struct bpf_map *map __maybe_unused, FILE *fp __maybe_unused) bpf_map 17 tools/testing/selftests/bpf/flow_dissector_load.h struct bpf_map *prog_array, *keys; bpf_map 38 tools/testing/selftests/bpf/get_cgroup_id_user.c struct bpf_map *map; bpf_map 296 tools/testing/selftests/bpf/prog_tests/core_reloc.c struct bpf_map *data_map; bpf_map 94 tools/testing/selftests/bpf/prog_tests/get_stack_raw_tp.c struct bpf_map *map; bpf_map 105 tools/testing/selftests/bpf/prog_tests/global_data.c struct bpf_map *map; bpf_map 27 tools/testing/selftests/bpf/prog_tests/perf_buffer.c struct bpf_map *perf_buf_map; bpf_map 127 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c struct bpf_map *map; bpf_map 4127 tools/testing/selftests/bpf/test_btf.c struct bpf_map *map; bpf_map 69 tools/testing/selftests/bpf/test_libbpf_open.c struct bpf_map *map; bpf_map 651 tools/testing/selftests/bpf/test_maps.c struct bpf_map *bpf_map_rx, *bpf_map_tx, *bpf_map_msg, *bpf_map_break; bpf_map 1147 tools/testing/selftests/bpf/test_maps.c struct bpf_map *map; bpf_map 24 tools/testing/selftests/bpf/test_netcnt.c struct bpf_map *map; bpf_map 186 tools/testing/selftests/bpf/test_progs.c struct bpf_map *map; bpf_map 88 tools/testing/selftests/bpf/test_select_reuseport.c struct bpf_map *map; bpf_map 422 tools/testing/selftests/bpf/test_sock_fields.c struct bpf_map *map; bpf_map 92 tools/testing/selftests/bpf/test_socket_cookie.c static int validate_map(struct bpf_map *map, int client_fd) bpf_map 67 tools/testing/selftests/bpf/test_sockmap.c struct bpf_map *maps[8]; bpf_map 80 tools/testing/selftests/bpf/test_tcpbpf_user.c struct bpf_map *map; bpf_map 73 tools/testing/selftests/bpf/test_tcpnotify_user.c struct bpf_map *perf_map, *global_map; bpf_map 99 tools/testing/selftests/bpf/xdping.c struct bpf_map *map;