Searched refs:bpf_map__lookup_elem (Results 1 – 9 of 9) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | core_retro.c | 30 err = bpf_map__lookup_elem(skel->maps.results, &zero, sizeof(zero), &res, sizeof(res), 0); in test_core_retro()
|
H A D | cgroup_storage.c | 71 err = bpf_map__lookup_elem(skel->maps.cgroup_storage, &key, sizeof(key), in test_cgroup_storage()
|
H A D | stacktrace_build_id_nmi.c | 94 err = bpf_map__lookup_elem(skel->maps.stackmap, &key, sizeof(key), in test_stacktrace_build_id_nmi()
|
H A D | core_autosize.c | 170 err = bpf_map__lookup_elem(bss_map, &zero, sizeof(zero), &out, sizeof(out), 0); in test_core_autosize()
|
H A D | for_each.c | 64 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 D | libbpf.map | 340 bpf_map__lookup_elem;
|
H A D | libbpf.h | 1146 LIBBPF_API int bpf_map__lookup_elem(const struct bpf_map *map,
|
H A D | libbpf.c | 10485 int bpf_map__lookup_elem(const struct bpf_map *map, in bpf_map__lookup_elem() function
|
/linux/tools/testing/selftests/bpf/ |
H A 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()
|