Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Drdonly_maps.c31 struct bpf_map *bss_map; in test_rdonly_maps() local
43 bss_map = bpf_object__find_map_by_name(obj, "test_rdo.bss"); in test_rdonly_maps()
44 if (CHECK(!bss_map, "find_bss_map", "failed\n")) in test_rdonly_maps()
59 err = bpf_map_update_elem(bpf_map__fd(bss_map), &zero, &bss, 0); in test_rdonly_maps()
76 err = bpf_map_lookup_elem(bpf_map__fd(bss_map), &zero, &bss); in test_rdonly_maps()
Dmmap.c33 struct bpf_map *data_map, *bss_map; in test_mmap() local
51 bss_map = bpf_object__find_map_by_name(obj, "test_mma.bss"); in test_mmap()
52 if (CHECK(!bss_map, "find_bss_map", ".bss map not found\n")) in test_mmap()
60 bpf_map__fd(bss_map), 0); in test_mmap()