Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dmap_kptr.c68 struct lru_hash_map { struct
73 } lru_hash_map SEC(".maps");
124 DEFINE_MAP_OF_MAP(BPF_MAP_TYPE_ARRAY_OF_MAPS, lru_hash_map, array_of_lru_hash_maps);
130 DEFINE_MAP_OF_MAP(BPF_MAP_TYPE_HASH_OF_MAPS, lru_hash_map, hash_of_lru_hash_maps);
222 TEST(lru_hash_map); in test_map_kptr()
423 bpf_map_update_elem(&lru_hash_map, &key, &val, 0); in test_map_kptr_ref1()
432 TEST(lru_hash_map); in test_map_kptr_ref1()
470 TEST(lru_hash_map); in test_map_kptr_ref2()
/linux/samples/bpf/
H A Dmap_perf_test.bpf.c29 } lru_hash_map SEC(".maps");
210 ret = bpf_map_update_elem(&lru_hash_map, &key, &val, BPF_ANY); in BPF_KSYSCALL()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dmap_kptr.c89 ret = bpf_map__delete_elem(skel->maps.lru_hash_map, &key, sizeof(key), 0); in test_map_kptr_success()
90 ASSERT_OK(ret, "lru_hash_map delete"); in test_map_kptr_success()