Searched refs:bpf_map_type (Results 1 - 25 of 33) sorted by relevance

12

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dlibbpf_probes.c58 /* find enum bpf_map_type and enumerate each value */
59 id = btf__find_by_name_kind(btf, "bpf_map_type", BTF_KIND_ENUM);
68 enum bpf_map_type map_type = (enum bpf_map_type)e->val;
H A Dsockmap_ktls.c136 enum bpf_map_type map_type)
149 static void run_tests(int family, enum bpf_map_type map_type)
H A Dlibbpf_str.c108 * Test case to check that all bpf_map_type variants are covered by
122 /* find enum bpf_map_type and enumerate each value */
123 id = btf__find_by_name_kind(btf, "bpf_map_type", BTF_KIND_ENUM);
130 enum bpf_map_type map_type = (enum bpf_map_type)e->val;
H A Dmap_init.c38 static struct test_map_init *setup(enum bpf_map_type map_type, int map_sz,
H A Dlookup_and_delete.c44 static struct test_lookup_and_delete *setup_prog(enum bpf_map_type map_type,
H A Dselect_reuseport.c38 static enum bpf_map_type inner_map_type;
66 static int create_maps(enum bpf_map_type inner_type)
738 static const char *maptype_str(enum bpf_map_type type)
839 void test_map_type(enum bpf_map_type mt)
H A Dsockmap_basic.c89 static void test_sockmap_create_update_free(enum bpf_map_type map_type)
111 static void test_skmsg_helpers(enum bpf_map_type map_type)
134 static void test_sockmap_update(enum bpf_map_type map_type)
190 static void test_sockmap_copy(enum bpf_map_type map_type)
/linux-master/tools/perf/util/
H A Dbpf_map.c12 static bool bpf_map__is_per_cpu(enum bpf_map_type type)
/linux-master/samples/bpf/
H A Dtracex6.bpf.c60 enum bpf_map_type type;
/linux-master/tools/testing/selftests/bpf/map_tests/
H A Dmap_in_map_batch_ops.c31 static void create_inner_maps(enum bpf_map_type map_type,
66 static int create_outer_map(enum bpf_map_type map_type, __u32 inner_map_fd)
186 static void _map_in_map_batch_ops(enum bpf_map_type outer_map_type,
187 enum bpf_map_type inner_map_type)
/linux-master/tools/lib/bpf/
H A Dbpf_gen_internal.h59 enum bpf_map_type map_type, const char *map_name,
H A Dlibbpf_probes.c282 static int probe_map_create(enum bpf_map_type map_type)
405 int libbpf_probe_bpf_map_type(enum bpf_map_type map_type, const void *opts)
H A Dlibbpf.h77 * returned for unknown **bpf_map_type** values.
79 LIBBPF_API const char *libbpf_bpf_map_type_str(enum bpf_map_type t);
974 LIBBPF_API enum bpf_map_type bpf_map__type(const struct bpf_map *map);
975 LIBBPF_API int bpf_map__set_type(struct bpf_map *map, enum bpf_map_type type);
1608 LIBBPF_API int libbpf_probe_bpf_map_type(enum bpf_map_type map_type, const void *opts);
H A Dskel_internal.h219 static inline int skel_map_create(enum bpf_map_type map_type,
H A Dbpf.h61 LIBBPF_API int bpf_map_create(enum bpf_map_type map_type,
H A Dgen_loader.c449 enum bpf_map_type map_type,
/linux-master/include/trace/events/
H A Dxdp.h95 enum bpf_map_type map_type,
145 enum bpf_map_type map_type,
154 enum bpf_map_type map_type,
176 enum bpf_map_type map_type,
185 enum bpf_map_type map_type,
/linux-master/kernel/bpf/
H A Dtoken.c261 bool bpf_token_allow_map_type(const struct bpf_token *token, enum bpf_map_type type)
/linux-master/tools/testing/selftests/bpf/progs/
H A Dmap_ptr_kern.c13 enum bpf_map_type g_map_type = BPF_MAP_TYPE_UNSPEC;
31 enum bpf_map_type map_type;
/linux-master/tools/bpf/bpftool/
H A Dfeature.c593 static bool probe_map_type_ifindex(enum bpf_map_type map_type, __u32 ifindex)
614 probe_map_type(enum bpf_map_type map_type, char const *map_type_str,
/linux-master/tools/testing/selftests/bpf/
H A Dtest_loader.c477 enum bpf_map_type type;
H A Dtest_verifier.c535 static bool skip_unsupported_map(enum bpf_map_type map_type)
669 enum bpf_map_type type = percpu ? BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE :
/linux-master/include/linux/
H A Dbpf.h263 enum bpf_map_type map_type;
2347 bool bpf_token_allow_map_type(const struct bpf_token *token, enum bpf_map_type type);
H A Dfilter.h709 enum bpf_map_type map_type;
/linux-master/include/uapi/linux/
H A Dbpf.h964 enum bpf_map_type { enum
1456 __u32 map_type; /* one of enum bpf_map_type */

Completed in 1117 milliseconds

12