Home
last modified time | relevance | path

Searched refs:host_lock (Results 1 – 25 of 91) sorted by relevance

1234

/linux-6.6.21/drivers/scsi/ibmvscsi/
Dibmvfc.c936 spin_lock_irqsave(vhost->host->host_lock, flags); in ibmvfc_reenable_crq_queue()
941 spin_unlock_irqrestore(vhost->host->host_lock, flags); in ibmvfc_reenable_crq_queue()
971 spin_lock_irqsave(vhost->host->host_lock, flags); in ibmvfc_reset_crq()
993 spin_unlock_irqrestore(vhost->host->host_lock, flags); in ibmvfc_reset_crq()
1174 spin_lock_irqsave(vhost->host->host_lock, flags); in ibmvfc_reset_host()
1176 spin_unlock_irqrestore(vhost->host->host_lock, flags); in ibmvfc_reset_host()
1242 spin_lock_irqsave(shost->host_lock, flags); in ibmvfc_get_target()
1244 spin_unlock_irqrestore(shost->host_lock, flags); in ibmvfc_get_target()
1260 spin_lock_irqsave(shost->host_lock, flags); in ibmvfc_get_host_speed()
1289 spin_unlock_irqrestore(shost->host_lock, flags); in ibmvfc_get_host_speed()
[all …]
Dibmvscsi.c788 spin_lock_irqsave(hostdata->host->host_lock, flags); in purge_requests()
794 spin_unlock_irqrestore(hostdata->host->host_lock, flags); in purge_requests()
805 spin_lock_irqsave(hostdata->host->host_lock, flags); in purge_requests()
807 spin_unlock_irqrestore(hostdata->host->host_lock, flags); in purge_requests()
821 spin_lock_irqsave(hostdata->host->host_lock, flags); in ibmvscsi_set_request_limit()
823 spin_unlock_irqrestore(hostdata->host->host_lock, flags); in ibmvscsi_set_request_limit()
1222 spin_lock_irqsave(hostdata->host->host_lock, flags); in send_srp_login()
1224 spin_unlock_irqrestore(hostdata->host->host_lock, flags); in send_srp_login()
1318 spin_lock_irqsave(hostdata->host->host_lock, flags); in send_mad_capabilities()
1321 spin_unlock_irqrestore(hostdata->host->host_lock, flags); in send_mad_capabilities()
[all …]
/linux-6.6.21/drivers/scsi/
Dipr.c618 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); in ipr_lock_and_done()
620 spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); in ipr_lock_and_done()
1024 spin_unlock_irq(ioa_cfg->host->host_lock); in ipr_send_blocking_cmd()
1026 spin_lock_irq(ioa_cfg->host->host_lock); in ipr_send_blocking_cmd()
2596 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); in ipr_timeout()
2608 spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); in ipr_timeout()
2629 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); in ipr_oper_timeout()
2644 spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); in ipr_oper_timeout()
2912 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); in ipr_sdt_copy()
2921 spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); in ipr_sdt_copy()
[all …]
Dscsi_error.c66 lockdep_assert_held(shost->host_lock); in scsi_eh_wakeup()
86 spin_lock_irqsave(shost->host_lock, flags); in scsi_schedule_eh()
94 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_schedule_eh()
184 spin_lock_irqsave(shost->host_lock, flags); in scmd_eh_abort_handler()
196 spin_unlock_irqrestore(shost->host_lock, flags); in scmd_eh_abort_handler()
214 spin_lock_irqsave(shost->host_lock, flags); in scmd_eh_abort_handler()
216 spin_unlock_irqrestore(shost->host_lock, flags); in scmd_eh_abort_handler()
250 spin_lock_irqsave(shost->host_lock, flags); in scsi_abort_command()
255 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_abort_command()
288 spin_lock_irqsave(shost->host_lock, flags); in scsi_eh_inc_host_failed()
[all …]
Dxen-scsifront.c420 spin_lock_irqsave(info->host->host_lock, flags); in scsifront_cmd_done()
426 spin_unlock_irqrestore(info->host->host_lock, flags); in scsifront_cmd_done()
622 spin_lock_irqsave(shost->host_lock, flags); in scsifront_queuecommand()
624 spin_unlock_irqrestore(shost->host_lock, flags); in scsifront_queuecommand()
632 spin_unlock_irqrestore(shost->host_lock, flags); in scsifront_queuecommand()
646 spin_unlock_irqrestore(shost->host_lock, flags); in scsifront_queuecommand()
652 spin_unlock_irqrestore(shost->host_lock, flags); in scsifront_queuecommand()
682 spin_lock_irq(host->host_lock); in scsifront_action_handler()
695 spin_unlock_irq(host->host_lock); in scsifront_action_handler()
698 spin_lock_irq(host->host_lock); in scsifront_action_handler()
[all …]
Dscsi_transport_fc.c658 spin_lock_irqsave(shost->host_lock, flags); in fc_find_rport_by_wwpn()
665 spin_unlock_irqrestore(shost->host_lock, flags); in fc_find_rport_by_wwpn()
670 spin_unlock_irqrestore(shost->host_lock, flags); in fc_find_rport_by_wwpn()
1686 spin_lock_irqsave(shost->host_lock, flags); in store_fc_vport_delete()
1688 spin_unlock_irqrestore(shost->host_lock, flags); in store_fc_vport_delete()
1692 spin_unlock_irqrestore(shost->host_lock, flags); in store_fc_vport_delete()
2020 spin_lock_irqsave(shost->host_lock, flags); in store_fc_private_host_tgtid_bind_type()
2028 spin_unlock_irqrestore(shost->host_lock, flags); in store_fc_private_host_tgtid_bind_type()
2075 spin_lock_irqsave(shost->host_lock, flags); in store_fc_private_host_dev_loss_tmo()
2078 spin_unlock_irqrestore(shost->host_lock, flags); in store_fc_private_host_dev_loss_tmo()
[all …]
Dfdomain.c276 spin_lock_irqsave(sh->host_lock, flags); in fdomain_work()
383 spin_unlock_irqrestore(sh->host_lock, flags); in fdomain_work()
418 spin_lock_irqsave(sh->host_lock, flags); in fdomain_queue()
433 spin_unlock_irqrestore(sh->host_lock, flags); in fdomain_queue()
447 spin_lock_irqsave(sh->host_lock, flags); in fdomain_abort()
455 spin_unlock_irqrestore(sh->host_lock, flags); in fdomain_abort()
465 spin_lock_irqsave(sh->host_lock, flags); in fdomain_host_reset()
467 spin_unlock_irqrestore(sh->host_lock, flags); in fdomain_host_reset()
Dstex.c572 spin_lock_irqsave(hba->host->host_lock, flags); in return_abnormal_state()
585 spin_unlock_irqrestore(hba->host->host_lock, flags); in return_abnormal_state()
891 spin_lock_irqsave(hba->host->host_lock, flags); in stex_intr()
900 spin_unlock_irqrestore(hba->host->host_lock, flags); in stex_intr()
907 spin_unlock_irqrestore(hba->host->host_lock, flags); in stex_intr()
992 spin_lock_irqsave(hba->host->host_lock, flags); in stex_ss_intr()
1000 spin_unlock_irqrestore(hba->host->host_lock, flags); in stex_ss_intr()
1014 spin_unlock_irqrestore(hba->host->host_lock, flags); in stex_ss_intr()
1021 spin_unlock_irqrestore(hba->host->host_lock, flags); in stex_ss_intr()
1231 spin_lock_irqsave(hba->host->host_lock, flags); in stex_handshake()
[all …]
Dpmcraid.c497 pinstance->host->host_lock, lock_flags); in pmcraid_clr_trans_op()
500 pinstance->host->host_lock, lock_flags); in pmcraid_clr_trans_op()
562 spin_lock_irqsave(pinstance->host->host_lock, lock_flags); in pmcraid_bist_done()
564 spin_unlock_irqrestore(pinstance->host->host_lock, lock_flags); in pmcraid_bist_done()
613 spin_lock_irqsave(pinstance->host->host_lock, lock_flags); in pmcraid_reset_alert_done()
615 spin_unlock_irqrestore(pinstance->host->host_lock, lock_flags); in pmcraid_reset_alert_done()
699 spin_lock_irqsave(pinstance->host->host_lock, lock_flags); in pmcraid_timeout_handler()
708 spin_unlock_irqrestore(pinstance->host->host_lock, in pmcraid_timeout_handler()
745 spin_unlock_irqrestore(pinstance->host->host_lock, lock_flags); in pmcraid_timeout_handler()
921 spin_lock_irqsave(pinstance->host->host_lock, lock_flags); in pmcraid_ioa_shutdown_done()
[all …]
Dhosts.c170 spin_lock_irqsave(shost->host_lock, flags); in scsi_remove_host()
173 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_remove_host()
177 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_remove_host()
195 spin_lock_irqsave(shost->host_lock, flags); in scsi_remove_host()
198 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_remove_host()
401 shost->host_lock = &shost->default_lock; in scsi_host_alloc()
402 spin_lock_init(shost->host_lock); in scsi_host_alloc()
Dwd719x.c272 spin_lock_irqsave(wd->sh->host_lock, flags); in wd719x_queuecommand()
276 spin_unlock_irqrestore(wd->sh->host_lock, flags); in wd719x_queuecommand()
287 spin_unlock_irqrestore(wd->sh->host_lock, flags); in wd719x_queuecommand()
475 spin_lock_irqsave(wd->sh->host_lock, flags); in wd719x_abort()
480 spin_unlock_irqrestore(wd->sh->host_lock, flags); in wd719x_abort()
497 spin_lock_irqsave(wd->sh->host_lock, flags); in wd719x_reset()
506 spin_unlock_irqrestore(wd->sh->host_lock, flags); in wd719x_reset()
530 spin_lock_irqsave(wd->sh->host_lock, flags); in wd719x_host_reset()
541 spin_unlock_irqrestore(wd->sh->host_lock, flags); in wd719x_host_reset()
665 spin_lock_irqsave(wd->sh->host_lock, flags); in wd719x_interrupt()
[all …]
Dscsi_debugfs.c44 spin_lock_irq(shost->host_lock); in scsi_show_rq()
58 spin_unlock_irq(shost->host_lock); in scsi_show_rq()
Daha1740.c228 spin_lock_irqsave(host->host_lock, flags); in aha1740_intr_handle()
318 spin_unlock_irqrestore(host->host_lock, flags); in aha1740_intr_handle()
356 spin_lock_irqsave(SCpnt->device->host->host_lock, flags); in aha1740_queuecommand_lck()
375 spin_unlock_irqrestore(SCpnt->device->host->host_lock, flags); in aha1740_queuecommand_lck()
468 spin_lock_irqsave(SCpnt->device->host->host_lock, flags); in aha1740_queuecommand_lck()
488 spin_unlock_irqrestore(SCpnt->device->host->host_lock, flags); in aha1740_queuecommand_lck()
Daha1542.c309 spin_lock_irqsave(sh->host_lock, flags); in aha1542_interrupt()
342 spin_unlock_irqrestore(sh->host_lock, flags); in aha1542_interrupt()
370 spin_unlock_irqrestore(sh->host_lock, flags); in aha1542_interrupt()
463 spin_lock_irqsave(sh->host_lock, flags); in aha1542_queuecommand()
520 spin_unlock_irqrestore(sh->host_lock, flags); in aha1542_queuecommand()
875 spin_lock_irqsave(sh->host_lock, flags); in aha1542_dev_reset()
915 spin_unlock_irqrestore(sh->host_lock, flags); in aha1542_dev_reset()
930 spin_lock_irqsave(sh->host_lock, flags); in aha1542_reset()
941 spin_unlock_irqrestore(sh->host_lock, flags); in aha1542_reset()
980 spin_unlock_irqrestore(sh->host_lock, flags); in aha1542_reset()
Dscsi_scan.c398 spin_lock_irqsave(shost->host_lock, flags); in scsi_target_destroy()
402 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_target_destroy()
525 spin_lock_irqsave(shost->host_lock, flags); in scsi_alloc_target()
532 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_alloc_target()
559 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_alloc_target()
1869 spin_lock_irqsave(shost->host_lock, flags); in scsi_prep_async_scan()
1871 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_prep_async_scan()
1919 spin_lock_irqsave(shost->host_lock, flags); in scsi_finish_async_scan()
1921 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_finish_async_scan()
1999 spin_lock_irqsave(shost->host_lock, flags); in scsi_forget_host()
[all …]
Dscsi_lib.c283 spin_lock_irqsave(shost->host_lock, flags); in scsi_dec_host_busy()
286 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_dec_host_busy()
330 spin_lock_irqsave(shost->host_lock, flags); in scsi_single_lun_run()
332 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_single_lun_run()
343 spin_lock_irqsave(shost->host_lock, flags); in scsi_single_lun_run()
347 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_single_lun_run()
385 spin_lock_irqsave(shost->host_lock, flags); in scsi_starved_list_run()
426 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_starved_list_run()
431 spin_lock_irqsave(shost->host_lock, flags); in scsi_starved_list_run()
435 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_starved_list_run()
[all …]
Dscsi.c789 spin_lock_irqsave(shost->host_lock, flags); in __scsi_iterate_devices()
798 spin_unlock_irqrestore(shost->host_lock, flags); in __scsi_iterate_devices()
905 spin_lock_irqsave(shost->host_lock, flags); in scsi_device_lookup_by_target()
909 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_device_lookup_by_target()
965 spin_lock_irqsave(shost->host_lock, flags); in scsi_device_lookup()
969 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_device_lookup()
/linux-6.6.21/drivers/ufs/core/
Dufshcd.c1141 lockdep_assert_held(hba->host->host_lock); in ufshcd_pending_cmds()
1165 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_wait_for_doorbell_clr()
1186 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_wait_for_doorbell_clr()
1198 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_wait_for_doorbell_clr()
1208 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_wait_for_doorbell_clr()
1354 spin_lock_irqsave(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_suspend_work()
1356 spin_unlock_irqrestore(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_suspend_work()
1360 spin_unlock_irqrestore(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_suspend_work()
1371 spin_lock_irqsave(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_resume_work()
1373 spin_unlock_irqrestore(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_resume_work()
[all …]
/linux-6.6.21/drivers/scsi/sym53c8xx_2/
Dsym_glue.c534 spin_lock(shost->host_lock); in DEF_SCSI_QCMD()
536 spin_unlock(shost->host_lock); in DEF_SCSI_QCMD()
551 spin_lock_irqsave(np->s.host->host_lock, flags); in sym53c8xx_timer()
553 spin_unlock_irqrestore(np->s.host->host_lock, flags); in sym53c8xx_timer()
593 spin_lock_irq(shost->host_lock); in sym_eh_handler()
601 spin_unlock_irq(shost->host_lock); in sym_eh_handler()
606 spin_lock_irq(shost->host_lock); in sym_eh_handler()
608 spin_unlock_irq(shost->host_lock); in sym_eh_handler()
613 spin_lock_irq(shost->host_lock); in sym_eh_handler()
652 spin_unlock_irq(shost->host_lock); in sym_eh_handler()
[all …]
/linux-6.6.21/drivers/scsi/snic/
Dsnic_disc.c163 spin_lock_irqsave(shost->host_lock, flags); in snic_scsi_scan_tgt()
165 spin_unlock_irqrestore(shost->host_lock, flags); in snic_scsi_scan_tgt()
290 spin_lock_irqsave(snic->shost->host_lock, flags); in snic_tgt_create()
294 spin_unlock_irqrestore(snic->shost->host_lock, flags); in snic_tgt_create()
307 spin_lock_irqsave(snic->shost->host_lock, flags); in snic_tgt_create()
309 spin_unlock_irqrestore(snic->shost->host_lock, flags); in snic_tgt_create()
540 spin_lock_irqsave(snic->shost->host_lock, flags); in snic_tgt_del_all()
550 spin_unlock_irqrestore(snic->shost->host_lock, flags); in snic_tgt_del_all()
/linux-6.6.21/drivers/scsi/lpfc/
Dlpfc_hbadisc.c1183 spin_lock_irq(shost->host_lock); in lpfc_cleanup_rpis()
1185 spin_unlock_irq(shost->host_lock); in lpfc_cleanup_rpis()
1226 spin_lock_irq(shost->host_lock); in lpfc_linkdown_port()
1228 spin_unlock_irq(shost->host_lock); in lpfc_linkdown_port()
1276 spin_lock_irq(shost->host_lock); in lpfc_linkdown()
1278 spin_unlock_irq(shost->host_lock); in lpfc_linkdown()
1327 spin_lock_irq(shost->host_lock); in lpfc_linkdown()
1330 spin_unlock_irq(shost->host_lock); in lpfc_linkdown()
1383 spin_lock_irq(shost->host_lock); in lpfc_linkup_port()
1393 spin_unlock_irq(shost->host_lock); in lpfc_linkup_port()
[all …]
/linux-6.6.21/drivers/s390/scsi/
Dzfcp_erp.c99 spin_lock(port->adapter->scsi_host->host_lock); in zfcp_erp_action_dismiss_port()
103 spin_unlock(port->adapter->scsi_host->host_lock); in zfcp_erp_action_dismiss_port()
674 spin_lock(port->adapter->scsi_host->host_lock); in _zfcp_erp_lun_reopen_all()
678 spin_unlock(port->adapter->scsi_host->host_lock); in _zfcp_erp_lun_reopen_all()
1433 spin_lock(shost->host_lock); in zfcp_erp_try_rport_unblock()
1455 spin_unlock(shost->host_lock); in zfcp_erp_try_rport_unblock()
1464 spin_unlock(shost->host_lock); in zfcp_erp_try_rport_unblock()
1717 spin_lock_irqsave(adapter->scsi_host->host_lock, flags); in zfcp_erp_set_adapter_status()
1720 spin_unlock_irqrestore(adapter->scsi_host->host_lock, flags); in zfcp_erp_set_adapter_status()
1761 spin_lock_irqsave(adapter->scsi_host->host_lock, flags); in zfcp_erp_clear_adapter_status()
[all …]
/linux-6.6.21/drivers/scsi/arm/
Dfas216.c906 spin_lock_irqsave(&info->host_lock, flags); in fas216_disconnect_intr()
909 spin_unlock_irqrestore(&info->host_lock, flags); in fas216_disconnect_intr()
2184 spin_lock_irqsave(&info->host_lock, flags); in fas216_done()
2187 spin_unlock_irqrestore(&info->host_lock, flags); in fas216_done()
2224 spin_lock(&info->host_lock); in fas216_queue_command_internal()
2238 spin_unlock(&info->host_lock); in fas216_queue_command_internal()
2297 spin_unlock_irq(info->host->host_lock); in fas216_noqueue_command_lck()
2309 spin_lock_irq(info->host->host_lock); in fas216_noqueue_command_lck()
2311 spin_unlock_irq(info->host->host_lock); in fas216_noqueue_command_lck()
2315 spin_lock_irq(info->host->host_lock); in fas216_noqueue_command_lck()
[all …]
/linux-6.6.21/drivers/gpu/drm/
Ddrm_mipi_dsi.c296 static DEFINE_MUTEX(host_lock);
312 mutex_lock(&host_lock); in of_find_mipi_dsi_host_by_node()
316 mutex_unlock(&host_lock); in of_find_mipi_dsi_host_by_node()
321 mutex_unlock(&host_lock); in of_find_mipi_dsi_host_by_node()
338 mutex_lock(&host_lock); in mipi_dsi_host_register()
340 mutex_unlock(&host_lock); in mipi_dsi_host_register()
361 mutex_lock(&host_lock); in mipi_dsi_host_unregister()
363 mutex_unlock(&host_lock); in mipi_dsi_host_unregister()
/linux-6.6.21/drivers/staging/rts5208/
Drtsx.h134 #define scsi_unlock(host) spin_unlock_irq(host->host_lock)
135 #define scsi_lock(host) spin_lock_irq(host->host_lock)

1234