Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dswapfile.c1253 } else if ((count & ~COUNT_CONTINUED) <= SWAP_MAP_MAX) { in __swap_entry_free_locked()
1256 count = SWAP_MAP_MAX | COUNT_CONTINUED; in __swap_entry_free_locked()
1258 count = SWAP_MAP_MAX; in __swap_entry_free_locked()
1577 n = SWAP_MAP_MAX + 1; in swp_swapcount()
3521 if ((count & ~COUNT_CONTINUED) < SWAP_MAP_MAX) in __swap_duplicate()
3523 else if ((count & ~COUNT_CONTINUED) > SWAP_MAP_MAX) in __swap_duplicate()
3655 if ((count & ~COUNT_CONTINUED) != SWAP_MAP_MAX) { in add_swap_count_continuation()
3753 if (count == SWAP_MAP_MAX) /* initial increment from swap_map */ in swap_count_continued()
3756 if (count == (SWAP_MAP_MAX | COUNT_CONTINUED)) { /* incrementing */ in swap_count_continued()
/kernel/linux/linux-5.10/include/linux/
Dswap.h191 #define SWAP_MAP_MAX 0x3e /* Max count */ macro