Home
last modified time | relevance | path

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

/linux-4.4.14/mm/
Dswapfile.c781 } else if ((count & ~COUNT_CONTINUED) <= SWAP_MAP_MAX) { in swap_entry_free()
784 count = SWAP_MAP_MAX | COUNT_CONTINUED; in swap_entry_free()
786 count = SWAP_MAP_MAX; in swap_entry_free()
898 n = SWAP_MAP_MAX + 1; in swp_swapcount()
2671 if ((count & ~COUNT_CONTINUED) < SWAP_MAP_MAX) in __swap_duplicate()
2673 else if ((count & ~COUNT_CONTINUED) > SWAP_MAP_MAX) in __swap_duplicate()
2800 if ((count & ~COUNT_CONTINUED) != SWAP_MAP_MAX) { in add_swap_count_continuation()
2890 if (count == SWAP_MAP_MAX) /* initial increment from swap_map */ in swap_count_continued()
2893 if (count == (SWAP_MAP_MAX | COUNT_CONTINUED)) { /* incrementing */ in swap_count_continued()
/linux-4.4.14/include/linux/
Dswap.h169 #define SWAP_MAP_MAX 0x3e /* Max duplication count, in first swap_map */ macro