Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
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()
Dpinning.c180 if (!strcmp(bpf_map__name(map), "nopinmap")) in test_pinning()
182 else if (!strcmp(bpf_map__name(map), "nopinmap2")) in test_pinning()
Dsubskeleton.c39 ASSERT_STREQ(bpf_map__name(lib->maps.map1), "map1", "map name"); in subskeleton_lib_subresult()
/linux-6.6.21/tools/bpf/bpftool/
Dstruct_ops.c539 bpf_map__name(map), strerror(errno)); in do_register()
551 bpf_map__name(map), strerror(errno)); in do_register()
565 bpf_map__name(map), strerror(errno)); in do_register()
Dgen.c79 const char *name = bpf_map__name(map); in get_map_ident()
852 i, bpf_map__name(map), i, ident); in codegen_maps_skeleton()
990 bpf_map__name(map)); in do_skeleton()
Dprog.c1725 if (!strcmp(bpf_map__name(map), map_replace[j].name)) { in load_with_options()
/linux-6.6.21/tools/lib/bpf/
Dlibbpf.map7 bpf_map__name;
Dlibbpf.c2184 err = pathname_concat(buf, sizeof(buf), path, bpf_map__name(map)); in build_map_pin_path()
8104 bpf_map__name(map), map->pin_path, path); in bpf_map__pin()
8108 bpf_map__name(map), map->pin_path); in bpf_map__pin()
8114 bpf_map__name(map)); in bpf_map__pin()
8117 pr_warn("map '%s' already pinned\n", bpf_map__name(map)); in bpf_map__pin()
8164 bpf_map__name(map), map->pin_path, path); in bpf_map__unpin()
8170 bpf_map__name(map)); in bpf_map__unpin()
8183 pr_debug("unpinned map '%s' from '%s'\n", bpf_map__name(map), path); in bpf_map__unpin()
8247 err = pathname_concat(buf, sizeof(buf), path, bpf_map__name(map)); in bpf_object__pin_maps()
8287 err = pathname_concat(buf, sizeof(buf), path, bpf_map__name(map)); in bpf_object__unpin_maps()
[all …]
Dlibbpf.h938 LIBBPF_API const char *bpf_map__name(const struct bpf_map *map);
/linux-6.6.21/samples/bpf/
Dmap_perf_test_user.c409 const char *name = bpf_map__name(map); in fixup_map()
/linux-6.6.21/tools/bpf/bpftool/Documentation/
Dbpftool-gen.rst354 printf("my_map name: %s\n", bpf_map__name(skel->maps.my_map));