Home
last modified time | relevance | path

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

/Linux-v4.19/mm/
Dswapfile.c1147 } else if ((count & ~COUNT_CONTINUED) <= SWAP_MAP_MAX) { in __swap_entry_free_locked()
1148 if (count == COUNT_CONTINUED) { in __swap_entry_free_locked()
1150 count = SWAP_MAP_MAX | COUNT_CONTINUED; in __swap_entry_free_locked()
1394 if (!(count & COUNT_CONTINUED)) in swp_swapcount()
1397 count &= ~COUNT_CONTINUED; in swp_swapcount()
1410 count += (tmp_count & ~COUNT_CONTINUED) * n; in swp_swapcount()
1412 } while (tmp_count & COUNT_CONTINUED); in swp_swapcount()
3411 if ((count & ~COUNT_CONTINUED) < SWAP_MAP_MAX) in __swap_duplicate()
3413 else if ((count & ~COUNT_CONTINUED) > SWAP_MAP_MAX) in __swap_duplicate()
3416 count = COUNT_CONTINUED; in __swap_duplicate()
[all …]
/Linux-v4.19/include/linux/
Dswap.h186 #define COUNT_CONTINUED 0x80 /* See swap_map continuation for full count */ macro