Lines Matching refs:numentries
3309 unsigned long numentries,
3321 if (!numentries) {
3323 numentries = nr_kernel_pages;
3324 numentries += (1UL << (20 - PAGE_SHIFT)) - 1;
3325 numentries >>= 20 - PAGE_SHIFT;
3326 numentries <<= 20 - PAGE_SHIFT;
3330 numentries >>= (scale - PAGE_SHIFT);
3332 numentries <<= (PAGE_SHIFT - scale);
3335 if (unlikely((numentries * bucketsize) < PAGE_SIZE))
3336 numentries = PAGE_SIZE / bucketsize;
3338 numentries = roundup_pow_of_two(numentries);
3346 if (numentries > max)
3347 numentries = max;
3349 log2qty = ilog2(numentries);