Searched refs:hash_malloc_map (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A 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); 115 DEFINE_MAP_OF_MAP(BPF_MAP_TYPE_HASH_OF_MAPS, hash_malloc_map, hash_of_hash_malloc_maps); 205 TEST(hash_malloc_map); in test_map_kptr() 400 bpf_map_update_elem(&hash_malloc_map, &key, &val, 0); in test_map_kptr_ref1() 409 TEST(hash_malloc_map); in test_map_kptr_ref1() 447 TEST(hash_malloc_map); in test_map_kptr_ref2()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | map_kptr.c | 81 ret = bpf_map__delete_elem(skel->maps.hash_malloc_map, &key, sizeof(key), 0); in test_map_kptr_success()
|