Home
last modified time | relevance | path

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

1234

/linux-6.1.9/drivers/scsi/ibmvscsi/
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 …]
Dibmvfc.c937 spin_lock_irqsave(vhost->host->host_lock, flags); in ibmvfc_reenable_crq_queue()
942 spin_unlock_irqrestore(vhost->host->host_lock, flags); in ibmvfc_reenable_crq_queue()
972 spin_lock_irqsave(vhost->host->host_lock, flags); in ibmvfc_reset_crq()
994 spin_unlock_irqrestore(vhost->host->host_lock, flags); in ibmvfc_reset_crq()
1175 spin_lock_irqsave(vhost->host->host_lock, flags); in ibmvfc_reset_host()
1177 spin_unlock_irqrestore(vhost->host->host_lock, flags); in ibmvfc_reset_host()
1243 spin_lock_irqsave(shost->host_lock, flags); in ibmvfc_get_target()
1245 spin_unlock_irqrestore(shost->host_lock, flags); in ibmvfc_get_target()
1261 spin_lock_irqsave(shost->host_lock, flags); in ibmvfc_get_host_speed()
1290 spin_unlock_irqrestore(shost->host_lock, flags); in ibmvfc_get_host_speed()
[all …]
/linux-6.1.9/drivers/scsi/
Dipr.c623 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); in ipr_lock_and_done()
625 spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); in ipr_lock_and_done()
1077 spin_unlock_irq(ioa_cfg->host->host_lock); in ipr_send_blocking_cmd()
1079 spin_lock_irq(ioa_cfg->host->host_lock); in ipr_send_blocking_cmd()
2684 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); in ipr_timeout()
2696 spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); in ipr_timeout()
2717 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); in ipr_oper_timeout()
2732 spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); in ipr_oper_timeout()
3000 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); in ipr_sdt_copy()
3009 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()
245 spin_lock_irqsave(shost->host_lock, flags); in scsi_abort_command()
250 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_abort_command()
282 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.c657 spin_lock_irqsave(shost->host_lock, flags); in fc_find_rport_by_wwpn()
664 spin_unlock_irqrestore(shost->host_lock, flags); in fc_find_rport_by_wwpn()
669 spin_unlock_irqrestore(shost->host_lock, flags); in fc_find_rport_by_wwpn()
1683 spin_lock_irqsave(shost->host_lock, flags); in store_fc_vport_delete()
1685 spin_unlock_irqrestore(shost->host_lock, flags); in store_fc_vport_delete()
1689 spin_unlock_irqrestore(shost->host_lock, flags); in store_fc_vport_delete()
2017 spin_lock_irqsave(shost->host_lock, flags); in store_fc_private_host_tgtid_bind_type()
2025 spin_unlock_irqrestore(shost->host_lock, flags); in store_fc_private_host_tgtid_bind_type()
2072 spin_lock_irqsave(shost->host_lock, flags); in store_fc_private_host_dev_loss_tmo()
2075 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.c568 spin_lock_irqsave(hba->host->host_lock, flags); in return_abnormal_state()
581 spin_unlock_irqrestore(hba->host->host_lock, flags); in return_abnormal_state()
887 spin_lock_irqsave(hba->host->host_lock, flags); in stex_intr()
896 spin_unlock_irqrestore(hba->host->host_lock, flags); in stex_intr()
903 spin_unlock_irqrestore(hba->host->host_lock, flags); in stex_intr()
988 spin_lock_irqsave(hba->host->host_lock, flags); in stex_ss_intr()
996 spin_unlock_irqrestore(hba->host->host_lock, flags); in stex_ss_intr()
1010 spin_unlock_irqrestore(hba->host->host_lock, flags); in stex_ss_intr()
1017 spin_unlock_irqrestore(hba->host->host_lock, flags); in stex_ss_intr()
1227 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()
194 spin_lock_irqsave(shost->host_lock, flags); in scsi_remove_host()
197 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_remove_host()
402 shost->host_lock = &shost->default_lock; in scsi_host_alloc()
403 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.c604 spin_lock_irqsave(shost->host_lock, flags); in __scsi_iterate_devices()
613 spin_unlock_irqrestore(shost->host_lock, flags); in __scsi_iterate_devices()
720 spin_lock_irqsave(shost->host_lock, flags); in scsi_device_lookup_by_target()
724 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_device_lookup_by_target()
780 spin_lock_irqsave(shost->host_lock, flags); in scsi_device_lookup()
784 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_device_lookup()
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()
324 spin_lock_irqsave(shost->host_lock, flags); in scsi_single_lun_run()
326 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_single_lun_run()
336 spin_lock_irqsave(shost->host_lock, flags); in scsi_single_lun_run()
346 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_single_lun_run()
348 spin_lock_irqsave(shost->host_lock, flags); in scsi_single_lun_run()
353 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_single_lun_run()
391 spin_lock_irqsave(shost->host_lock, flags); in scsi_starved_list_run()
432 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_starved_list_run()
[all …]
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()
874 spin_lock_irqsave(sh->host_lock, flags); in aha1542_dev_reset()
914 spin_unlock_irqrestore(sh->host_lock, flags); in aha1542_dev_reset()
929 spin_lock_irqsave(sh->host_lock, flags); in aha1542_reset()
940 spin_unlock_irqrestore(sh->host_lock, flags); in aha1542_reset()
979 spin_unlock_irqrestore(sh->host_lock, flags); in aha1542_reset()
Dscsi_scan.c399 spin_lock_irqsave(shost->host_lock, flags); in scsi_target_destroy()
403 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_target_destroy()
526 spin_lock_irqsave(shost->host_lock, flags); in scsi_alloc_target()
533 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_alloc_target()
560 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_alloc_target()
1841 spin_lock_irqsave(shost->host_lock, flags); in scsi_prep_async_scan()
1843 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_prep_async_scan()
1891 spin_lock_irqsave(shost->host_lock, flags); in scsi_finish_async_scan()
1893 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_finish_async_scan()
1971 spin_lock_irqsave(shost->host_lock, flags); in scsi_forget_host()
[all …]
/linux-6.1.9/drivers/ufs/core/
Dufshcd.c1114 lockdep_assert_held(hba->host->host_lock); in ufshcd_pending_cmds()
1132 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_wait_for_doorbell_clr()
1153 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_wait_for_doorbell_clr()
1165 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_wait_for_doorbell_clr()
1175 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_wait_for_doorbell_clr()
1318 spin_lock_irqsave(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_suspend_work()
1320 spin_unlock_irqrestore(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_suspend_work()
1324 spin_unlock_irqrestore(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_suspend_work()
1335 spin_lock_irqsave(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_resume_work()
1337 spin_unlock_irqrestore(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_resume_work()
[all …]
/linux-6.1.9/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.1.9/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.1.9/drivers/scsi/lpfc/
Dlpfc_hbadisc.c1157 spin_lock_irq(shost->host_lock); in lpfc_cleanup_rpis()
1159 spin_unlock_irq(shost->host_lock); in lpfc_cleanup_rpis()
1200 spin_lock_irq(shost->host_lock); in lpfc_linkdown_port()
1202 spin_unlock_irq(shost->host_lock); in lpfc_linkdown_port()
1250 spin_lock_irq(shost->host_lock); in lpfc_linkdown()
1252 spin_unlock_irq(shost->host_lock); in lpfc_linkdown()
1301 spin_lock_irq(shost->host_lock); in lpfc_linkdown()
1304 spin_unlock_irq(shost->host_lock); in lpfc_linkdown()
1357 spin_lock_irq(shost->host_lock); in lpfc_linkup_port()
1367 spin_unlock_irq(shost->host_lock); in lpfc_linkup_port()
[all …]
/linux-6.1.9/drivers/gpu/drm/
Ddrm_mipi_dsi.c295 static DEFINE_MUTEX(host_lock);
311 mutex_lock(&host_lock); in of_find_mipi_dsi_host_by_node()
315 mutex_unlock(&host_lock); in of_find_mipi_dsi_host_by_node()
320 mutex_unlock(&host_lock); in of_find_mipi_dsi_host_by_node()
337 mutex_lock(&host_lock); in mipi_dsi_host_register()
339 mutex_unlock(&host_lock); in mipi_dsi_host_register()
359 mutex_lock(&host_lock); in mipi_dsi_host_unregister()
361 mutex_unlock(&host_lock); in mipi_dsi_host_unregister()
/linux-6.1.9/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.1.9/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.1.9/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)
/linux-6.1.9/drivers/usb/storage/
Dusb.h169 #define scsi_unlock(host) spin_unlock_irq(host->host_lock)
170 #define scsi_lock(host) spin_lock_irq(host->host_lock)

1234