Lines Matching refs:SWAP_META_PAGES

133 #define	SWAP_META_PAGES		PCTRIE_COUNT  macro
143 daddr_t d[SWAP_META_PAGES];
537 0 : pindex % SWAP_META_PAGES); in swblk_start()
546 rounddown(pindex, SWAP_META_PAGES))); in swblk_lookup()
565 rounddown(pindex, SWAP_META_PAGES))); in swblk_iter_lookup_ge()
591 rounddown(pindex, SWAP_META_PAGES))); in swblk_iter_reinit()
607 return (SWAP_PCTRIE_ITER_JUMP_GE(blks, SWAP_META_PAGES)); in swblk_iter_next()
614 rounddown(pindex, SWAP_META_PAGES))); in swblk_iter_lookup()
759 swap_maxpages = n * SWAP_META_PAGES; in swap_pager_swap_init()
1337 range.start = sb->d[m->pindex % SWAP_META_PAGES]; in swap_pager_unswapped()
1342 sb->d[m->pindex % SWAP_META_PAGES] = SWAPBLK_NONE; in swap_pager_unswapped()
1913 for (i = 0; i < SWAP_META_PAGES; i++) { in swap_pager_swapped_pages()
1950 for (i = 0; i < SWAP_META_PAGES; i++) { in swap_pager_swapoff_object()
1991 rahead = SWAP_META_PAGES; in swap_pager_swapoff_object()
2005 if (i < SWAP_META_PAGES) { in swap_pager_swapoff_object()
2133 MPASS(0 <= start && start <= limit && limit <= SWAP_META_PAGES); in swp_pager_swblk_empty()
2150 if (swp_pager_swblk_empty(sb, 0, SWAP_META_PAGES)) { in swp_pager_free_empty_swblk()
2188 sb->p = rounddown(pindex, SWAP_META_PAGES); in swp_pager_meta_build()
2189 for (i = 0; i < SWAP_META_PAGES; i++) in swp_pager_meta_build()
2250 MPASS(sb->p == rounddown(pindex, SWAP_META_PAGES)); in swp_pager_meta_build()
2252 modpi = pindex % SWAP_META_PAGES; in swp_pager_meta_build()
2263 swp_pager_swblk_empty(sb, 0, SWAP_META_PAGES)) { in swp_pager_meta_build()
2285 daddr_t blk, d[SWAP_META_PAGES]; in swp_pager_meta_transfer()
2288 _Static_assert(8 * sizeof(d_mask) >= SWAP_META_PAGES, in swp_pager_meta_transfer()
2304 limit = MIN(last - srcblks.index, SWAP_META_PAGES); in swp_pager_meta_transfer()
2325 swp_pager_swblk_empty(sb, limit, SWAP_META_PAGES)) { in swp_pager_meta_transfer()
2381 limit = MIN(last - blks.index, SWAP_META_PAGES); in swp_pager_meta_free()
2394 swp_pager_swblk_empty(sb, limit, SWAP_META_PAGES)) { in swp_pager_meta_free()
2410 for (int i = 0; i < SWAP_META_PAGES; i++) { in swp_pager_meta_free_block()
2455 return (sb->d[pindex % SWAP_META_PAGES]); in swp_pager_meta_lookup()
2472 for (i = pindex % SWAP_META_PAGES; i < SWAP_META_PAGES; i++) { in swap_pager_iter_find_least()
2479 for (i = 0; i < SWAP_META_PAGES; i++) { in swap_pager_iter_find_least()
2546 sb->d[pindex % SWAP_META_PAGES] != SWAPBLK_NONE)) in swap_pager_seek_hole()
3104 limit = MIN(e - blks.index, SWAP_META_PAGES); in vmspace_swap_count()