Home
last modified time | relevance | path

Searched refs:bpf_map_type (Results 1 – 15 of 15) sorted by relevance

/tools/lib/bpf/
Dbpf.h39 enum bpf_map_type map_type;
57 LIBBPF_API int bpf_create_map_node(enum bpf_map_type map_type, const char *name,
60 LIBBPF_API int bpf_create_map_name(enum bpf_map_type map_type, const char *name,
63 LIBBPF_API int bpf_create_map(enum bpf_map_type map_type, int key_size,
65 LIBBPF_API int bpf_create_map_in_map_node(enum bpf_map_type map_type,
69 LIBBPF_API int bpf_create_map_in_map(enum bpf_map_type map_type,
Dbpf.c107 int bpf_create_map_node(enum bpf_map_type map_type, const char *name, in bpf_create_map_node()
127 int bpf_create_map(enum bpf_map_type map_type, int key_size, in bpf_create_map()
141 int bpf_create_map_name(enum bpf_map_type map_type, const char *name, in bpf_create_map_name()
157 int bpf_create_map_in_map_node(enum bpf_map_type map_type, const char *name, in bpf_create_map_in_map_node()
183 int bpf_create_map_in_map(enum bpf_map_type map_type, const char *name, in bpf_create_map_in_map()
Dlibbpf.h442 LIBBPF_API enum bpf_map_type bpf_map__type(const struct bpf_map *map);
443 LIBBPF_API int bpf_map__set_type(struct bpf_map *map, enum bpf_map_type type);
634 LIBBPF_API bool bpf_probe_map_type(enum bpf_map_type map_type, __u32 ifindex);
Dlibbpf_probes.c202 bool bpf_probe_map_type(enum bpf_map_type map_type, __u32 ifindex) in bpf_probe_map_type()
Dlibbpf.c1221 static bool bpf_map_type__is_map_in_map(enum bpf_map_type type) in bpf_map_type__is_map_in_map()
8837 enum bpf_map_type bpf_map__type(const struct bpf_map *map) in bpf_map__type()
8842 int bpf_map__set_type(struct bpf_map *map, enum bpf_map_type type) in bpf_map__set_type()
/tools/testing/selftests/bpf/prog_tests/
Dsockmap_basic.c83 static void test_sockmap_create_update_free(enum bpf_map_type map_type) in test_sockmap_create_update_free()
109 static void test_skmsg_helpers(enum bpf_map_type map_type) in test_skmsg_helpers()
138 static void test_sockmap_update(enum bpf_map_type map_type) in test_sockmap_update()
197 static void test_sockmap_copy(enum bpf_map_type map_type) in test_sockmap_copy()
Dsockmap_ktls.c95 static void run_tests(int family, enum bpf_map_type map_type) in run_tests()
Dmap_init.c38 static struct test_map_init *setup(enum bpf_map_type map_type, int map_sz, in setup()
Dselect_reuseport.c39 static enum bpf_map_type inner_map_type;
67 static int create_maps(enum bpf_map_type inner_type) in create_maps()
747 static const char *maptype_str(enum bpf_map_type type) in maptype_str()
848 void test_map_type(enum bpf_map_type mt) in test_map_type()
Dbtf.c70 enum bpf_map_type map_type;
4541 enum bpf_map_type map_type;
/tools/testing/selftests/bpf/progs/
Dmap_ptr_kern.c13 enum bpf_map_type g_map_type = BPF_MAP_TYPE_UNSPEC;
34 enum bpf_map_type map_type;
/tools/testing/selftests/bpf/
Dtest_verifier.c370 static bool skip_unsupported_map(enum bpf_map_type map_type) in skip_unsupported_map()
504 enum bpf_map_type type = percpu ? BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE : in create_cgroup_storage()
Dtest_maps.c1434 static void test_map_wronly_stack_or_queue(enum bpf_map_type map_type) in test_map_wronly_stack_or_queue()
/tools/bpf/bpftool/
Dfeature.c526 probe_map_type(enum bpf_map_type map_type, const char *define_prefix, in probe_map_type()
/tools/include/uapi/linux/
Dbpf.h130 enum bpf_map_type { enum