Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dmap_kptr.c56 struct lru_hash_map { struct
61 } lru_hash_map SEC(".maps");
112 DEFINE_MAP_OF_MAP(BPF_MAP_TYPE_ARRAY_OF_MAPS, lru_hash_map, array_of_lru_hash_maps);
116 DEFINE_MAP_OF_MAP(BPF_MAP_TYPE_HASH_OF_MAPS, lru_hash_map, hash_of_lru_hash_maps);
206 TEST(lru_hash_map); in test_map_kptr()
401 bpf_map_update_elem(&lru_hash_map, &key, &val, 0); in test_map_kptr_ref1()
410 TEST(lru_hash_map); in test_map_kptr_ref1()
448 TEST(lru_hash_map); in test_map_kptr_ref2()
/openbmc/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()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dmap_kptr.c95 ret = bpf_map__delete_elem(skel->maps.lru_hash_map, &key, sizeof(key), 0); in test_map_kptr_success()