Searched refs:hash_malloc_map (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | map_kptr.c | 40 struct hash_malloc_map { struct 46 } hash_malloc_map SEC(".maps"); 111 DEFINE_MAP_OF_MAP(BPF_MAP_TYPE_ARRAY_OF_MAPS, hash_malloc_map, array_of_hash_malloc_maps); 117 DEFINE_MAP_OF_MAP(BPF_MAP_TYPE_HASH_OF_MAPS, hash_malloc_map, hash_of_hash_malloc_maps); 209 TEST(hash_malloc_map); in test_map_kptr() 410 bpf_map_update_elem(&hash_malloc_map, &key, &val, 0); in test_map_kptr_ref1() 419 TEST(hash_malloc_map); in test_map_kptr_ref1() 457 TEST(hash_malloc_map); in test_map_kptr_ref2()
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | map_kptr.c | 81 ret = bpf_map__delete_elem(skel->maps.hash_malloc_map, &key, sizeof(key), 0); in test_map_kptr_success()
|