Searched refs:scan_mutex (Results 1 – 13 of 13) sorted by relevance
1198 __must_hold(&shost->scan_mutex) in scsi_probe_and_add_lun()1356 __must_hold(&shost->scan_mutex) in scsi_sequential_lun_scan()1449 __must_hold(&shost->scan_mutex) in scsi_report_lun_scan()1645 mutex_lock(&shost->scan_mutex); in __scsi_add_device()1654 mutex_unlock(&shost->scan_mutex); in __scsi_add_device()1775 __must_hold(&shost->scan_mutex) in __scsi_scan_target()1858 mutex_lock(&shost->scan_mutex); in scsi_scan_target()1866 mutex_unlock(&shost->scan_mutex); in scsi_scan_target()1873 __must_hold(&shost->scan_mutex) in scsi_scan_channel()1916 mutex_lock(&shost->scan_mutex); in scsi_scan_host_selected()[all …]
170 mutex_lock(&shost->scan_mutex); in scsi_remove_host()175 mutex_unlock(&shost->scan_mutex); in scsi_remove_host()183 mutex_unlock(&shost->scan_mutex); in scsi_remove_host()426 mutex_init(&shost->scan_mutex); in scsi_host_alloc()
518 mutex_lock(&host->scan_mutex); in storvsc_host_scan()521 mutex_unlock(&host->scan_mutex); in storvsc_host_scan()
1538 mutex_lock(&shost->scan_mutex); in scsi_remove_device()1540 mutex_unlock(&shost->scan_mutex); in scsi_remove_device()
251 static DEFINE_MUTEX(scan_mutex);2155 mutex_lock(&scan_mutex); in kmemleak_scan_thread()2157 mutex_unlock(&scan_mutex); in kmemleak_scan_thread()2206 err = mutex_lock_interruptible(&scan_mutex); in kmemleak_seq_start()2256 mutex_unlock(&scan_mutex); in kmemleak_seq_stop()2380 ret = mutex_lock_interruptible(&scan_mutex); in kmemleak_write()2432 mutex_unlock(&scan_mutex); in kmemleak_write()2478 mutex_lock(&scan_mutex); in kmemleak_do_cleanup()2486 mutex_unlock(&scan_mutex); in kmemleak_do_cleanup()2591 mutex_lock(&scan_mutex); in kmemleak_late_init()[all …]
576 struct mutex scan_mutex;/* serialize scanning activity */ member666 bool async_scan __guarded_by(&scan_mutex);
32 #0: (&shost->scan_mutex){+.+.}, at: [<ffffffff8145efca>]
1357 __cond_acquires(0, &hba->host->scan_mutex) in ufshcd_pause_command_processing()1362 mutex_lock(&hba->host->scan_mutex); in ufshcd_pause_command_processing()1370 mutex_unlock(&hba->host->scan_mutex); in ufshcd_pause_command_processing()1384 __releases(&hba->host->scan_mutex) in ufshcd_resume_command_processing()1388 mutex_unlock(&hba->host->scan_mutex); in ufshcd_resume_command_processing()1454 __cond_acquires(0, &hba->host->scan_mutex) in ufshcd_clock_scaling_prepare()1463 mutex_lock(&hba->host->scan_mutex); in ufshcd_clock_scaling_prepare()1474 mutex_unlock(&hba->host->scan_mutex); in ufshcd_clock_scaling_prepare()1488 __releases(&hba->host->scan_mutex) in ufshcd_clock_scaling_unprepare()1493 mutex_unlock(&hba->host->scan_mutex); in ufshcd_clock_scaling_unprepare()
1803 mutex_lock(&dev->scan_mutex); in aac_scan_host()1808 mutex_unlock(&dev->scan_mutex); in aac_scan_host()
1673 mutex_init(&aac->scan_mutex); in aac_probe_one()
1554 struct mutex scan_mutex; member
1360 struct mutex scan_mutex; member
5407 /* Alas, we need to grab scan_mutex to ensure SCSI device in ata_scsi_remove_dev() 5413 mutex_lock(&ap->scsi_host->scan_mutex); in ata_scsi_remove_dev() 5423 * scan_mutex are released. Hold onto it. in ata_scsi_remove_dev() 5439 mutex_unlock(&ap->scsi_host->scan_mutex); in ata_scsi_handle_link_detach()