Searched refs:hashtable_size (Results 1 – 1 of 1) sorted by relevance
748 unsigned long hashtable_size = roundup_pow_of_two(num_relocations); in initialize_relocation_hashtable() local753 unsigned int hashtable_bits = ilog2(hashtable_size); in initialize_relocation_hashtable()759 int should_double_size = ((num_relocations + (num_relocations >> 2)) > (hashtable_size)); in initialize_relocation_hashtable()763 hashtable_size <<= should_double_size; in initialize_relocation_hashtable()765 *relocation_hashtable = kmalloc_array(hashtable_size, in initialize_relocation_hashtable()771 __hash_init(*relocation_hashtable, hashtable_size); in initialize_relocation_hashtable()