Lines Matching refs:st_mutex
251 * state_hw_drive: st_mutex held
252 * state_hw_mask: st_mutex held
253 * state_soft_mask: st_mutex held
254 * state: st_mutex held unless reading input bits
256 struct mutex st_mutex; /* Protects state */
793 mutex_lock(&sfp->st_mutex);
800 mutex_unlock(&sfp->st_mutex);
805 mutex_lock(&sfp->st_mutex);
807 mutex_unlock(&sfp->st_mutex);
810 /* sfp_get_state() - must be called with st_mutex held, or in the
825 /* sfp_set_state() - must be called with st_mutex held, or in the
841 mutex_lock(&sfp->st_mutex);
844 mutex_unlock(&sfp->st_mutex);
1717 mutex_lock(&sfp->st_mutex);
1726 mutex_unlock(&sfp->st_mutex);
2334 mutex_lock(&sfp->st_mutex);
2343 mutex_unlock(&sfp->st_mutex);
2841 mutex_lock(&sfp->st_mutex);
2856 mutex_unlock(&sfp->st_mutex);
2889 // st_mutex doesn't need to be held here for state_soft_mask,
2908 mutex_init(&sfp->st_mutex);