Searched refs:hashtable_size (Results 1 - 1 of 1) sorted by relevance

/linux-master/arch/riscv/kernel/
H A Dmodule.c748 unsigned long hashtable_size = roundup_pow_of_two(num_relocations); local
750 * When hashtable_size == 1, hashtable_bits == 0.
753 unsigned int hashtable_bits = ilog2(hashtable_size);
757 * hashtable_size.
759 int should_double_size = ((num_relocations + (num_relocations >> 2)) > (hashtable_size));
763 hashtable_size <<= should_double_size;
765 *relocation_hashtable = kmalloc_array(hashtable_size,
771 __hash_init(*relocation_hashtable, hashtable_size);

Completed in 153 milliseconds