BT_SIZEOFMAP
mdb_free(kmt->kmt_trapmap, BT_SIZEOFMAP(kmt->kmt_trapmax));
size_t sz = sizeof (uchar_t) * BT_SIZEOFMAP(NUM_X86_FEATURES);
kmt->kmt_trapmap = mdb_zalloc(BT_SIZEOFMAP(kmt->kmt_trapmax), UM_SLEEP);
dt_zalloc(dtp, BT_SIZEOFMAP(dxp->dx_nmembers));
size_t oldsize = BT_SIZEOFMAP(pvp->pv_xrmax);
size_t newsize = BT_SIZEOFMAP(dtp->dt_xlatorid);
(i * BT_SIZEOFMAP(nlgrpsmax)));
kcpc_cpumap = kmem_zalloc(BT_SIZEOFMAP(max_cpuid + 1),
kmem_free(kcpc_cpumap, BT_SIZEOFMAP(max_cpuid + 1));
scsi_pkt_bad_alloc_bitmap = kmem_zalloc(BT_SIZEOFMAP(devcnt), KM_SLEEP);
kmem_free(bitmap, BT_SIZEOFMAP(sysevent_minor_bits));
BT_SIZEOFMAP(sysevent_minor_bits + BT_NBIPUL), KM_SLEEP);
bcopy(bhst, sysevent_minor_bitmap, BT_SIZEOFMAP(sysevent_minor_bits));
kmem_free(bhst, BT_SIZEOFMAP(sysevent_minor_bits));
dumpcfg.helpermap = kmem_zalloc(BT_SIZEOFMAP(NCPU), KM_SLEEP);
void *map = kmem_alloc(BT_SIZEOFMAP(npages), KM_SLEEP);
void *rmap = kmem_alloc(BT_SIZEOFMAP(rlen), KM_SLEEP);
kmem_free(dumpcfg.bitmap, BT_SIZEOFMAP(dumpcfg.
kmem_free(dumpcfg.rbitmap, BT_SIZEOFMAP(dumpcfg.
bzero(dumpcfg.bitmap, BT_SIZEOFMAP(dumpcfg.bitmapsize));
bzero(dumpcfg.helpermap, BT_SIZEOFMAP(NCPU));
bzero(dumpcfg.rbitmap, BT_SIZEOFMAP(dumpcfg.rbitmapsize));
eqp->eq_bitmap = kmem_zalloc(BT_SIZEOFMAP(qlen), KM_SLEEP);
kmem_free(eqp->eq_bitmap, BT_SIZEOFMAP(eqp->eq_qlen));
bitmask_size = BT_SIZEOFMAP(snap_nlgrpsmax);
bitmask_size = BT_SIZEOFMAP(snap_nlgrpsmax);
bitmask_size = BT_SIZEOFMAP(snap_nlgrpsmax);
bitmask_size = BT_SIZEOFMAP(snap_nlgrpsmax);
(i * LGRP_RSRC_COUNT * BT_SIZEOFMAP(snap_nlgrpsmax)));
segkp_bitmap = kmem_zalloc(BT_SIZEOFMAP(np), KM_SLEEP);
uchar_t new_x86_featureset[BT_SIZEOFMAP(NUM_X86_FEATURES)];
bzero(new_x86_featureset, BT_SIZEOFMAP(NUM_X86_FEATURES));
plp->pl_bitmap = kmem_zalloc(BT_SIZEOFMAP(pmem_pgcnt), kflags);
kmem_free(plp->pl_bitmap, BT_SIZEOFMAP(pmem_pgcnt));
uchar_t x86_featureset[BT_SIZEOFMAP(NUM_X86_FEATURES)];
if (memcmp(setA, setB, BT_SIZEOFMAP(NUM_X86_FEATURES)) == 0) {
BT_SIZEOFMAP(vlds_minor_bits + BT_NBIPUL), KM_SLEEP);
bcopy(bhst, vlds_minor_bitmap, BT_SIZEOFMAP(vlds_minor_bits));
kmem_free(bhst, BT_SIZEOFMAP(vlds_minor_bits));
kmem_free(bitmap, BT_SIZEOFMAP(vlds_minor_bits));