Home
last modified time | relevance | path

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

1234

/Linux-v5.4/drivers/scsi/lpfc/
Dlpfc_nportdisc.c475 spin_lock_irq(shost->host_lock); in lpfc_rcv_plogi()
477 spin_unlock_irq(shost->host_lock); in lpfc_rcv_plogi()
501 spin_lock_irq(shost->host_lock); in lpfc_rcv_plogi()
503 spin_unlock_irq(shost->host_lock); in lpfc_rcv_plogi()
634 spin_lock_irq(shost->host_lock); in lpfc_rcv_padisc()
636 spin_unlock_irq(shost->host_lock); in lpfc_rcv_padisc()
656 spin_lock_irq(shost->host_lock); in lpfc_rcv_logo()
658 spin_unlock_irq(shost->host_lock); in lpfc_rcv_logo()
667 spin_lock_irq(shost->host_lock); in lpfc_rcv_logo()
669 spin_unlock_irq(shost->host_lock); in lpfc_rcv_logo()
[all …]
Dlpfc_els.c114 spin_lock_irq(shost->host_lock); in lpfc_els_chk_latt()
116 spin_unlock_irq(shost->host_lock); in lpfc_els_chk_latt()
574 spin_lock_irq(shost->host_lock); in lpfc_issue_unreg_vfi()
576 spin_unlock_irq(shost->host_lock); in lpfc_issue_unreg_vfi()
627 spin_lock_irq(shost->host_lock); in lpfc_check_clean_addr_bit()
629 spin_unlock_irq(shost->host_lock); in lpfc_check_clean_addr_bit()
666 spin_lock_irq(shost->host_lock); in lpfc_cmpl_els_flogi_fabric()
668 spin_unlock_irq(shost->host_lock); in lpfc_cmpl_els_flogi_fabric()
678 spin_lock_irq(shost->host_lock); in lpfc_cmpl_els_flogi_fabric()
680 spin_unlock_irq(shost->host_lock); in lpfc_cmpl_els_flogi_fabric()
[all …]
Dlpfc_hbadisc.c174 spin_lock_irqsave(shost->host_lock, iflags); in lpfc_dev_loss_tmo_callbk()
176 spin_unlock_irqrestore(shost->host_lock, iflags); in lpfc_dev_loss_tmo_callbk()
222 spin_lock_irqsave(shost->host_lock, iflags); in lpfc_dev_loss_tmo_handler()
224 spin_unlock_irqrestore(shost->host_lock, iflags); in lpfc_dev_loss_tmo_handler()
833 spin_lock_irq(shost->host_lock); in lpfc_cleanup_rpis()
835 spin_unlock_irq(shost->host_lock); in lpfc_cleanup_rpis()
875 spin_lock_irq(shost->host_lock); in lpfc_linkdown_port()
877 spin_unlock_irq(shost->host_lock); in lpfc_linkdown_port()
911 spin_lock_irq(shost->host_lock); in lpfc_linkdown()
913 spin_unlock_irq(shost->host_lock); in lpfc_linkdown()
[all …]
/Linux-v5.4/drivers/scsi/ibmvscsi/
Dibmvscsi.c785 spin_lock_irqsave(hostdata->host->host_lock, flags); in purge_requests()
791 spin_unlock_irqrestore(hostdata->host->host_lock, flags); in purge_requests()
802 spin_lock_irqsave(hostdata->host->host_lock, flags); in purge_requests()
804 spin_unlock_irqrestore(hostdata->host->host_lock, flags); in purge_requests()
1196 spin_lock_irqsave(hostdata->host->host_lock, flags); in send_srp_login()
1204 spin_unlock_irqrestore(hostdata->host->host_lock, flags); in send_srp_login()
1298 spin_lock_irqsave(hostdata->host->host_lock, flags); in send_mad_capabilities()
1301 spin_unlock_irqrestore(hostdata->host->host_lock, flags); in send_mad_capabilities()
1354 spin_lock_irqsave(hostdata->host->host_lock, flags); in enable_fast_fail()
1356 spin_unlock_irqrestore(hostdata->host->host_lock, flags); in enable_fast_fail()
[all …]
Dibmvfc.c709 spin_lock_irqsave(vhost->host->host_lock, flags); in ibmvfc_reset_crq()
726 spin_unlock_irqrestore(vhost->host->host_lock, flags); in ibmvfc_reset_crq()
861 spin_lock_irqsave(vhost->host->host_lock, flags); in ibmvfc_reset_host()
863 spin_unlock_irqrestore(vhost->host->host_lock, flags); in ibmvfc_reset_host()
929 spin_lock_irqsave(shost->host_lock, flags); in ibmvfc_get_target()
931 spin_unlock_irqrestore(shost->host_lock, flags); in ibmvfc_get_target()
947 spin_lock_irqsave(shost->host_lock, flags); in ibmvfc_get_host_speed()
976 spin_unlock_irqrestore(shost->host_lock, flags); in ibmvfc_get_host_speed()
991 spin_lock_irqsave(shost->host_lock, flags); in ibmvfc_get_host_port_state()
1015 spin_unlock_irqrestore(shost->host_lock, flags); in ibmvfc_get_host_port_state()
[all …]
/Linux-v5.4/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()
2685 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); in ipr_timeout()
2697 spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); in ipr_timeout()
2718 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); in ipr_oper_timeout()
2733 spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); in ipr_oper_timeout()
3001 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); in ipr_sdt_copy()
3010 spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); in ipr_sdt_copy()
[all …]
Dscsi_transport_fc.c1276 spin_lock_irqsave(shost->host_lock, flags); in store_fc_vport_delete()
1278 spin_unlock_irqrestore(shost->host_lock, flags); in store_fc_vport_delete()
1282 spin_unlock_irqrestore(shost->host_lock, flags); in store_fc_vport_delete()
1610 spin_lock_irqsave(shost->host_lock, flags); in store_fc_private_host_tgtid_bind_type()
1618 spin_unlock_irqrestore(shost->host_lock, flags); in store_fc_private_host_tgtid_bind_type()
1665 spin_lock_irqsave(shost->host_lock, flags); in store_fc_private_host_dev_loss_tmo()
1668 spin_unlock_irqrestore(shost->host_lock, flags); in store_fc_private_host_dev_loss_tmo()
1917 spin_lock_irqsave(shost->host_lock, flags); in store_fc_host_vport_delete()
1930 spin_unlock_irqrestore(shost->host_lock, flags); in store_fc_host_vport_delete()
2091 spin_lock_irqsave(shost->host_lock, flags); in fc_user_scan_tgt()
[all …]
Dxen-scsifront.c350 spin_lock_irqsave(info->host->host_lock, flags); in scsifront_cmd_done()
356 spin_unlock_irqrestore(info->host->host_lock, flags); in scsifront_cmd_done()
541 spin_lock_irqsave(shost->host_lock, flags); in scsifront_queuecommand()
543 spin_unlock_irqrestore(shost->host_lock, flags); in scsifront_queuecommand()
551 spin_unlock_irqrestore(shost->host_lock, flags); in scsifront_queuecommand()
565 spin_unlock_irqrestore(shost->host_lock, flags); in scsifront_queuecommand()
571 spin_unlock_irqrestore(shost->host_lock, flags); in scsifront_queuecommand()
598 spin_lock_irq(host->host_lock); in scsifront_action_handler()
611 spin_unlock_irq(host->host_lock); in scsifront_action_handler()
614 spin_lock_irq(host->host_lock); in scsifront_action_handler()
[all …]
Dscsi_error.c68 lockdep_assert_held(shost->host_lock); in scsi_eh_wakeup()
88 spin_lock_irqsave(shost->host_lock, flags); in scsi_schedule_eh()
96 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_schedule_eh()
203 spin_lock_irqsave(shost->host_lock, flags); in scsi_abort_command()
206 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_abort_command()
238 spin_lock_irqsave(shost->host_lock, flags); in scsi_eh_inc_host_failed()
241 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_eh_inc_host_failed()
256 spin_lock_irqsave(shost->host_lock, flags); in scsi_eh_scmd_add()
266 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_eh_scmd_add()
805 spin_lock_irqsave(host->host_lock, flags); in scsi_try_host_reset()
[all …]
Dhosts.c168 spin_lock_irqsave(shost->host_lock, flags); in scsi_remove_host()
171 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_remove_host()
175 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_remove_host()
183 spin_lock_irqsave(shost->host_lock, flags); in scsi_remove_host()
186 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_remove_host()
381 shost->host_lock = &shost->default_lock; in scsi_host_alloc()
382 spin_lock_init(shost->host_lock); in scsi_host_alloc()
Dfdomain.c271 spin_lock_irqsave(sh->host_lock, flags); in fdomain_work()
375 spin_unlock_irqrestore(sh->host_lock, flags); in fdomain_work()
409 spin_lock_irqsave(sh->host_lock, flags); in fdomain_queue()
424 spin_unlock_irqrestore(sh->host_lock, flags); in fdomain_queue()
438 spin_lock_irqsave(sh->host_lock, flags); in fdomain_abort()
446 spin_unlock_irqrestore(sh->host_lock, flags); in fdomain_abort()
456 spin_lock_irqsave(sh->host_lock, flags); in fdomain_host_reset()
458 spin_unlock_irqrestore(sh->host_lock, flags); in fdomain_host_reset()
Dstex.c571 spin_lock_irqsave(hba->host->host_lock, flags); in return_abnormal_state()
584 spin_unlock_irqrestore(hba->host->host_lock, flags); in return_abnormal_state()
889 spin_lock_irqsave(hba->host->host_lock, flags); in stex_intr()
898 spin_unlock_irqrestore(hba->host->host_lock, flags); in stex_intr()
905 spin_unlock_irqrestore(hba->host->host_lock, flags); in stex_intr()
990 spin_lock_irqsave(hba->host->host_lock, flags); in stex_ss_intr()
998 spin_unlock_irqrestore(hba->host->host_lock, flags); in stex_ss_intr()
1012 spin_unlock_irqrestore(hba->host->host_lock, flags); in stex_ss_intr()
1019 spin_unlock_irqrestore(hba->host->host_lock, flags); in stex_ss_intr()
1229 spin_lock_irqsave(hba->host->host_lock, flags); in stex_handshake()
[all …]
Dscsi.c571 spin_lock_irqsave(shost->host_lock, flags); in __scsi_iterate_devices()
580 spin_unlock_irqrestore(shost->host_lock, flags); in __scsi_iterate_devices()
687 spin_lock_irqsave(shost->host_lock, flags); in scsi_device_lookup_by_target()
691 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_device_lookup_by_target()
747 spin_lock_irqsave(shost->host_lock, flags); in scsi_device_lookup()
751 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_device_lookup()
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()
474 spin_lock_irqsave(wd->sh->host_lock, flags); in wd719x_abort()
478 spin_unlock_irqrestore(wd->sh->host_lock, flags); in wd719x_abort()
495 spin_lock_irqsave(wd->sh->host_lock, flags); in wd719x_reset()
504 spin_unlock_irqrestore(wd->sh->host_lock, flags); in wd719x_reset()
528 spin_lock_irqsave(wd->sh->host_lock, flags); in wd719x_host_reset()
539 spin_unlock_irqrestore(wd->sh->host_lock, flags); in wd719x_host_reset()
663 spin_lock_irqsave(wd->sh->host_lock, flags); in wd719x_interrupt()
[all …]
Dpmcraid.c498 pinstance->host->host_lock, lock_flags); in pmcraid_clr_trans_op()
501 pinstance->host->host_lock, lock_flags); in pmcraid_clr_trans_op()
565 spin_lock_irqsave(pinstance->host->host_lock, lock_flags); in pmcraid_bist_done()
567 spin_unlock_irqrestore(pinstance->host->host_lock, lock_flags); in pmcraid_bist_done()
616 spin_lock_irqsave(pinstance->host->host_lock, lock_flags); in pmcraid_reset_alert_done()
618 spin_unlock_irqrestore(pinstance->host->host_lock, lock_flags); in pmcraid_reset_alert_done()
702 spin_lock_irqsave(pinstance->host->host_lock, lock_flags); in pmcraid_timeout_handler()
711 spin_unlock_irqrestore(pinstance->host->host_lock, in pmcraid_timeout_handler()
748 spin_unlock_irqrestore(pinstance->host->host_lock, lock_flags); in pmcraid_timeout_handler()
924 spin_lock_irqsave(pinstance->host->host_lock, lock_flags); in pmcraid_ioa_shutdown_done()
[all …]
Dscsi_lib.c339 spin_lock_irqsave(shost->host_lock, flags); in scsi_dec_host_busy()
342 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_dec_host_busy()
379 spin_lock_irqsave(shost->host_lock, flags); in scsi_single_lun_run()
381 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_single_lun_run()
391 spin_lock_irqsave(shost->host_lock, flags); in scsi_single_lun_run()
401 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_single_lun_run()
403 spin_lock_irqsave(shost->host_lock, flags); in scsi_single_lun_run()
408 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_single_lun_run()
449 spin_lock_irqsave(shost->host_lock, flags); in scsi_starved_list_run()
490 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_starved_list_run()
[all …]
Daha1740.c223 spin_lock_irqsave(host->host_lock, flags); in aha1740_intr_handle()
310 spin_unlock_irqrestore(host->host_lock, flags); in aha1740_intr_handle()
348 spin_lock_irqsave(SCpnt->device->host->host_lock, flags); in aha1740_queuecommand_lck()
367 spin_unlock_irqrestore(SCpnt->device->host->host_lock, flags); in aha1740_queuecommand_lck()
460 spin_lock_irqsave(SCpnt->device->host->host_lock, flags); in aha1740_queuecommand_lck()
480 spin_unlock_irqrestore(SCpnt->device->host->host_lock, flags); in aha1740_queuecommand_lck()
Daha1542.c291 spin_lock_irqsave(sh->host_lock, flags); in aha1542_interrupt()
322 spin_unlock_irqrestore(sh->host_lock, flags); in aha1542_interrupt()
350 spin_unlock_irqrestore(sh->host_lock, flags); in aha1542_interrupt()
439 spin_lock_irqsave(sh->host_lock, flags); in aha1542_queuecommand()
510 spin_unlock_irqrestore(sh->host_lock, flags); in aha1542_queuecommand()
863 spin_lock_irqsave(sh->host_lock, flags); in aha1542_dev_reset()
902 spin_unlock_irqrestore(sh->host_lock, flags); in aha1542_dev_reset()
917 spin_lock_irqsave(sh->host_lock, flags); in aha1542_reset()
928 spin_unlock_irqrestore(sh->host_lock, flags); in aha1542_reset()
967 spin_unlock_irqrestore(sh->host_lock, flags); in aha1542_reset()
/Linux-v5.4/drivers/scsi/ufs/
Dufshcd.c1016 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_wait_for_doorbell_clr()
1037 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_wait_for_doorbell_clr()
1049 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_wait_for_doorbell_clr()
1059 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_wait_for_doorbell_clr()
1193 spin_lock_irqsave(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_suspend_work()
1195 spin_unlock_irqrestore(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_suspend_work()
1199 spin_unlock_irqrestore(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_suspend_work()
1210 spin_lock_irqsave(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_resume_work()
1212 spin_unlock_irqrestore(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_resume_work()
1216 spin_unlock_irqrestore(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_resume_work()
[all …]
/Linux-v5.4/drivers/scsi/sym53c8xx_2/
Dsym_glue.c543 spin_lock(shost->host_lock); in DEF_SCSI_QCMD()
545 spin_unlock(shost->host_lock); in DEF_SCSI_QCMD()
560 spin_lock_irqsave(np->s.host->host_lock, flags); in sym53c8xx_timer()
562 spin_unlock_irqrestore(np->s.host->host_lock, flags); in sym53c8xx_timer()
602 spin_lock_irq(shost->host_lock); in sym_eh_handler()
610 spin_unlock_irq(shost->host_lock); in sym_eh_handler()
615 spin_lock_irq(shost->host_lock); in sym_eh_handler()
617 spin_unlock_irq(shost->host_lock); in sym_eh_handler()
622 spin_lock_irq(shost->host_lock); in sym_eh_handler()
661 spin_unlock_irq(shost->host_lock); in sym_eh_handler()
[all …]
/Linux-v5.4/drivers/gpu/drm/
Ddrm_mipi_dsi.c249 static DEFINE_MUTEX(host_lock);
265 mutex_lock(&host_lock); in of_find_mipi_dsi_host_by_node()
269 mutex_unlock(&host_lock); in of_find_mipi_dsi_host_by_node()
274 mutex_unlock(&host_lock); in of_find_mipi_dsi_host_by_node()
291 mutex_lock(&host_lock); in mipi_dsi_host_register()
293 mutex_unlock(&host_lock); in mipi_dsi_host_register()
312 mutex_lock(&host_lock); in mipi_dsi_host_unregister()
314 mutex_unlock(&host_lock); in mipi_dsi_host_unregister()
/Linux-v5.4/drivers/s390/scsi/
Dzfcp_erp.c98 spin_lock(port->adapter->scsi_host->host_lock); in zfcp_erp_action_dismiss_port()
102 spin_unlock(port->adapter->scsi_host->host_lock); in zfcp_erp_action_dismiss_port()
664 spin_lock(port->adapter->scsi_host->host_lock); in _zfcp_erp_lun_reopen_all()
668 spin_unlock(port->adapter->scsi_host->host_lock); in _zfcp_erp_lun_reopen_all()
1360 spin_lock(shost->host_lock); in zfcp_erp_try_rport_unblock()
1382 spin_unlock(shost->host_lock); in zfcp_erp_try_rport_unblock()
1391 spin_unlock(shost->host_lock); in zfcp_erp_try_rport_unblock()
1639 spin_lock_irqsave(adapter->scsi_host->host_lock, flags); in zfcp_erp_set_adapter_status()
1642 spin_unlock_irqrestore(adapter->scsi_host->host_lock, flags); in zfcp_erp_set_adapter_status()
1676 spin_lock_irqsave(adapter->scsi_host->host_lock, flags); in zfcp_erp_clear_adapter_status()
[all …]
/Linux-v5.4/drivers/scsi/arm/
Dfas216.c903 spin_lock_irqsave(&info->host_lock, flags); in fas216_disconnect_intr()
906 spin_unlock_irqrestore(&info->host_lock, flags); in fas216_disconnect_intr()
2185 spin_lock_irqsave(&info->host_lock, flags); in fas216_done()
2188 spin_unlock_irqrestore(&info->host_lock, flags); in fas216_done()
2226 spin_lock(&info->host_lock); in fas216_queue_command_lck()
2240 spin_unlock(&info->host_lock); in fas216_queue_command_lck()
2295 spin_unlock_irq(info->host->host_lock); in fas216_noqueue_command_lck()
2307 spin_lock_irq(info->host->host_lock); in fas216_noqueue_command_lck()
2309 spin_unlock_irq(info->host->host_lock); in fas216_noqueue_command_lck()
2313 spin_lock_irq(info->host->host_lock); in fas216_noqueue_command_lck()
[all …]
/Linux-v5.4/drivers/scsi/snic/
Dsnic_disc.c177 spin_lock_irqsave(shost->host_lock, flags); in snic_scsi_scan_tgt()
179 spin_unlock_irqrestore(shost->host_lock, flags); in snic_scsi_scan_tgt()
304 spin_lock_irqsave(snic->shost->host_lock, flags); in snic_tgt_create()
308 spin_unlock_irqrestore(snic->shost->host_lock, flags); in snic_tgt_create()
551 spin_lock_irqsave(snic->shost->host_lock, flags); in snic_tgt_del_all()
561 spin_unlock_irqrestore(snic->shost->host_lock, flags); in snic_tgt_del_all()
/Linux-v5.4/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