Lines Matching defs:swblk
136 * A swblk structure maps each page index within a
141 struct swblk {
474 static bool swp_pager_swblk_empty(struct swblk *sb, int start, int limit);
475 static void swp_pager_free_empty_swblk(vm_object_t, struct swblk *sb);
534 swblk_start(struct swblk *sb, vm_pindex_t pindex)
540 PCTRIE_DEFINE(SWAP, swblk, p, swblk_trie_alloc, swblk_trie_free);
542 static struct swblk *
550 swblk_lookup_remove(vm_object_t object, struct swblk *sb)
561 static struct swblk *
577 static struct swblk *
585 static struct swblk *
594 static struct swblk *
604 static struct swblk *
610 static struct swblk *
618 swblk_iter_insert(struct pctrie_iter *blks, struct swblk *sb)
731 n = maxswzone != 0 ? maxswzone / sizeof(struct swblk) :
735 swblk_zone = uma_zcreate("swblk", sizeof(struct swblk), NULL, NULL,
736 NULL, NULL, _Alignof(struct swblk) - 1, 0);
760 swzone = n * sizeof(struct swblk);
1309 struct swblk *sb;
1901 struct swblk *sb;
1932 struct swblk *sb;
2022 * iterator and search again for the first swblk at or
2129 swp_pager_swblk_empty(struct swblk *sb, int start, int limit)
2147 swp_pager_free_empty_swblk(vm_object_t object, struct swblk *sb)
2173 struct swblk *sb, *sb1;
2193 printf("swblk zone ok\n");
2213 * allocating swblk at the pindex index,
2260 * Free the swblk if we end up with the empty page run.
2284 struct swblk *sb;
2353 * Return freed swap blocks to the swap bitmap, and free emptied swblk
2363 struct swblk *sb;
2406 swp_pager_meta_free_block(struct swblk *sb, void *rangev)
2450 struct swblk *sb;
2466 struct swblk *sb;
2485 * We get here if a swblk is present in the trie but it
2534 struct swblk *sb;
3079 struct swblk *sb;