Home
last modified time | relevance | path

Searched refs:bss_map (Results 1 – 3 of 3) sorted by relevance

/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Drdonly_maps.c28 struct bpf_map *bss_map; in test_rdonly_maps() local
40 bss_map = bpf_object__find_map_by_name(obj, ".bss"); in test_rdonly_maps()
41 if (CHECK(!bss_map, "find_bss_map", "failed\n")) in test_rdonly_maps()
56 err = bpf_map_update_elem(bpf_map__fd(bss_map), &zero, &bss, 0); in test_rdonly_maps()
70 err = bpf_map_lookup_elem(bpf_map__fd(bss_map), &zero, &bss); in test_rdonly_maps()
A Dcore_autosize.c59 struct bpf_map *bss_map; in test_core_autosize() local
166 bss_map = bpf_object__find_map_by_name(skel->obj, ".bss"); in test_core_autosize()
167 if (!ASSERT_OK_PTR(bss_map, "bss_map_find")) in test_core_autosize()
170 err = bpf_map__lookup_elem(bss_map, &zero, sizeof(zero), &out, sizeof(out), 0); in test_core_autosize()
A Dmmap.c23 struct bpf_map *data_map, *bss_map; in test_mmap() local
50 bss_map = skel->maps.bss; in test_mmap()
74 bpf_map__fd(bss_map), 0); in test_mmap()

Completed in 6 milliseconds