Lines Matching refs:state_lock
142 static DEFINE_MUTEX(state_lock);
224 mutex_lock(&state_lock); in apm_read()
228 mutex_unlock(&state_lock); in apm_read()
269 mutex_lock(&state_lock); in apm_ioctl()
282 mutex_unlock(&state_lock); in apm_ioctl()
303 mutex_unlock(&state_lock); in apm_ioctl()
307 mutex_unlock(&state_lock); in apm_ioctl()
317 mutex_lock(&state_lock); in apm_ioctl()
320 mutex_unlock(&state_lock); in apm_ioctl()
341 mutex_lock(&state_lock); in apm_release()
345 mutex_unlock(&state_lock); in apm_release()
530 mutex_lock(&state_lock); in apm_suspend_notifier()
543 mutex_unlock(&state_lock); in apm_suspend_notifier()
568 mutex_lock(&state_lock); in apm_suspend_notifier()
578 mutex_unlock(&state_lock); in apm_suspend_notifier()
601 mutex_lock(&state_lock); in apm_suspend_notifier()
616 mutex_unlock(&state_lock); in apm_suspend_notifier()