Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/scsi/
Dscsi_scan.c1578 mutex_lock(&shost->scan_mutex); in __scsi_add_device()
1586 mutex_unlock(&shost->scan_mutex); in __scsi_add_device()
1717 mutex_lock(&shost->scan_mutex); in scsi_scan_target()
1725 mutex_unlock(&shost->scan_mutex); in scsi_scan_target()
1774 mutex_lock(&shost->scan_mutex); in scsi_scan_host_selected()
1788 mutex_unlock(&shost->scan_mutex); in scsi_scan_host_selected()
1827 mutex_lock(&shost->scan_mutex); in scsi_prep_async_scan()
1844 mutex_unlock(&shost->scan_mutex); in scsi_prep_async_scan()
1855 mutex_unlock(&shost->scan_mutex); in scsi_prep_async_scan()
1878 mutex_lock(&shost->scan_mutex); in scsi_finish_async_scan()
[all …]
Dhosts.c169 mutex_lock(&shost->scan_mutex); in scsi_remove_host()
174 mutex_unlock(&shost->scan_mutex); in scsi_remove_host()
182 mutex_unlock(&shost->scan_mutex); in scsi_remove_host()
411 mutex_init(&shost->scan_mutex); in scsi_host_alloc()
Dstorvsc_drv.c499 mutex_lock(&host->scan_mutex); in storvsc_host_scan()
502 mutex_unlock(&host->scan_mutex); in storvsc_host_scan()
Dscsi_sysfs.c1514 mutex_lock(&shost->scan_mutex); in scsi_remove_device()
1516 mutex_unlock(&shost->scan_mutex); in scsi_remove_device()
/linux-6.1.9/mm/
Dkmemleak.c233 static DEFINE_MUTEX(scan_mutex);
1713 mutex_lock(&scan_mutex); in kmemleak_scan_thread()
1715 mutex_unlock(&scan_mutex); in kmemleak_scan_thread()
1764 err = mutex_lock_interruptible(&scan_mutex); in kmemleak_seq_start()
1814 mutex_unlock(&scan_mutex); in kmemleak_seq_stop()
1922 ret = mutex_lock_interruptible(&scan_mutex); in kmemleak_write()
1974 mutex_unlock(&scan_mutex); in kmemleak_write()
2015 mutex_lock(&scan_mutex); in kmemleak_do_cleanup()
2023 mutex_unlock(&scan_mutex); in kmemleak_do_cleanup()
2126 mutex_lock(&scan_mutex); in kmemleak_late_init()
[all …]
/linux-6.1.9/drivers/bus/fsl-mc/
Ddprc-driver.c370 mutex_lock(&mc_bus->scan_mutex); in dprc_scan_container()
372 mutex_unlock(&mc_bus->scan_mutex); in dprc_scan_container()
411 mutex_lock(&mc_bus->scan_mutex); in dprc_irq0_handler_thread()
456 mutex_unlock(&mc_bus->scan_mutex); in dprc_irq0_handler_thread()
Dfsl-mc-bus.c227 mutex_lock(&root_mc_bus->scan_mutex); in scan_fsl_mc_bus()
229 mutex_unlock(&root_mc_bus->scan_mutex); in scan_fsl_mc_bus()
809 mutex_init(&mc_bus->scan_mutex); in fsl_mc_device_add()
981 if (mutex_trylock(&mc_bus->scan_mutex)) { in fsl_mc_get_endpoint()
983 mutex_unlock(&mc_bus->scan_mutex); in fsl_mc_get_endpoint()
Dfsl-mc-private.h609 struct mutex scan_mutex; /* serializes bus scanning */ member
/linux-6.1.9/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()
2606 mutex_init(&ieee->scan_mutex); in ieee80211_softmac_init()
Dieee80211.h1804 struct mutex scan_mutex; member
/linux-6.1.9/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()
3024 mutex_init(&ieee->scan_mutex); in rtllib_softmac_init()
Drtllib.h1600 struct mutex scan_mutex; member
/linux-6.1.9/include/scsi/
Dscsi_host.h549 struct mutex scan_mutex;/* serialize scanning activity */ member
/linux-6.1.9/Documentation/RCU/
Dlockdep-splat.rst32 #0: (&shost->scan_mutex){+.+.}, at: [<ffffffff8145efca>]
/linux-6.1.9/drivers/scsi/smartpqi/
Dsmartpqi_init.c306 mutex_lock(&ctrl_info->scan_mutex); in pqi_ctrl_block_scan()
312 mutex_unlock(&ctrl_info->scan_mutex); in pqi_ctrl_unblock_scan()
2562 mutex_acquired = mutex_trylock(&ctrl_info->scan_mutex); in pqi_scan_scsi_devices()
2575 mutex_unlock(&ctrl_info->scan_mutex); in pqi_scan_scsi_devices()
2598 return !mutex_is_locked(&ctrl_info->scan_mutex); in pqi_scan_finished()
6486 mutex_acquired = mutex_trylock(&ctrl_info->scan_mutex); in pqi_slave_destroy()
6492 mutex_unlock(&ctrl_info->scan_mutex); in pqi_slave_destroy()
6498 mutex_unlock(&ctrl_info->scan_mutex); in pqi_slave_destroy()
6506 mutex_unlock(&ctrl_info->scan_mutex); in pqi_slave_destroy()
8600 mutex_init(&ctrl_info->scan_mutex); in pqi_alloc_ctrl_info()
Dsmartpqi.h1333 struct mutex scan_mutex; member
/linux-6.1.9/drivers/scsi/aacraid/
Dcommsup.c1932 mutex_lock(&dev->scan_mutex); in aac_scan_host()
1937 mutex_unlock(&dev->scan_mutex); in aac_scan_host()
Dlinit.c1674 mutex_init(&aac->scan_mutex); in aac_probe_one()
Daacraid.h1560 struct mutex scan_mutex; member
/linux-6.1.9/drivers/ata/
Dlibata-scsi.c4389 mutex_lock(&ap->scsi_host->scan_mutex); in ata_scsi_remove_dev()
4415 mutex_unlock(&ap->scsi_host->scan_mutex); in ata_scsi_remove_dev()