Home
last modified time | relevance | path

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

/Linux-v5.4/mm/
Dswapfile.c1198 } else if ((count & ~COUNT_CONTINUED) <= SWAP_MAP_MAX) { in __swap_entry_free_locked()
1201 count = SWAP_MAP_MAX | COUNT_CONTINUED; in __swap_entry_free_locked()
1203 count = SWAP_MAP_MAX; in __swap_entry_free_locked()
1518 n = SWAP_MAP_MAX + 1; in swp_swapcount()
3421 if ((count & ~COUNT_CONTINUED) < SWAP_MAP_MAX) in __swap_duplicate()
3423 else if ((count & ~COUNT_CONTINUED) > SWAP_MAP_MAX) in __swap_duplicate()
3555 if ((count & ~COUNT_CONTINUED) != SWAP_MAP_MAX) { in add_swap_count_continuation()
3653 if (count == SWAP_MAP_MAX) /* initial increment from swap_map */ in swap_count_continued()
3656 if (count == (SWAP_MAP_MAX | COUNT_CONTINUED)) { /* incrementing */ in swap_count_continued()
/Linux-v5.4/include/linux/
Dswap.h186 #define SWAP_MAP_MAX 0x3e /* Max duplication count, in first swap_map */ macro