Lines Matching refs:COUNT_CONTINUED

1203 	} else if ((count & ~COUNT_CONTINUED) <= SWAP_MAP_MAX) {  in __swap_entry_free_locked()
1204 if (count == COUNT_CONTINUED) { in __swap_entry_free_locked()
1206 count = SWAP_MAP_MAX | COUNT_CONTINUED; in __swap_entry_free_locked()
1505 if (!(count & COUNT_CONTINUED)) in swp_swapcount()
1508 count &= ~COUNT_CONTINUED; in swp_swapcount()
1521 count += (tmp_count & ~COUNT_CONTINUED) * n; in swp_swapcount()
1523 } while (tmp_count & COUNT_CONTINUED); in swp_swapcount()
3317 if ((count & ~COUNT_CONTINUED) < SWAP_MAP_MAX) in __swap_duplicate()
3319 else if ((count & ~COUNT_CONTINUED) > SWAP_MAP_MAX) in __swap_duplicate()
3322 count = COUNT_CONTINUED; in __swap_duplicate()
3449 if ((count & ~COUNT_CONTINUED) != SWAP_MAP_MAX) { in add_swap_count_continuation()
3477 BUG_ON(count & COUNT_CONTINUED); in add_swap_count_continuation()
3490 if (!(count & COUNT_CONTINUED)) in add_swap_count_continuation()
3501 if ((count & ~COUNT_CONTINUED) != SWAP_CONT_MAX) in add_swap_count_continuation()
3538 BUG_ON(count & COUNT_CONTINUED); in swap_count_continued()
3550 if (count == (SWAP_MAP_MAX | COUNT_CONTINUED)) { /* incrementing */ in swap_count_continued()
3554 while (*map == (SWAP_CONT_MAX | COUNT_CONTINUED)) { in swap_count_continued()
3574 *map = COUNT_CONTINUED; in swap_count_continued()
3583 BUG_ON(count != COUNT_CONTINUED); in swap_count_continued()
3584 while (*map == COUNT_CONTINUED) { in swap_count_continued()
3598 count = COUNT_CONTINUED; in swap_count_continued()
3601 ret = count == COUNT_CONTINUED; in swap_count_continued()