Searched refs:dev_mutex (Results 1 – 7 of 7) sorted by relevance
64 static DEFINE_MUTEX(dev_mutex);120 mutex_lock(&dev_mutex); in open_rnic_dev()123 mutex_unlock(&dev_mutex); in open_rnic_dev()132 mutex_unlock(&dev_mutex); in open_rnic_dev()147 mutex_lock(&dev_mutex); in close_rnic_dev()160 mutex_unlock(&dev_mutex); in close_rnic_dev()
198 mutex_lock(&us->dev_mutex); in storage_suspend()207 mutex_unlock(&us->dev_mutex); in storage_suspend()215 mutex_lock(&us->dev_mutex); in storage_resume()221 mutex_unlock(&us->dev_mutex); in storage_resume()253 mutex_lock(&us->dev_mutex); in storage_pre_reset()269 mutex_unlock(&us->dev_mutex); in storage_post_reset()328 mutex_lock(&(us->dev_mutex)); in usb_stor_control_thread()336 mutex_unlock(&us->dev_mutex); in usb_stor_control_thread()423 mutex_unlock(&us->dev_mutex); in usb_stor_control_thread()1001 mutex_lock(&us->dev_mutex); in usb_stor_scan_thread()[all …]
353 mutex_lock(&(us->dev_mutex)); in device_reset()355 mutex_unlock(&us->dev_mutex); in device_reset()
104 struct mutex dev_mutex; /* protect pusb_dev */ member
803 mutex_unlock(&us->dev_mutex); in usb_stor_invoke_transport()805 mutex_lock(&us->dev_mutex); in usb_stor_invoke_transport()
2675 mutex_lock(&cam->dev_mutex); in w9968cf_open()2682 mutex_unlock(&cam->dev_mutex); in w9968cf_open()2691 mutex_unlock(&cam->dev_mutex); in w9968cf_open()2695 mutex_unlock(&cam->dev_mutex); in w9968cf_open()2707 mutex_lock(&cam->dev_mutex); in w9968cf_open()2736 mutex_unlock(&cam->dev_mutex); in w9968cf_open()2744 mutex_unlock(&cam->dev_mutex); in w9968cf_open()2756 mutex_lock(&cam->dev_mutex); /* prevent disconnect() to be called */ in w9968cf_release()2762 mutex_unlock(&cam->dev_mutex); in w9968cf_release()2772 mutex_unlock(&cam->dev_mutex); in w9968cf_release()[all …]
271 struct mutex dev_mutex, /* for probe, disconnect,open and close */ member