Lines Matching refs:pstat
2120 drmach_status_t pstat; in dr_dev_status() local
2216 bzero(&pstat, sizeof (pstat)); in dr_dev_status()
2220 err = drmach_status(bp->b_id, &pstat); in dr_dev_status()
2237 if (!pstat.empty && (bp->b_rstate == SBD_STAT_EMPTY)) in dr_dev_status()
2239 else if (pstat.empty && (bp->b_rstate == SBD_STAT_DISCONNECTED)) in dr_dev_status()
2244 dstatp->s_cond = bp->b_cond = pstat.cond; in dr_dev_status()
2245 dstatp->s_busy = bp->b_busy | pstat.busy; in dr_dev_status()
2247 dstatp->s_power = pstat.powered; in dr_dev_status()
2248 dstatp->s_assigned = bp->b_assigned = pstat.assigned; in dr_dev_status()
2250 bcopy(&pstat.type[0], &dstatp->s_type[0], SBD_TYPE_LEN); in dr_dev_status()
2251 bcopy(&pstat.info[0], &dstatp->s_info[0], SBD_MAX_INFO); in dr_dev_status()