Searched refs:sr_mx (Results 1 – 4 of 4) sorted by relevance
111 assert(MUTEX_HELD(&sp->sr_mx)); in mhd_state()179 assert(MUTEX_HELD(&sp->sr_mx)); in mhd_idle()187 (void) mhd_cv_wait(&sp->sr_cv, &sp->sr_mx); in mhd_idle()206 assert(MUTEX_HELD(&sp->sr_mx)); in mhd_reserve()218 mhd_mx_unlock(&sp->sr_mx); in mhd_reserve()221 mhd_mx_lock(&sp->sr_mx); in mhd_reserve()250 assert(MUTEX_HELD(&sp->sr_mx)); in mhd_failfast()256 mhd_mx_unlock(&sp->sr_mx); in mhd_failfast()259 mhd_mx_lock(&sp->sr_mx); in mhd_failfast()288 assert(MUTEX_HELD(&sp->sr_mx)); in mhd_release()[all …]
55 assert(MUTEX_HELD(&sp->sr_mx)); in mhd_add_drive_to_set()78 assert(MUTEX_HELD(&sp->sr_mx)); in mhd_del_drive_from_set()125 assert(MUTEX_HELD(&sp->sr_mx)); in mhd_wait_set()158 (void) mhd_cv_wait(&sp->sr_cv, &sp->sr_mx); in mhd_wait_set()176 assert(MUTEX_HELD(&sp->sr_mx)); in mhd_idle_set()232 mhd_mx_init(&sp->sr_mx); in mhd_create_set()255 mhd_mx_lock(&sp->sr_mx); in mhd_create_set()288 mhd_mx_unlock(&sp->sr_mx); in mhd_create_set()289 mhd_mx_lock(&null_sp->sr_mx); in mhd_create_set()291 mhd_mx_unlock(&null_sp->sr_mx); in mhd_create_set()[all …]
52 assert(MUTEX_HELD(&sp->sr_mx)); in mhd_ff_disarm()81 assert(MUTEX_HELD(&sp->sr_mx)); in mhd_ff_open()141 assert(MUTEX_HELD(&sp->sr_mx)); in mhd_ff_close()175 assert(MUTEX_HELD(&sp->sr_mx)); in mhd_ff_rearm()209 assert(MUTEX_HELD(&sp->sr_mx)); in mhd_ff_die()236 assert(MUTEX_HELD(&sp->sr_mx)); in mhd_ff_check()
110 mutex_t sr_mx; /* set mutex */ member