Home
last modified time | relevance | path

Searched refs:bpf_map__lookup_elem (Results 1 – 9 of 9) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcore_retro.c30 err = bpf_map__lookup_elem(skel->maps.results, &zero, sizeof(zero), &res, sizeof(res), 0); in test_core_retro()
H A Dcgroup_storage.c71 err = bpf_map__lookup_elem(skel->maps.cgroup_storage, &key, sizeof(key), in test_cgroup_storage()
H A Dstacktrace_build_id_nmi.c94 err = bpf_map__lookup_elem(skel->maps.stackmap, &key, sizeof(key), in test_stacktrace_build_id_nmi()
H A Dcore_autosize.c170 err = bpf_map__lookup_elem(bss_map, &zero, sizeof(zero), &out, sizeof(out), 0); in test_core_autosize()
H A Dfor_each.c64 err = bpf_map__lookup_elem(skel->maps.hashmap, &key, sizeof(key), &val, sizeof(val), 0); in test_hash_map()
/linux/tools/lib/bpf/
H A Dlibbpf.map340 bpf_map__lookup_elem;
H A Dlibbpf.h1146 LIBBPF_API int bpf_map__lookup_elem(const struct bpf_map *map,
H A Dlibbpf.c10485 int bpf_map__lookup_elem(const struct bpf_map *map, in bpf_map__lookup_elem() function
/linux/tools/testing/selftests/bpf/
H A Dxdp_features.c459 err = bpf_map__lookup_elem(skel->maps.dut_stats, in dut_run()
503 err = bpf_map__lookup_elem(skel->maps.stats, &key, sizeof(key), in tester_collect_detected_cap()