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

/linux-master/include/linux/
H A Dswap.h233 #define SWAP_MAP_MAX 0x3e /* Max count */ macro
/linux-master/mm/
H A Dswapfile.c1220 } else if ((count & ~COUNT_CONTINUED) <= SWAP_MAP_MAX) {
1223 count = SWAP_MAP_MAX | COUNT_CONTINUED;
1225 count = SWAP_MAP_MAX;
1493 n = SWAP_MAP_MAX + 1;
3393 if ((count & ~COUNT_CONTINUED) < SWAP_MAP_MAX)
3395 else if ((count & ~COUNT_CONTINUED) > SWAP_MAP_MAX)
3486 * beyond SWAP_MAP_MAX, it allocates a new page and links that to the entry's
3489 * again when count is duplicated beyond SWAP_MAP_MAX * SWAP_CONT_MAX, etc.
3493 * low "digit" of a count is incremented or decremented through SWAP_MAP_MAX.
3532 if ((count & ~COUNT_CONTINUED) != SWAP_MAP_MAX) {
[all...]

Completed in 296 milliseconds