/linux-master/tools/lib/bpf/ |
H A D | libbpf.c | 74 static struct bpf_map *bpf_object__add_map(struct bpf_object *obj); 76 static int map_set_def_max_entries(struct bpf_map *map); 519 struct bpf_map { struct 543 struct bpf_map *inner_map; 655 struct bpf_map *maps; 703 struct bpf_map *arena_map; 1022 static bool bpf_map__is_struct_ops(const struct bpf_map *map) 1048 struct bpf_map *map; 1083 static int bpf_map__init_kern_struct_ops(struct bpf_map *map) 1253 struct bpf_map *ma [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | cmsg.c | 82 nfp_bpf_ctrl_alloc_map(struct nfp_app_bpf *bpf, struct bpf_map *map) 202 struct bpf_map *map = &nfp_map->offmap->map; 298 struct bpf_map *map = &offmap->map;
|
H A D | main.h | 226 struct bpf_map *ptr; 595 nfp_bpf_ctrl_alloc_map(struct nfp_app_bpf *bpf, struct bpf_map *map);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | global_data.c | 106 struct bpf_map *map, *map2;
|
H A D | get_stack_raw_tp.c | 96 struct bpf_map *map;
|
H A D | btf_map_in_map.c | 10 static __u32 bpf_map_id(struct bpf_map *map)
|
H A D | struct_ops_autocreate.c | 37 static int check_test_1_link(struct struct_ops_autocreate *skel, struct bpf_map *map)
|
H A D | cg_storage_multi.c | 22 static bool assert_storage(struct bpf_map *map, const void *key, 40 static bool assert_storage_noexist(struct bpf_map *map, const void *key)
|
H A D | core_autosize.c | 59 struct bpf_map *bss_map;
|
H A D | sockmap_basic.c | 59 static void compare_cookies(struct bpf_map *src, struct bpf_map *dst) 138 struct bpf_map *dst_map; 199 struct bpf_map *src;
|
H A D | verifier.c | 208 struct bpf_map *map;
|
H A D | flow_dissector.c | 509 static int init_prog_array(struct bpf_object *obj, struct bpf_map *prog_array) 537 static void run_tests_skb_less(int tap_fd, struct bpf_map *keys)
|
H A D | sk_lookup.c | 72 struct bpf_map *sock_map; 493 static int update_lookup_map(struct bpf_map *map, int index, int sock_fd) 1212 struct bpf_map *redir_map; 1213 struct bpf_map *run_map;
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | xdping.c | 98 struct bpf_map *map;
|
H A D | test_tcpnotify_user.c | 73 struct bpf_map *perf_map, *global_map;
|
H A D | get_cgroup_id_user.c | 38 struct bpf_map *map;
|
H A D | test_loader.c | 475 static bool is_unpriv_capable_map(struct bpf_map *map) 570 struct bpf_map *map;
|
/linux-master/include/net/ |
H A D | xdp_sock.h | 42 struct bpf_map map;
|
/linux-master/kernel/bpf/ |
H A D | inode.c | 182 static struct bpf_map *seq_file_to_map(struct seq_file *m) 195 static struct map_iter *map_iter_alloc(struct bpf_map *map) 216 struct bpf_map *map = seq_file_to_map(m); 252 struct bpf_map *map = seq_file_to_map(m); 274 struct bpf_map *map = inode->i_private; 354 struct bpf_map *map = arg;
|
H A D | helpers.c | 38 BPF_CALL_2(bpf_map_lookup_elem, struct bpf_map *, map, void *, key) 54 BPF_CALL_4(bpf_map_update_elem, struct bpf_map *, map, void *, key, 73 BPF_CALL_2(bpf_map_delete_elem, struct bpf_map *, map, void *, key) 89 BPF_CALL_3(bpf_map_push_elem, struct bpf_map *, map, void *, value, u64, flags) 104 BPF_CALL_2(bpf_map_pop_elem, struct bpf_map *, map, void *, value) 117 BPF_CALL_2(bpf_map_peek_elem, struct bpf_map *, map, void *, value) 130 BPF_CALL_3(bpf_map_lookup_percpu_elem, struct bpf_map *, map, void *, key, u32, cpu) 374 void copy_map_value_locked(struct bpf_map *map, void *dst, void *src, 635 BPF_CALL_5(bpf_event_output_data, void *, ctx, struct bpf_map *, map, 1088 * remembers 'struct bpf_map *' pointe [all...] |
/linux-master/samples/bpf/ |
H A D | map_perf_test_user.c | 405 struct bpf_map *map; 430 struct bpf_map *map;
|
/linux-master/include/linux/ |
H A D | lsm_hook_defs.h | 423 LSM_HOOK(int, 0, bpf_map, struct bpf_map *map, fmode_t fmode) 425 LSM_HOOK(int, 0, bpf_map_create, struct bpf_map *map, union bpf_attr *attr, 427 LSM_HOOK(void, LSM_RET_VOID, bpf_map_free, struct bpf_map *map)
|
H A D | security.h | 2125 struct bpf_map; 2130 extern int security_bpf_map(struct bpf_map *map, fmode_t fmode); 2132 extern int security_bpf_map_create(struct bpf_map *map, union bpf_attr *attr, 2134 extern void security_bpf_map_free(struct bpf_map *map); 2150 static inline int security_bpf_map(struct bpf_map *map, fmode_t fmode) 2160 static inline int security_bpf_map_create(struct bpf_map *map, union bpf_attr *attr, 2166 static inline void security_bpf_map_free(struct bpf_map *map)
|
H A D | bpf_verifier.h | 86 struct bpf_map *map_ptr; 678 struct bpf_map *used_maps[MAX_USED_MAPS]; /* array of map's used by eBPF program */
|
/linux-master/tools/testing/selftests/bpf/benchs/ |
H A D | bench_htab_mem.c | 157 struct bpf_map *map;
|