Lines Matching defs:scale
8057 * scale factor in proportion to available memory, but
8325 * Adaptive scale is meant to reduce sizes of hash tables on large memory
8326 * machines. As memory size is increased the scale is also increased but at
8328 * quadruples the scale is increased by one, which means the size of hash table
8348 int scale,
8377 scale++;
8381 /* limit to 1 bucket per 2^scale bytes of low memory */
8382 if (scale > PAGE_SHIFT)
8383 numentries >>= (scale - PAGE_SHIFT);
8385 numentries <<= (PAGE_SHIFT - scale);