Searched refs:rnd_mem_size (Results 1 – 1 of 1) sorted by relevance
592 unsigned long mem_size, rnd_mem_size, pteg_count, psize; in htab_get_table_size() local605 rnd_mem_size = 1UL << __ilog2(mem_size); in htab_get_table_size()606 if (rnd_mem_size < mem_size) in htab_get_table_size()607 rnd_mem_size <<= 1; in htab_get_table_size()611 pteg_count = max(rnd_mem_size >> (psize + 1), 1UL << 11); in htab_get_table_size()