Home
last modified time | relevance | path

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

/linux/mm/
H A Dswapfile.c1532 } else if ((count & ~COUNT_CONTINUED) <= SWAP_MAP_MAX) { in swap_entry_put_locked()
1535 count = SWAP_MAP_MAX | COUNT_CONTINUED; in swap_entry_put_locked()
1537 count = SWAP_MAP_MAX; in swap_entry_put_locked()
1828 n = SWAP_MAP_MAX + 1; in swp_swapcount()
3713 } else if ((count & ~COUNT_CONTINUED) > SWAP_MAP_MAX) { in __swap_duplicate()
3728 else if ((count & ~COUNT_CONTINUED) < SWAP_MAP_MAX) in __swap_duplicate()
3843 if ((count & ~COUNT_CONTINUED) != SWAP_MAP_MAX) { in add_swap_count_continuation()
3935 if (count == SWAP_MAP_MAX) /* initial increment from swap_map */ in swap_count_continued()
3938 if (count == (SWAP_MAP_MAX | COUNT_CONTINUED)) { /* incrementing */ in swap_count_continued()
/linux/include/linux/
H A Dswap.h231 #define SWAP_MAP_MAX 0x3e /* Max count */ macro