Lines Matching refs:bitmap

47 #include <sys/bitmap.h>
179 PERPAGE(bitmap) PERPAGE(map) PERPAGE(unmap) \
405 ulong_t *bitmap; /* bitmap for marking pages to dump */
406 ulong_t *rbitmap; /* bitmap for used CBUF_MAPSIZE ranges */
407 pgcnt_t bitmapsize; /* size of bitmap */
408 pgcnt_t rbitmapsize; /* size of bitmap for ranges */
498 * backed by pages not being dumped, according to the bitmap. If
759 * Set/test bitmap for a CBUF_MAPSIZE range which includes pfn. The
829 * it. The kernel (kas) pages are always set in the bitmap. However,
831 * bitmap. So we check for them.
856 if (BT_TEST(dumpcfg.bitmap, start))
869 * It searches the dump bitmap in 2 passes. The first time it looks
911 /* bitmap of ranges used to estimate which pfns are being used */
944 /* set the bitmap for both ends to be sure to cover the range */
972 if (BT_TEST(dumpcfg.bitmap, bitnum))
1121 if (dumpcfg.bitmap != NULL)
1122 kmem_free(dumpcfg.bitmap, BT_SIZEOFMAP(dumpcfg.
1127 dumpcfg.bitmap = map;
1364 * Mark 'pfn' in the bitmap and dump its translation table entry.
1373 if (!BT_TEST(dumpcfg.bitmap, bitnum)) {
1375 BT_SET(dumpcfg.bitmap, bitnum);
1387 * Mark 'pfn' in the bitmap
1395 if (!BT_TEST(dumpcfg.bitmap, bitnum)) {
1397 BT_SET(dumpcfg.bitmap, bitnum);
1801 * selected by the bitmap.
1810 ASSERT(BT_TEST(dumpcfg.bitmap, cp->bitnum));
1829 if (BT_TEST(dumpcfg.bitmap, cp->bitnum))
2387 HRSTART(ds->perpage, bitmap);
2389 if (BT_TEST(dumpcfg.bitmap, bitnum))
2391 HRSTOP(ds->perpage, bitmap);
2434 if (BT_TEST(dumpcfg.bitmap, bitnum))
2666 bzero(dumpcfg.bitmap, BT_SIZEOFMAP(dumpcfg.bitmapsize));
2770 BT_SET(dumpcfg.bitmap, bitnum);
2812 if (!BT_TEST(dumpcfg.bitmap, bitnum))