Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dmap_kptr.c33 struct lru_hash_map { struct
38 } lru_hash_map SEC(".maps");
54 DEFINE_MAP_OF_MAP(BPF_MAP_TYPE_ARRAY_OF_MAPS, lru_hash_map, array_of_lru_hash_maps);
58 DEFINE_MAP_OF_MAP(BPF_MAP_TYPE_HASH_OF_MAPS, lru_hash_map, hash_of_lru_hash_maps);
155 TEST(lru_hash_map); in test_map_kptr()
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dmap_kptr.c129 ret = bpf_map__update_elem(skel->maps.lru_hash_map, in test_map_kptr_success()
132 ret = bpf_map__delete_elem(skel->maps.lru_hash_map, &key, sizeof(key), 0); in test_map_kptr_success()
/linux-6.1.9/samples/bpf/
Dmap_perf_test_kern.c31 } lru_hash_map SEC(".maps");
216 ret = bpf_map_update_elem(&lru_hash_map, &key, &val, BPF_ANY); in SYSCALL()