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