Home
last modified time | relevance | path

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

/linux-4.1.27/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()
2640 if ((count & ~COUNT_CONTINUED) < SWAP_MAP_MAX) in __swap_duplicate()
2642 else if ((count & ~COUNT_CONTINUED) > SWAP_MAP_MAX) in __swap_duplicate()
2769 if ((count & ~COUNT_CONTINUED) != SWAP_MAP_MAX) { in add_swap_count_continuation()
2859 if (count == SWAP_MAP_MAX) /* initial increment from swap_map */ in swap_count_continued()
2862 if (count == (SWAP_MAP_MAX | COUNT_CONTINUED)) { /* incrementing */ in swap_count_continued()
/linux-4.1.27/include/linux/
Dswap.h169 #define SWAP_MAP_MAX 0x3e /* Max duplication count, in first swap_map */ macro