Home
last modified time | relevance | path

Searched defs:map_type (Results 1 – 25 of 27) sorted by relevance

12

/tools/testing/selftests/bpf/
A Dtest_lru_map.c28 static int create_map(int map_type, int map_flags, unsigned int size) in create_map()
161 static void test_lru_sanity0(int map_type, int map_flags) in test_lru_sanity0()
252 static void test_lru_sanity1(int map_type, int map_flags, unsigned int tgt_free) in test_lru_sanity1()
320 static void test_lru_sanity2(int map_type, int map_flags, unsigned int tgt_free) in test_lru_sanity2()
426 static void test_lru_sanity3(int map_type, int map_flags, unsigned int tgt_free) in test_lru_sanity3()
487 static void test_lru_sanity4(int map_type, int map_flags, unsigned int tgt_free) in test_lru_sanity4()
564 static void test_lru_sanity5(int map_type, int map_flags) in test_lru_sanity5()
611 static void test_lru_sanity6(int map_type, int map_flags, int tgt_free) in test_lru_sanity6()
678 static void test_lru_sanity7(int map_type, int map_flags) in test_lru_sanity7()
769 static void test_lru_sanity8(int map_type, int map_flags) in test_lru_sanity8()
A Dtest_maps.c1588 static void test_map_wronly_stack_or_queue(enum bpf_map_type map_type) in test_map_wronly_stack_or_queue()
A Dtest_verifier.c531 static bool skip_unsupported_map(enum bpf_map_type map_type) in skip_unsupported_map()
/tools/testing/selftests/bpf/map_tests/
A Dmap_in_map_batch_ops.c31 static void create_inner_maps(enum bpf_map_type map_type, in create_inner_maps()
66 static int create_outer_map(enum bpf_map_type map_type, __u32 inner_map_fd) in create_outer_map()
A Dmap_percpu_stats.c129 static bool is_lru(__u32 map_type) in is_lru()
135 static bool is_percpu(__u32 map_type) in is_percpu()
142 __u32 map_type; member
/tools/testing/selftests/bpf/prog_tests/
A Dsockmap_basic.c90 static void test_sockmap_create_update_free(enum bpf_map_type map_type) in test_sockmap_create_update_free()
145 static void test_skmsg_helpers(enum bpf_map_type map_type) in test_skmsg_helpers()
168 static void test_skmsg_helpers_with_link(enum bpf_map_type map_type) in test_skmsg_helpers_with_link()
227 static void test_sockmap_update(enum bpf_map_type map_type) in test_sockmap_update()
283 static void test_sockmap_copy(enum bpf_map_type map_type) in test_sockmap_copy()
A Dsockmap_ktls.c121 enum bpf_map_type map_type) in fmt_test_name()
406 static void run_tests(int family, enum bpf_map_type map_type) in run_tests()
A Dlibbpf_probes.c68 enum bpf_map_type map_type = (enum bpf_map_type)e->val; in test_libbpf_probe_map_types() local
A Dmap_init.c38 static struct test_map_init *setup(enum bpf_map_type map_type, int map_sz, in setup()
A Dlibbpf_str.c130 enum bpf_map_type map_type = (enum bpf_map_type)e->val; in test_libbpf_bpf_map_type_str() local
A Dlookup_and_delete.c44 static struct test_lookup_and_delete *setup_prog(enum bpf_map_type map_type, in setup_prog()
A Dbtf.c67 enum bpf_map_type map_type; member
5268 enum bpf_map_type map_type; member
/tools/lib/bpf/
A Dlibbpf_probes.c282 static int probe_map_create(enum bpf_map_type map_type) in probe_map_create()
405 int libbpf_probe_bpf_map_type(enum bpf_map_type map_type, const void *opts) in libbpf_probe_bpf_map_type()
A Dskel_internal.h219 static inline int skel_map_create(enum bpf_map_type map_type, in skel_map_create()
A Dgen_loader.c482 enum bpf_map_type map_type, in bpf_gen__map_create()
A Dlibbpf_internal.h270 __u32 map_type; member
A Dbpf.c168 int bpf_map_create(enum bpf_map_type map_type, in bpf_map_create()
A Dlibbpf.c5144 enum libbpf_map_type map_type = map->libbpf_type; in bpf_object__populate_internal_map() local
14005 const struct btf_type *map_type, *var_type; in bpf_object__open_subskeleton() local
/tools/testing/selftests/filesystems/
A Dutils.c63 idmap_type_t map_type; member
180 static int write_id_mapping(idmap_type_t map_type, pid_t pid, const char *buf, size_t buf_size) in write_id_mapping()
238 idmap_type_t map_type, u_or_g; in map_ids_from_idmap() local
/tools/bpf/bpftool/
A Dfeature.c593 static bool probe_map_type_ifindex(enum bpf_map_type map_type, __u32 ifindex) in probe_map_type_ifindex()
614 probe_map_type(enum bpf_map_type map_type, char const *map_type_str, in probe_map_type()
981 unsigned int map_type = BPF_MAP_TYPE_UNSPEC; in section_map_types() local
A Dgen.c964 const struct btf_type *map_type, __u32 map_type_id) in walk_st_ops_shadow_vars()
1081 const struct btf_type *map_type; in gen_st_ops_shadow_type() local
1583 const struct btf_type *map_type, *var_type; in do_subskeleton() local
A Dmap.c1252 enum bpf_map_type map_type = BPF_MAP_TYPE_UNSPEC; in do_create() local
/tools/testing/selftests/arm64/mte/
A Dcheck_user_mem.c145 const char* map_type; in format_test_name() local
/tools/testing/selftests/bpf/progs/
A Dmap_kptr.c98 #define DEFINE_MAP_OF_MAP(map_type, inner_map_type, name) \ argument
A Dmap_ptr_kern.c31 enum bpf_map_type map_type; member

Completed in 870 milliseconds

12