Searched refs:SWAP_MAP_MAX (Results 1 - 2 of 2) sorted by relevance

/linux-master/include/linux/
H A Dswap.h233 #define SWAP_MAP_MAX 0x3e /* Max count */ macro
/linux-master/mm/
H A Dswapfile.c1208 } else if ((count & ~COUNT_CONTINUED) <= SWAP_MAP_MAX) {
1211 count = SWAP_MAP_MAX | COUNT_CONTINUED;
1213 count = SWAP_MAP_MAX;
1501 n = SWAP_MAP_MAX + 1;
3338 if ((count & ~COUNT_CONTINUED) < SWAP_MAP_MAX)
3340 else if ((count & ~COUNT_CONTINUED) > SWAP_MAP_MAX)
3431 * beyond SWAP_MAP_MAX, it allocates a new page and links that to the entry's
3434 * again when count is duplicated beyond SWAP_MAP_MAX * SWAP_CONT_MAX, etc.
3438 * low "digit" of a count is incremented or decremented through SWAP_MAP_MAX.
3477 if ((count & ~COUNT_CONTINUED) != SWAP_MAP_MAX) {
[all...]

Completed in 153 milliseconds