Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/scsi/
Dscsi_scan.c1587 mutex_lock(&shost->scan_mutex); in __scsi_add_device()
1596 mutex_unlock(&shost->scan_mutex); in __scsi_add_device()
1745 mutex_lock(&shost->scan_mutex); in scsi_scan_target()
1753 mutex_unlock(&shost->scan_mutex); in scsi_scan_target()
1802 mutex_lock(&shost->scan_mutex); in scsi_scan_host_selected()
1816 mutex_unlock(&shost->scan_mutex); in scsi_scan_host_selected()
1855 mutex_lock(&shost->scan_mutex); in scsi_prep_async_scan()
1872 mutex_unlock(&shost->scan_mutex); in scsi_prep_async_scan()
1883 mutex_unlock(&shost->scan_mutex); in scsi_prep_async_scan()
1906 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()
410 mutex_init(&shost->scan_mutex); in scsi_host_alloc()
Dscsi_sysfs.c1528 mutex_lock(&shost->scan_mutex); in scsi_remove_device()
1530 mutex_unlock(&shost->scan_mutex); in scsi_remove_device()
Dstorvsc_drv.c505 mutex_lock(&host->scan_mutex); in storvsc_host_scan()
508 mutex_unlock(&host->scan_mutex); in storvsc_host_scan()
/linux-6.6.21/mm/
Dkmemleak.c240 static DEFINE_MUTEX(scan_mutex);
1727 mutex_lock(&scan_mutex); in kmemleak_scan_thread()
1729 mutex_unlock(&scan_mutex); in kmemleak_scan_thread()
1778 err = mutex_lock_interruptible(&scan_mutex); in kmemleak_seq_start()
1828 mutex_unlock(&scan_mutex); in kmemleak_seq_stop()
1936 ret = mutex_lock_interruptible(&scan_mutex); in kmemleak_write()
1988 mutex_unlock(&scan_mutex); in kmemleak_write()
2029 mutex_lock(&scan_mutex); in kmemleak_do_cleanup()
2037 mutex_unlock(&scan_mutex); in kmemleak_do_cleanup()
2142 mutex_lock(&scan_mutex); in kmemleak_late_init()
[all …]
/linux-6.6.21/drivers/bus/fsl-mc/
Ddprc-driver.c375 mutex_lock(&mc_bus->scan_mutex); in dprc_scan_container()
377 mutex_unlock(&mc_bus->scan_mutex); in dprc_scan_container()
416 mutex_lock(&mc_bus->scan_mutex); in dprc_irq0_handler_thread()
461 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()
804 mutex_init(&mc_bus->scan_mutex); in fsl_mc_device_add()
976 if (mutex_trylock(&mc_bus->scan_mutex)) { in fsl_mc_get_endpoint()
978 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.6.21/drivers/staging/rtl8192e/
Drtllib_softmac.c490 mutex_lock(&ieee->scan_mutex); in rtllib_softmac_scan_syncro()
543 mutex_unlock(&ieee->scan_mutex); in rtllib_softmac_scan_syncro()
564 mutex_lock(&ieee->scan_mutex); in rtllib_softmac_scan_wq()
595 mutex_unlock(&ieee->scan_mutex); in rtllib_softmac_scan_wq()
607 mutex_unlock(&ieee->scan_mutex); in rtllib_softmac_scan_wq()
652 mutex_lock(&ieee->scan_mutex); in rtllib_softmac_stop_scan()
657 mutex_unlock(&ieee->scan_mutex); in rtllib_softmac_stop_scan()
660 mutex_unlock(&ieee->scan_mutex); in rtllib_softmac_stop_scan()
2693 mutex_init(&ieee->scan_mutex); in rtllib_softmac_init()
Drtllib.h1536 struct mutex scan_mutex; member
/linux-6.6.21/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.h1741 struct mutex scan_mutex; member
/linux-6.6.21/include/scsi/
Dscsi_host.h552 struct mutex scan_mutex;/* serialize scanning activity */ member
/linux-6.6.21/Documentation/RCU/
Dlockdep-splat.rst32 #0: (&shost->scan_mutex){+.+.}, at: [<ffffffff8145efca>]
/linux-6.6.21/drivers/scsi/smartpqi/
Dsmartpqi_init.c309 mutex_lock(&ctrl_info->scan_mutex); in pqi_ctrl_block_scan()
315 mutex_unlock(&ctrl_info->scan_mutex); in pqi_ctrl_unblock_scan()
2583 mutex_acquired = mutex_trylock(&ctrl_info->scan_mutex); in pqi_scan_scsi_devices()
2596 mutex_unlock(&ctrl_info->scan_mutex); in pqi_scan_scsi_devices()
2619 return !mutex_is_locked(&ctrl_info->scan_mutex); in pqi_scan_finished()
6573 mutex_acquired = mutex_trylock(&ctrl_info->scan_mutex); in pqi_slave_destroy()
6579 mutex_unlock(&ctrl_info->scan_mutex); in pqi_slave_destroy()
6585 mutex_unlock(&ctrl_info->scan_mutex); in pqi_slave_destroy()
6593 mutex_unlock(&ctrl_info->scan_mutex); in pqi_slave_destroy()
8700 mutex_init(&ctrl_info->scan_mutex); in pqi_alloc_ctrl_info()
Dsmartpqi.h1345 struct mutex scan_mutex; member
/linux-6.6.21/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.c1673 mutex_init(&aac->scan_mutex); in aac_probe_one()
Daacraid.h1560 struct mutex scan_mutex; member
/linux-6.6.21/drivers/ata/
Dlibata-scsi.c4570 mutex_lock(&ap->scsi_host->scan_mutex); in ata_scsi_remove_dev()
4596 mutex_unlock(&ap->scsi_host->scan_mutex); in ata_scsi_remove_dev()