Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dswapfile.c1202 } else if ((count & ~COUNT_CONTINUED) <= SWAP_MAP_MAX) { in __swap_entry_free_locked()
1205 count = SWAP_MAP_MAX | COUNT_CONTINUED; in __swap_entry_free_locked()
1207 count = SWAP_MAP_MAX; in __swap_entry_free_locked()
1495 n = SWAP_MAP_MAX + 1; in swp_swapcount()
3320 if ((count & ~COUNT_CONTINUED) < SWAP_MAP_MAX) in __swap_duplicate()
3322 else if ((count & ~COUNT_CONTINUED) > SWAP_MAP_MAX) in __swap_duplicate()
3464 if ((count & ~COUNT_CONTINUED) != SWAP_MAP_MAX) { in add_swap_count_continuation()
3557 if (count == SWAP_MAP_MAX) /* initial increment from swap_map */ in swap_count_continued()
3560 if (count == (SWAP_MAP_MAX | COUNT_CONTINUED)) { /* incrementing */ in swap_count_continued()
/openbmc/linux/include/linux/
H A Dswap.h233 #define SWAP_MAP_MAX 0x3e /* Max count */ macro