Home
last modified time | relevance | path

Searched refs:dr_state (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/cmd/lvm/rpc.metamhd/
H A Dmhd_drive.c108 mhd_state_t old_state = dp->dr_state; in mhd_state()
115 dp->dr_rname, dp->dr_state, new_state)); in mhd_state()
116 dp->dr_state = new_state; in mhd_state()
125 if (dlp->dl_drives[i]->dr_state & DRIVE_PROBING) in mhd_state()
154 return (mhd_state(dp, (dp->dr_state | new_state), mhep)); in mhd_state_set()
164 return (mhd_state(dp, (dp->dr_state & ~new_state), mhep)); in mhd_state_clr()
208 assert(dp->dr_state == DRIVE_RESERVING); in mhd_reserve()
252 assert(dp->dr_state == DRIVE_FAILFASTING); in mhd_failfast()
290 assert(dp->dr_state == DRIVE_RELEASING); in mhd_release()
342 assert(dp->dr_state & (DRIVE_PROBING | DRIVE_STATUSING)); in mhd_probe()
[all …]
H A Dmhd_local.h80 #define DRIVE_IS_IDLE(dp) (((dp)->dr_state == DRIVE_IDLE) || \
81 ((dp)->dr_state == DRIVE_ERRORED))
89 mhd_state_t dr_state; /* drive state */ member
H A Dmhd_set.c144 if (! (dp->dr_state & state)) in mhd_wait_set()
580 ((dp->dr_state == DRIVE_ERRORED) && in mhd_reserve_set()
596 if (dp->dr_state == DRIVE_IDLE) in mhd_reserve_set()
626 if (dp->dr_state != DRIVE_ERRORED) { in mhd_reserve_set()
H A Dmhd_failfast.c246 if (dp->dr_state != DRIVE_PROBING) in mhd_ff_check()
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs4_dispatch.c106 if (drp->dr_state == NFS4_DUP_REPLAY) in rfs4_fini_drc()
141 drp->dr_state = new_state; in rfs4_dr_chstate()
194 switch (drp_tail->dr_state) { in rfs4_alloc_dr()
267 if (drp->dr_state == NFS4_DUP_REPLAY) { in rfs4_find_dr()
301 drp->dr_state = NFS4_DUP_NEW; in rfs4_find_dr()
317 drp->dr_state = NFS4_DUP_FREE; in rfs4_find_dr()
/titanic_41/usr/src/uts/common/nfs/
H A Dnfs4_drc.h55 int dr_state; member