Lines Matching refs:COUNT_CONTINUED

1202 	} else if ((count & ~COUNT_CONTINUED) <= SWAP_MAP_MAX) {  in __swap_entry_free_locked()
1203 if (count == COUNT_CONTINUED) { in __swap_entry_free_locked()
1205 count = SWAP_MAP_MAX | COUNT_CONTINUED; in __swap_entry_free_locked()
1486 if (!(count & COUNT_CONTINUED)) in swp_swapcount()
1489 count &= ~COUNT_CONTINUED; in swp_swapcount()
1502 count += (tmp_count & ~COUNT_CONTINUED) * n; in swp_swapcount()
1504 } while (tmp_count & COUNT_CONTINUED); in swp_swapcount()
3309 if ((count & ~COUNT_CONTINUED) < SWAP_MAP_MAX) in __swap_duplicate()
3311 else if ((count & ~COUNT_CONTINUED) > SWAP_MAP_MAX) in __swap_duplicate()
3314 count = COUNT_CONTINUED; in __swap_duplicate()
3453 if ((count & ~COUNT_CONTINUED) != SWAP_MAP_MAX) { in add_swap_count_continuation()
3476 BUG_ON(count & COUNT_CONTINUED); in add_swap_count_continuation()
3489 if (!(count & COUNT_CONTINUED)) in add_swap_count_continuation()
3500 if ((count & ~COUNT_CONTINUED) != SWAP_CONT_MAX) in add_swap_count_continuation()
3537 BUG_ON(count & COUNT_CONTINUED); in swap_count_continued()
3549 if (count == (SWAP_MAP_MAX | COUNT_CONTINUED)) { /* incrementing */ in swap_count_continued()
3553 while (*map == (SWAP_CONT_MAX | COUNT_CONTINUED)) { in swap_count_continued()
3573 *map = COUNT_CONTINUED; in swap_count_continued()
3582 BUG_ON(count != COUNT_CONTINUED); in swap_count_continued()
3583 while (*map == COUNT_CONTINUED) { in swap_count_continued()
3597 count = COUNT_CONTINUED; in swap_count_continued()
3600 ret = count == COUNT_CONTINUED; in swap_count_continued()