Lines Matching refs:COUNT_CONTINUED
1253 } else if ((count & ~COUNT_CONTINUED) <= SWAP_MAP_MAX) { in __swap_entry_free_locked()
1254 if (count == COUNT_CONTINUED) { in __swap_entry_free_locked()
1256 count = SWAP_MAP_MAX | COUNT_CONTINUED; in __swap_entry_free_locked()
1573 if (!(count & COUNT_CONTINUED)) in swp_swapcount()
1576 count &= ~COUNT_CONTINUED; in swp_swapcount()
1589 count += (tmp_count & ~COUNT_CONTINUED) * n; in swp_swapcount()
1591 } while (tmp_count & COUNT_CONTINUED); in swp_swapcount()
3521 if ((count & ~COUNT_CONTINUED) < SWAP_MAP_MAX) in __swap_duplicate()
3523 else if ((count & ~COUNT_CONTINUED) > SWAP_MAP_MAX) in __swap_duplicate()
3526 count = COUNT_CONTINUED; in __swap_duplicate()
3655 if ((count & ~COUNT_CONTINUED) != SWAP_MAP_MAX) { in add_swap_count_continuation()
3683 BUG_ON(count & COUNT_CONTINUED); in add_swap_count_continuation()
3696 if (!(count & COUNT_CONTINUED)) in add_swap_count_continuation()
3707 if ((count & ~COUNT_CONTINUED) != SWAP_CONT_MAX) in add_swap_count_continuation()
3744 BUG_ON(count & COUNT_CONTINUED); in swap_count_continued()
3756 if (count == (SWAP_MAP_MAX | COUNT_CONTINUED)) { /* incrementing */ in swap_count_continued()
3760 while (*map == (SWAP_CONT_MAX | COUNT_CONTINUED)) { in swap_count_continued()
3780 *map = COUNT_CONTINUED; in swap_count_continued()
3789 BUG_ON(count != COUNT_CONTINUED); in swap_count_continued()
3790 while (*map == COUNT_CONTINUED) { in swap_count_continued()
3804 count = COUNT_CONTINUED; in swap_count_continued()
3807 ret = count == COUNT_CONTINUED; in swap_count_continued()