Home
last modified time | relevance | path

Searched refs:cpr_nbitmaps (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/sun4u/os/
H A Dcpr_impl.c84 extern int cpr_nbitmaps;
1853 cpr_nbitmaps = 1; in i_cpr_bitmap_setup()
1855 cpr_nbitmaps++; in i_cpr_bitmap_setup()
1857 if (cpr_nbitmaps > (CPR_MAX_BMDESC - 1)) { in i_cpr_bitmap_setup()
1859 cpr_nbitmaps, CPR_MAX_BMDESC - 1); in i_cpr_bitmap_setup()
1864 dp = kmem_zalloc(cpr_nbitmaps * sizeof (*dp), KM_NOSLEEP); in i_cpr_bitmap_setup()
1866 cpr_nbitmaps = 0; in i_cpr_bitmap_setup()
1869 tail = dp + cpr_nbitmaps; in i_cpr_bitmap_setup()
1904 kmem_free(CPR->c_bmda, cpr_nbitmaps * sizeof (*CPR->c_bmda)); in i_cpr_bitmap_cleanup()
1906 cpr_nbitmaps = 0; in i_cpr_bitmap_cleanup()
/illumos-gate/usr/src/uts/common/cpr/
H A Dcpr_dump.c88 int cpr_nbitmaps; variable
210 cdump.cdd_bitmaprec = cpr_nbitmaps; in cpr_write_header()
305 if (err = cpr_write(vp, (caddr_t)dp, cpr_nbitmaps * sizeof (*dp))) in cpr_write_bitmap()