Home
last modified time | relevance | path

Searched refs:bpf_map__name (Results 1 – 12 of 12) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dskeleton.c42 ASSERT_STREQ(bpf_map__name(skel->maps.rodata_dyn), ".rodata.dyn", "rodata_dyn_name"); in test_skeleton()
43 ASSERT_STREQ(bpf_map__name(skel->maps.data_dyn), ".data.dyn", "data_dyn_name"); in test_skeleton()
H A Dpinning.c180 if (!strcmp(bpf_map__name(map), "nopinmap")) in test_pinning()
182 else if (!strcmp(bpf_map__name(map), "nopinmap2")) in test_pinning()
H A Dsubskeleton.c39 ASSERT_STREQ(bpf_map__name(lib->maps.map1), "map1", "map name"); in subskeleton_lib_subresult()
/linux/tools/bpf/bpftool/
H A Dstruct_ops.c545 bpf_map__name(map), strerror(errno)); in do_register()
557 bpf_map__name(map), strerror(errno)); in do_register()
571 bpf_map__name(map), strerror(errno)); in do_register()
H A Dgen.c96 const char *name = bpf_map__name(map); in get_map_ident()
903 i, bpf_map__name(map), ident); in codegen_maps_skeleton()
1249 bpf_map__name(map)); in do_skeleton()
H A Dprog.c1736 if (!strcmp(bpf_map__name(map), map_replace[j].name)) { in load_with_options()
/linux/tools/lib/bpf/
H A Dlibbpf.map7 bpf_map__name;
H A Dlibbpf.c2517 err = pathname_concat(buf, sizeof(buf), path, bpf_map__name(map)); in build_map_pin_path()
5131 bpf_map__name(map), errstr(err)); in bpf_object__populate_internal_map()
5141 bpf_map__name(map), errstr(err)); in bpf_object__populate_internal_map()
5168 bpf_map__name(map), errstr(err)); in bpf_object__populate_internal_map()
8728 bpf_map__name(map), map->pin_path, path); in bpf_map__pin()
8732 bpf_map__name(map), map->pin_path); in bpf_map__pin()
8738 bpf_map__name(map)); in bpf_map__pin()
8741 pr_warn("map '%s' already pinned\n", bpf_map__name(map)); in bpf_map__pin()
8787 bpf_map__name(map), map->pin_path, path); in bpf_map__unpin()
8793 bpf_map__name(map)); in bpf_map__unpin()
[all …]
H A Dlibbpf.h1017 LIBBPF_API const char *bpf_map__name(const struct bpf_map *map);
/linux/samples/bpf/
H A Dmap_perf_test_user.c409 const char *name = bpf_map__name(map); in fixup_map()
/linux/tools/testing/selftests/bpf/
H A Dtest_loader.c1064 bpf_map__name(map), err); in process_subtest()
/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-gen.rst377 printf("my_map name: %s\n", bpf_map__name(skel->maps.my_map));