Searched refs:bpf_map__lookup_elem (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | core_retro.c | 30 err = bpf_map__lookup_elem(skel->maps.results, &zero, sizeof(zero), &res, sizeof(res), 0); in test_core_retro()
|
D | stacktrace_build_id_nmi.c | 94 err = bpf_map__lookup_elem(skel->maps.stackmap, &key, sizeof(key), in test_stacktrace_build_id_nmi()
|
D | for_each.c | 63 err = bpf_map__lookup_elem(skel->maps.hashmap, &key, sizeof(key), &val, sizeof(val), 0); in test_hash_map()
|
D | core_autosize.c | 170 err = bpf_map__lookup_elem(bss_map, &zero, sizeof(zero), &out, sizeof(out), 0); in test_core_autosize()
|
/linux-6.6.21/tools/lib/bpf/ |
D | libbpf.map | 342 bpf_map__lookup_elem;
|
D | libbpf.h | 1069 LIBBPF_API int bpf_map__lookup_elem(const struct bpf_map *map,
|
D | libbpf.c | 9844 int bpf_map__lookup_elem(const struct bpf_map *map, in bpf_map__lookup_elem() function
|
/linux-6.6.21/tools/testing/selftests/bpf/ |
D | xdp_features.c | 459 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()
|