Searched refs:bpf_map (Results 51 - 75 of 137) sorted by relevance

123456

/linux-master/tools/testing/selftests/bpf/progs/
H A Dtimer_mim_reject.c50 struct bpf_map *inner_map, *inner_map2;
H A Dmap_in_map_btf.c49 struct bpf_map *map;
H A Dtimer_mim.c68 struct bpf_map *inner_map;
H A Dbpf_iter_bpf_hash_map.c47 struct bpf_map *map = ctx->map;
H A Dsyscall.c14 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 Dverifier_iterating_callbacks.c18 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 Dload_bytes_relative.c16 struct bpf_map *test_result;
H A Dglobal_data_init.c10 struct bpf_map *map;
H A Drdonly_maps.c28 struct bpf_map *bss_map;
H A Dtest_struct_ops_module.c34 struct bpf_map *map,
H A Dglobal_map_resize.c23 struct bpf_map *map;
92 struct bpf_map *map;
163 struct bpf_map *map;
H A Dsockmap_listen.c728 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 Dtailcalls.c15 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 Dmap_in_map.c76 struct bpf_map *outer_map;
H A Dpinning.c12 struct bpf_map *map;
39 struct bpf_map *map;
/linux-master/samples/bpf/
H A Dtracex6.bpf.c56 int BPF_KPROBE(bpf_prog2, struct bpf_map *map)
/linux-master/kernel/bpf/
H A Dlpm_trie.c33 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 Dsyscall.c115 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 Dbpf_local_storage.c29 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 Doffload.c513 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 Dbpf-cgroup.h18 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 Dpid_iter.bpf.c44 return BPF_CORE_READ((struct bpf_map *)ent, id);
/linux-master/tools/testing/selftests/bpf/benchs/
H A Dbench_local_storage.c96 struct bpf_map *array_of_maps;
117 struct bpf_map *inner_map;
/linux-master/tools/testing/selftests/bpf/
H A Dxsk.h208 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 Dgen.c93 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...]

Completed in 203 milliseconds

123456