Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/
Dtest_hashmap.c96 if (CHECK(hashmap__capacity(map) != exp_cap(hashmap__size(map)), in test_hashmap_generic()
97 "unexpected map capacity: %zu\n", hashmap__capacity(map))) in test_hashmap_generic()
139 if (CHECK(hashmap__capacity(map) != exp_cap(hashmap__size(map)), in test_hashmap_generic()
140 "unexpected map capacity: %zu\n", hashmap__capacity(map))) in test_hashmap_generic()
197 if (CHECK(hashmap__capacity(map) != exp_cap(hashmap__size(map)), in test_hashmap_generic()
198 "unexpected map capacity: %zu\n", hashmap__capacity(map))) in test_hashmap_generic()
349 if (CHECK(hashmap__capacity(map) != 0, in test_hashmap_empty()
350 "invalid map capacity: %zu\n", hashmap__capacity(map))) in test_hashmap_empty()
/tools/lib/bpf/
Dhashmap.h65 size_t hashmap__capacity(const struct hashmap *map);
Dhashmap.c84 size_t hashmap__capacity(const struct hashmap *map) in hashmap__capacity() function