Searched refs:num_rr (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/common/modules/md/
H A Ddumpmirror.c128 uint_t num_rr, rr_bitmap_size; local
151 num_rr = mm.un_rrd_num;
160 rr_bitmap_size = howmany(num_rr, NBBY);
169 rr_pnds = (unsigned char *)mdb_alloc(num_rr, UM_SLEEP|UM_GC);
170 rr_ow = (unsigned short *)mdb_alloc(num_rr * sizeof (unsigned short),
189 if (mdb_vread(rr_pnds, num_rr, un_pnds) == -1) {
194 if (mdb_vread(rr_ow, num_rr * sizeof (unsigned short), un_ow) == -1) {
199 print_mm_bm(rr_dirty_bm, num_rr, "un_dirty_bm");
200 print_mm_bm(rr_goingclean_bm, num_rr, "un_goingclean_bm");
201 print_mm_bm(rr_goingdirty_bm, num_rr, "un_goingdirty_b
[all...]
H A Dmetastat.c192 uint_t num_rr, rr_blksize; local
226 num_rr = mm.un_rrd_num;
232 mdb_printf("RR size: %lu bits\n", num_rr);
235 rr_dirty_bm = (unsigned char *)mdb_alloc(num_rr, UM_SLEEP|UM_GC);
236 rr_goingclean_bm = (unsigned char *)mdb_alloc(num_rr, UM_SLEEP|UM_GC);
237 comp_rr = (ushort_t *)mdb_alloc(num_rr * sizeof (ushort_t),
240 if (mdb_vread(rr_dirty_bm, num_rr, un_dbm) == -1) {
244 if (mdb_vread(rr_goingclean_bm, num_rr, un_gcbm) == -1) {
249 print_comp_bm(rr_dirty_bm, num_rr, comp_rr, "dirty");
251 print_comp_bm(rr_goingclean_bm, num_rr, comp_r
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/mirror/
H A Dmirror_resync.c715 int num_rr; local
726 num_rr = (int)((tb + (blksize)) / (blksize));
729 num_rr = (int)((tb + MD_MIN_RR_SIZE) / MD_MIN_RR_SIZE);
732 size = howmany(num_rr, NBBY) + sizeof (*orp) - sizeof (orp->or_rr);
753 orp->or_num = num_rr;
756 un->un_rrd_num = num_rr;
760 for (i = 0; i < howmany(num_rr, NBBY); i++)

Completed in 63 milliseconds