Searched refs:hash_new (Results 1 – 5 of 5) sorted by relevance
/external/kmod/testsuite/ |
D | test-hash.c | 39 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/ |
D | hash.h | 13 struct hash *hash_new(unsigned int n_buckets, void (*free_value)(void *value));
|
D | hash.c | 47 struct hash *hash_new(unsigned int n_buckets, in hash_new() function
|
/external/kmod/tools/ |
D | depmod.c | 948 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/ |
D | libkmod.c | 281 ctx->modules_by_name = hash_new(KMOD_HASH_SIZE, NULL); in kmod_new()
|