Home
last modified time | relevance | path

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

/linux/arch/riscv/kernel/
H A Dmodule.c738 unsigned long hashtable_size = roundup_pow_of_two(num_relocations); in initialize_relocation_hashtable() local
743 unsigned int hashtable_bits = ilog2(hashtable_size); in initialize_relocation_hashtable()
749 int should_double_size = ((num_relocations + (num_relocations >> 2)) > (hashtable_size)); in initialize_relocation_hashtable()
753 hashtable_size <<= should_double_size; in initialize_relocation_hashtable()
755 *relocation_hashtable = kmalloc_array(hashtable_size, in initialize_relocation_hashtable()
761 __hash_init(*relocation_hashtable, hashtable_size); in initialize_relocation_hashtable()