Home
last modified time | relevance | path

Searched refs:hash_new (Results 1 – 5 of 5) sorted by relevance

/external/kmod/testsuite/
Dtest-hash.c39 struct hash *h = hash_new(8, NULL); in test_hash_new()
50 struct hash *h = hash_new(8, NULL); in test_hash_get_count()
69 struct hash *h = hash_new(8, countfreecalls); in test_hash_replace()
99 struct hash *h = hash_new(8, countfreecalls); in test_hash_replace_failing()
130 struct hash *h = hash_new(8, NULL); in test_hash_iter()
131 struct hash *h2 = hash_new(8, NULL); in test_hash_iter()
164 struct hash *h = hash_new(8, NULL); in test_hash_iter_after_del()
165 struct hash *h2 = hash_new(8, NULL); in test_hash_iter_after_del()
200 struct hash *h = hash_new(8, countfreecalls); in test_hash_free()
233 struct hash *h = hash_new(N - 1, NULL); in test_hash_add_unique()
[all …]
/external/kmod/shared/
Dhash.h13 struct hash *hash_new(unsigned int n_buckets, void (*free_value)(void *value));
Dhash.c47 struct hash *hash_new(unsigned int n_buckets, in hash_new() function
/external/kmod/tools/
Ddepmod.c948 depmod->modules_by_uncrelpath = hash_new(512, NULL); in depmod_init()
954 depmod->modules_by_name = hash_new(512, NULL); in depmod_init()
960 depmod->symbols = hash_new(2048, (void (*)(void *))symbol_free); in depmod_init()
1850 loop_set = hash_new(16, NULL); in depmod_report_cycles()
/external/kmod/libkmod/
Dlibkmod.c280 ctx->modules_by_name = hash_new(KMOD_HASH_SIZE, NULL); in kmod_new()