Lines Matching refs:dr_state
108 mhd_state_t old_state = dp->dr_state;
115 dp->dr_rname, dp->dr_state, new_state));
116 dp->dr_state = new_state;
125 if (dlp->dl_drives[i]->dr_state & DRIVE_PROBING)
154 return (mhd_state(dp, (dp->dr_state | new_state), mhep));
164 return (mhd_state(dp, (dp->dr_state & ~new_state), mhep));
208 assert(dp->dr_state == DRIVE_RESERVING);
252 assert(dp->dr_state == DRIVE_FAILFASTING);
290 assert(dp->dr_state == DRIVE_RELEASING);
342 assert(dp->dr_state & (DRIVE_PROBING | DRIVE_STATUSING));
351 if (! (dp->dr_state & (DRIVE_PROBING | DRIVE_STATUSING)))
355 if (dp->dr_state & DRIVE_STATUSING) {
372 if (dp->dr_state & DRIVE_PROBING) {
777 assert(dp->dr_state & DRIVE_IDENTING);
783 if (dp->dr_state & DRIVE_SERIALING) {
837 if (dp->dr_state & DRIVE_VTOCING) {
859 if (dp->dr_state & DRIVE_CINFOING) {
922 (dp->dr_state == DRIVE_IDLING)))) {
939 switch (dp->dr_state) {
973 assert(! (dp->dr_state &
975 if (dp->dr_state & (DRIVE_PROBING | DRIVE_STATUSING)) {
978 assert(! (dp->dr_state & DRIVE_STATUSING));
980 if (dp->dr_state & DRIVE_IDENTING) {
983 assert(! (dp->dr_state & DRIVE_IDENTING));
1009 if (! (dp->dr_state & DRIVE_PROBING)) {
1138 dp->dr_state = DRIVE_IDLE;