/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | timer_mim_reject.c | 50 struct bpf_map *inner_map, *inner_map2;
|
H A D | map_in_map_btf.c | 49 struct bpf_map *map;
|
H A D | timer_mim.c | 68 struct bpf_map *inner_map;
|
H A D | bpf_iter_bpf_hash_map.c | 47 struct bpf_map *map = ctx->map;
|
H A D | syscall.c | 14 struct bpf_map { struct 167 attr = bpf_map_lookup_elem((struct bpf_map *)&bpf_attr_array, &zero); 172 attr->map_id = ((struct bpf_map *)&outer_array_map)->id;
|
H A D | verifier_iterating_callbacks.c | 18 struct bpf_map; 119 static __u64 for_each_map_elem_cb(struct bpf_map *map, __u32 *key, __u64 *val, void *data)
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | load_bytes_relative.c | 16 struct bpf_map *test_result;
|
H A D | global_data_init.c | 10 struct bpf_map *map;
|
H A D | rdonly_maps.c | 28 struct bpf_map *bss_map;
|
H A D | test_struct_ops_module.c | 34 struct bpf_map *map,
|
H A D | global_map_resize.c | 23 struct bpf_map *map; 92 struct bpf_map *map; 163 struct bpf_map *map;
|
H A D | sockmap_listen.c | 728 struct bpf_map *inner_map, int family, 753 struct bpf_map *inner_map, int family, 830 struct bpf_map *inner_map, int family, 855 struct bpf_map *inner_map, int family, 919 struct bpf_map *inner_map, int family, 1190 static void test_ops_cleanup(const struct bpf_map *map) 1220 static const char *map_type_str(const struct bpf_map *map) 1250 static void test_ops(struct test_sockmap_listen *skel, struct bpf_map *map, 1307 static void test_redir(struct test_sockmap_listen *skel, struct bpf_map *map, 1312 struct bpf_map *ma [all...] |
H A D | tailcalls.c | 15 struct bpf_map *prog_array; 151 struct bpf_map *prog_array; 230 struct bpf_map *prog_array, *data_map; 411 struct bpf_map *prog_array, *data_map; 501 struct bpf_map *prog_array, *data_map; 591 struct bpf_map *prog_array; 675 struct bpf_map *prog_array, *data_map; 755 struct bpf_map *prog_array; 850 struct bpf_map *prog_array, *data_map; 1013 struct bpf_map *prog_arra [all...] |
H A D | map_in_map.c | 76 struct bpf_map *outer_map;
|
H A D | pinning.c | 12 struct bpf_map *map; 39 struct bpf_map *map;
|
/linux-master/samples/bpf/ |
H A D | tracex6.bpf.c | 56 int BPF_KPROBE(bpf_prog2, struct bpf_map *map)
|
/linux-master/kernel/bpf/ |
H A D | lpm_trie.c | 33 struct bpf_map map; 228 static void *trie_lookup_elem(struct bpf_map *map, void *_key) 306 static long trie_update_elem(struct bpf_map *map, 437 static long trie_delete_elem(struct bpf_map *map, void *_key) 546 static struct bpf_map *trie_alloc(union bpf_attr *attr) 576 static void trie_free(struct bpf_map *map) 615 static int trie_get_next_key(struct bpf_map *map, void *_key, void *_next_key) 713 static int trie_check_btf(const struct bpf_map *map, 723 static u64 trie_mem_usage(const struct bpf_map *map)
|
H A D | syscall.c | 115 static void bpf_map_write_active_inc(struct bpf_map *map) 120 static void bpf_map_write_active_dec(struct bpf_map *map) 125 bool bpf_map_write_active(const struct bpf_map *map) 130 static u32 bpf_map_value_size(const struct bpf_map *map) 143 static void maybe_wait_bpf_programs(struct bpf_map *map) 158 static int bpf_map_update_value(struct bpf_map *map, struct file *map_file, 211 static int bpf_map_copy_value(struct bpf_map *map, void *key, void *value, 339 void bpf_map_init_from_attr(struct bpf_map *map, union bpf_attr *attr) 350 static int bpf_map_alloc_id(struct bpf_map *map) 368 void bpf_map_free_id(struct bpf_map *ma [all...] |
H A D | bpf_local_storage.c | 29 struct bpf_map *map = &smap->map; 40 struct bpf_map *map = &smap->map; 49 struct bpf_map *map = &smap->map; 687 int bpf_local_storage_map_check_btf(const struct bpf_map *map, 715 /* Neither the bpf_prog nor the bpf_map's syscall 718 * local_storage->list by the bpf_prog or by the bpf_map's syscall. 745 u64 bpf_local_storage_map_mem_usage(const struct bpf_map *map) 765 struct bpf_map * 822 void bpf_local_storage_map_free(struct bpf_map *map,
|
H A D | offload.c | 513 struct bpf_map *bpf_map_offload_map_alloc(union bpf_attr *attr) 562 void bpf_map_offload_map_free(struct bpf_map *map) 576 u64 bpf_map_offload_map_mem_usage(const struct bpf_map *map) 582 int bpf_map_offload_lookup_elem(struct bpf_map *map, void *key, void *value) 595 int bpf_map_offload_update_elem(struct bpf_map *map, 613 int bpf_map_offload_delete_elem(struct bpf_map *map, void *key) 626 int bpf_map_offload_get_next_key(struct bpf_map *map, void *key, void *next_key) 669 int bpf_map_offload_info_fill(struct bpf_map_info *info, struct bpf_map *map) 743 bool bpf_offload_prog_map_match(struct bpf_prog *prog, struct bpf_map *map)
|
/linux-master/include/linux/ |
H A D | bpf-cgroup.h | 18 struct bpf_map; 159 struct bpf_map *map) 177 int bpf_cgroup_storage_assign(struct bpf_prog_aux *aux, struct bpf_map *map); 179 int bpf_percpu_cgroup_storage_copy(struct bpf_map *map, void *key, void *value); 180 int bpf_percpu_cgroup_storage_update(struct bpf_map *map, void *key, 482 struct bpf_map *map) { return 0; } 487 static inline int bpf_percpu_cgroup_storage_copy(struct bpf_map *map, void *key, 491 static inline int bpf_percpu_cgroup_storage_update(struct bpf_map *map,
|
/linux-master/tools/bpf/bpftool/skeleton/ |
H A D | pid_iter.bpf.c | 44 return BPF_CORE_READ((struct bpf_map *)ent, id);
|
/linux-master/tools/testing/selftests/bpf/benchs/ |
H A D | bench_local_storage.c | 96 struct bpf_map *array_of_maps; 117 struct bpf_map *inner_map;
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | xsk.h | 208 int xsk_update_xskmap(struct bpf_map *map, struct xsk_socket *xsk, u32 index); 209 void xsk_clear_xskmap(struct bpf_map *map);
|
/linux-master/tools/bpf/bpftool/ |
H A D | gen.c | 93 static bool get_map_ident(const struct bpf_map *map, char *buf, size_t buf_sz) 257 static bool is_mmapable_map(const struct bpf_map *map, char *buf, size_t sz) 279 struct bpf_map *map; 328 struct bpf_map *map; 486 static size_t bpf_map_mmap_sz(const struct bpf_map *map) 500 struct bpf_map *map; 647 struct bpf_map *map; 691 struct bpf_map *map; 853 struct bpf_map *map; 1055 const struct bpf_map *ma [all...] |