Home
last modified time | relevance | path

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

/linux/mm/
H A Dswapfile.c1608 if ((count & ~COUNT_CONTINUED) <= SWAP_MAP_MAX) { in swap_put_entry_locked()
1609 if (count == COUNT_CONTINUED) { in swap_put_entry_locked()
1611 count = SWAP_MAP_MAX | COUNT_CONTINUED; in swap_put_entry_locked()
1769 if (!(count & COUNT_CONTINUED)) in swp_swapcount()
1772 count &= ~COUNT_CONTINUED; in swp_swapcount()
1785 count += (tmp_count & ~COUNT_CONTINUED) * n; in swp_swapcount()
1787 } while (tmp_count & COUNT_CONTINUED); in swp_swapcount()
3622 if (WARN_ON((count & ~COUNT_CONTINUED) > SWAP_MAP_MAX)) in swap_dup_entries()
3628 if ((count & ~COUNT_CONTINUED) < SWAP_MAP_MAX) in swap_dup_entries()
3631 count = COUNT_CONTINUED; in swap_dup_entries()
[all …]
/linux/include/linux/
H A Dswap.h227 #define COUNT_CONTINUED 0x80 /* Flag swap_map continuation for full count */ macro