Lines Matching refs:pstat
2152 drmach_status_t pstat; in dr_dev_status() local
2248 bzero(&pstat, sizeof (pstat)); in dr_dev_status()
2252 err = drmach_status(bp->b_id, &pstat); in dr_dev_status()
2269 if (!pstat.empty && (bp->b_rstate == SBD_STAT_EMPTY)) in dr_dev_status()
2271 else if (pstat.empty && (bp->b_rstate == SBD_STAT_DISCONNECTED)) in dr_dev_status()
2276 dstatp->s_cond = bp->b_cond = pstat.cond; in dr_dev_status()
2277 dstatp->s_busy = bp->b_busy | pstat.busy; in dr_dev_status()
2279 dstatp->s_power = pstat.powered; in dr_dev_status()
2280 dstatp->s_assigned = bp->b_assigned = pstat.assigned; in dr_dev_status()
2282 bcopy(&pstat.type[0], &dstatp->s_type[0], SBD_TYPE_LEN); in dr_dev_status()
2283 bcopy(&pstat.info[0], &dstatp->s_info[0], SBD_MAX_INFO); in dr_dev_status()