Lines Matching defs: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 */
813 mutex_lock(&sfp->st_mutex);
821 mutex_unlock(&sfp->st_mutex);
826 mutex_lock(&sfp->st_mutex);
828 mutex_unlock(&sfp->st_mutex);
831 /* sfp_get_state() - must be called with st_mutex held, or in the
846 /* sfp_set_state() - must be called with st_mutex held, or in the
862 mutex_lock(&sfp->st_mutex);
865 mutex_unlock(&sfp->st_mutex);
1738 mutex_lock(&sfp->st_mutex);
1747 mutex_unlock(&sfp->st_mutex);
2356 mutex_lock(&sfp->st_mutex);
2367 mutex_unlock(&sfp->st_mutex);
2869 mutex_lock(&sfp->st_mutex);
2881 mutex_unlock(&sfp->st_mutex);
2914 // st_mutex doesn't need to be held here for state_soft_mask,
2933 mutex_init(&sfp->st_mutex);