Searched refs:mhd_state (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/cmd/lvm/rpc.metamhd/ |
H A D | mhd_drive.c | 101 mhd_state( in mhd_state() function 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() 185 if (mhd_state(dp, DRIVE_IDLING, mhep) != 0) in mhd_idle() 224 (void) mhd_state(dp, DRIVE_ERRORED, NULL); in mhd_reserve() 231 (void) mhd_state(dp, DRIVE_IDLE, NULL); in mhd_reserve() 262 (void) mhd_state(dp, DRIVE_ERRORED, NULL); in mhd_failfast() 270 (void) mhd_state(dp, DRIVE_IDLE, NULL); in mhd_failfast() 300 (void) mhd_state(dp, DRIVE_ERRORED, NULL); in mhd_release() 315 (void) mhd_state(dp, DRIVE_ERRORED, NULL); in mhd_release() [all …]
|
H A D | mhd_set.c | 189 if (mhd_state(dp, DRIVE_IDLING, mhep) != 0) in mhd_idle_set() 495 if (mhd_state(dp, DRIVE_RELEASING, mhep) != 0) in mhd_release_set() 582 if (mhd_state(dp, DRIVE_RESERVING, mhep) != 0) in mhd_reserve_set() 627 if (mhd_state(dp, DRIVE_FAILFASTING, in mhd_reserve_set()
|
H A D | mhd_local.h | 142 extern int mhd_state(mhd_drive_t *dp, mhd_state_t new_state,
|