Lines Matching refs:msp
4060 sbd_mem_stat_t *msp; in sbd_mem_status() local
4099 msp = &dsp->d_mem; in sbd_mem_status()
4101 bzero((caddr_t)msp, sizeof (*msp)); in sbd_mem_status()
4102 msp->ms_type = SBD_COMP_MEM; in sbd_mem_status()
4107 msp->ms_cm.c_id.c_unit = -1; in sbd_mem_status()
4114 (void) strcpy(msp->ms_name, SBD_DEVNAME(i)); in sbd_mem_status()
4117 msp->ms_cm.c_cond = mp->sbm_cm.sbdev_cond; in sbd_mem_status()
4118 msp->ms_cm.c_busy = mp->sbm_cm.sbdev_busy; in sbd_mem_status()
4119 msp->ms_cm.c_time = mp->sbm_cm.sbdev_time; in sbd_mem_status()
4122 msp->ms_ostate = ostate_cvt(SBD_DEVICE_STATE( in sbd_mem_status()
4125 msp->ms_basepfn = mp->sbm_basepfn; in sbd_mem_status()
4126 msp->ms_pageslost = mp->sbm_pageslost; in sbd_mem_status()
4127 msp->ms_cage_enabled = kcage_on; in sbd_mem_status()
4128 msp->ms_interleave = mp->sbm_interleave; in sbd_mem_status()
4136 msp->ms_totpages += mdst.phys_pages; in sbd_mem_status()
4142 msp->ms_detpages += (uint_t)(mdst.collected + in sbd_mem_status()
4146 msp->ms_totpages += (uint_t)mp->sbm_npages; in sbd_mem_status()
4154 switch (msp->ms_cm.c_ostate) { in sbd_mem_status()
4163 msp->ms_detpages = msp->ms_totpages; in sbd_mem_status()
4174 msp->ms_managed_pages = mq.managed; in sbd_mem_status()
4175 msp->ms_noreloc_pages = mq.nonrelocatable; in sbd_mem_status()
4176 msp->ms_noreloc_first = mq.first_nonrelocatable; in sbd_mem_status()
4177 msp->ms_noreloc_last = mq.last_nonrelocatable; in sbd_mem_status()
4178 msp->ms_cm.c_sflags = 0; in sbd_mem_status()