Home
last modified time | relevance | path

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

/Linux-v5.10/mm/
Dswapfile.c1238 } else if ((count & ~COUNT_CONTINUED) <= SWAP_MAP_MAX) { in __swap_entry_free_locked()
1239 if (count == COUNT_CONTINUED) { in __swap_entry_free_locked()
1241 count = SWAP_MAP_MAX | COUNT_CONTINUED; in __swap_entry_free_locked()
1558 if (!(count & COUNT_CONTINUED)) in swp_swapcount()
1561 count &= ~COUNT_CONTINUED; in swp_swapcount()
1574 count += (tmp_count & ~COUNT_CONTINUED) * n; in swp_swapcount()
1576 } while (tmp_count & COUNT_CONTINUED); in swp_swapcount()
3484 if ((count & ~COUNT_CONTINUED) < SWAP_MAP_MAX) in __swap_duplicate()
3486 else if ((count & ~COUNT_CONTINUED) > SWAP_MAP_MAX) in __swap_duplicate()
3489 count = COUNT_CONTINUED; in __swap_duplicate()
[all …]
/Linux-v5.10/include/linux/
Dswap.h188 #define COUNT_CONTINUED 0x80 /* Flag swap_map continuation for full count */ macro