Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dswap.h236 #define SWAP_CONT_MAX 0x7f /* Max count */ macro
/linux/mm/
H A Dswapfile.c1689 n *= (SWAP_CONT_MAX + 1); in swp_swapcount()
3681 * again when count is duplicated beyond SWAP_MAP_MAX * SWAP_CONT_MAX, etc.
3770 if ((count & ~COUNT_CONTINUED) != SWAP_CONT_MAX) in add_swap_count_continuation()
3816 goto init_map; /* jump over SWAP_CONT_MAX checks */ in swap_count_continued()
3822 while (*map == (SWAP_CONT_MAX | COUNT_CONTINUED)) { in swap_count_continued()
3828 if (*map == SWAP_CONT_MAX) { in swap_count_continued()
3865 *map = SWAP_CONT_MAX | count; in swap_count_continued()