Home
last modified time | relevance | path

Searched refs:scan_mutex (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.10/drivers/scsi/
Dscsi_scan.c1474 mutex_lock(&shost->scan_mutex); in __scsi_add_device()
1482 mutex_unlock(&shost->scan_mutex); in __scsi_add_device()
1613 mutex_lock(&shost->scan_mutex); in scsi_scan_target()
1621 mutex_unlock(&shost->scan_mutex); in scsi_scan_target()
1670 mutex_lock(&shost->scan_mutex); in scsi_scan_host_selected()
1684 mutex_unlock(&shost->scan_mutex); in scsi_scan_host_selected()
1723 mutex_lock(&shost->scan_mutex); in scsi_prep_async_scan()
1740 mutex_unlock(&shost->scan_mutex); in scsi_prep_async_scan()
1751 mutex_unlock(&shost->scan_mutex); in scsi_prep_async_scan()
1774 mutex_lock(&shost->scan_mutex); in scsi_finish_async_scan()
[all …]
Dhosts.c168 mutex_lock(&shost->scan_mutex); in scsi_remove_host()
173 mutex_unlock(&shost->scan_mutex); in scsi_remove_host()
181 mutex_unlock(&shost->scan_mutex); in scsi_remove_host()
392 mutex_init(&shost->scan_mutex); in scsi_host_alloc()
Dstorvsc_drv.c536 mutex_lock(&host->scan_mutex); in storvsc_host_scan()
539 mutex_unlock(&host->scan_mutex); in storvsc_host_scan()
Dscsi_sysfs.c1477 mutex_lock(&shost->scan_mutex); in scsi_remove_device()
1479 mutex_unlock(&shost->scan_mutex); in scsi_remove_device()
/Linux-v5.10/mm/
Dkmemleak.c225 static DEFINE_MUTEX(scan_mutex);
1571 mutex_lock(&scan_mutex); in kmemleak_scan_thread()
1573 mutex_unlock(&scan_mutex); in kmemleak_scan_thread()
1622 err = mutex_lock_interruptible(&scan_mutex); in kmemleak_seq_start()
1672 mutex_unlock(&scan_mutex); in kmemleak_seq_stop()
1781 ret = mutex_lock_interruptible(&scan_mutex); in kmemleak_write()
1827 mutex_unlock(&scan_mutex); in kmemleak_write()
1868 mutex_lock(&scan_mutex); in kmemleak_do_cleanup()
1876 mutex_unlock(&scan_mutex); in kmemleak_do_cleanup()
1979 mutex_lock(&scan_mutex); in kmemleak_late_init()
[all …]
/Linux-v5.10/drivers/bus/fsl-mc/
Ddprc-driver.c369 mutex_lock(&mc_bus->scan_mutex); in dprc_scan_container()
371 mutex_unlock(&mc_bus->scan_mutex); in dprc_scan_container()
409 mutex_lock(&mc_bus->scan_mutex); in dprc_irq0_handler_thread()
454 mutex_unlock(&mc_bus->scan_mutex); in dprc_irq0_handler_thread()
Dfsl-mc-private.h558 struct mutex scan_mutex; /* serializes bus scanning */ member
Dfsl-mc-bus.c681 mutex_init(&mc_bus->scan_mutex); in fsl_mc_device_add()
/Linux-v5.10/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac.c417 mutex_lock(&ieee->scan_mutex); in ieee80211_softmac_scan_syncro()
462 mutex_unlock(&ieee->scan_mutex); in ieee80211_softmac_scan_syncro()
467 mutex_unlock(&ieee->scan_mutex); in ieee80211_softmac_scan_syncro()
482 mutex_lock(&ieee->scan_mutex); in ieee80211_softmac_scan_wq()
502 mutex_unlock(&ieee->scan_mutex); in ieee80211_softmac_scan_wq()
510 mutex_unlock(&ieee->scan_mutex); in ieee80211_softmac_scan_wq()
560 mutex_lock(&ieee->scan_mutex); in ieee80211_softmac_stop_scan()
570 mutex_unlock(&ieee->scan_mutex); in ieee80211_softmac_stop_scan()
2596 mutex_init(&ieee->scan_mutex); in ieee80211_softmac_init()
Dieee80211.h1804 struct mutex scan_mutex; member
/Linux-v5.10/drivers/staging/rtl8192e/
Drtllib_softmac.c513 mutex_lock(&ieee->scan_mutex); in rtllib_softmac_scan_syncro()
566 mutex_unlock(&ieee->scan_mutex); in rtllib_softmac_scan_syncro()
587 mutex_lock(&ieee->scan_mutex); in rtllib_softmac_scan_wq()
618 mutex_unlock(&ieee->scan_mutex); in rtllib_softmac_scan_wq()
630 mutex_unlock(&ieee->scan_mutex); in rtllib_softmac_scan_wq()
683 mutex_lock(&ieee->scan_mutex); in rtllib_softmac_stop_scan()
692 mutex_unlock(&ieee->scan_mutex); in rtllib_softmac_stop_scan()
3025 mutex_init(&ieee->scan_mutex); in rtllib_softmac_init()
Drtllib.h1600 struct mutex scan_mutex; member
/Linux-v5.10/include/scsi/
Dscsi_host.h541 struct mutex scan_mutex;/* serialize scanning activity */ member
/Linux-v5.10/Documentation/RCU/
Dlockdep-splat.rst32 #0: (&shost->scan_mutex){+.+.}, at: [<ffffffff8145efca>]
/Linux-v5.10/drivers/scsi/aacraid/
Dcommsup.c1931 mutex_lock(&dev->scan_mutex); in aac_scan_host()
1936 mutex_unlock(&dev->scan_mutex); in aac_scan_host()
Dlinit.c1726 mutex_init(&aac->scan_mutex); in aac_probe_one()
Daacraid.h1559 struct mutex scan_mutex; member
/Linux-v5.10/drivers/scsi/smartpqi/
Dsmartpqi.h1137 struct mutex scan_mutex; member
Dsmartpqi_init.c2162 if (!mutex_trylock(&ctrl_info->scan_mutex)) { in pqi_scan_scsi_devices()
2169 mutex_unlock(&ctrl_info->scan_mutex); in pqi_scan_scsi_devices()
2195 return !mutex_is_locked(&ctrl_info->scan_mutex); in pqi_scan_finished()
2200 mutex_lock(&ctrl_info->scan_mutex); in pqi_wait_until_scan_finished()
2201 mutex_unlock(&ctrl_info->scan_mutex); in pqi_wait_until_scan_finished()
7588 mutex_init(&ctrl_info->scan_mutex); in pqi_alloc_ctrl_info()
/Linux-v5.10/drivers/ata/
Dlibata-scsi.c4435 mutex_lock(&ap->scsi_host->scan_mutex); in ata_scsi_remove_dev()
4461 mutex_unlock(&ap->scsi_host->scan_mutex); in ata_scsi_remove_dev()