Home
last modified time | relevance | path

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

1234

/drivers/scsi/lpfc/
Dlpfc_nportdisc.c474 spin_lock_irq(shost->host_lock); in lpfc_rcv_plogi()
476 spin_unlock_irq(shost->host_lock); in lpfc_rcv_plogi()
502 spin_lock_irq(shost->host_lock); in lpfc_rcv_plogi()
504 spin_unlock_irq(shost->host_lock); in lpfc_rcv_plogi()
635 spin_lock_irq(shost->host_lock); in lpfc_rcv_padisc()
637 spin_unlock_irq(shost->host_lock); in lpfc_rcv_padisc()
657 spin_lock_irq(shost->host_lock); in lpfc_rcv_logo()
659 spin_unlock_irq(shost->host_lock); in lpfc_rcv_logo()
668 spin_lock_irq(shost->host_lock); in lpfc_rcv_logo()
670 spin_unlock_irq(shost->host_lock); in lpfc_rcv_logo()
[all …]
Dlpfc_els.c112 spin_lock_irq(shost->host_lock); in lpfc_els_chk_latt()
114 spin_unlock_irq(shost->host_lock); in lpfc_els_chk_latt()
572 spin_lock_irq(shost->host_lock); in lpfc_issue_unreg_vfi()
574 spin_unlock_irq(shost->host_lock); in lpfc_issue_unreg_vfi()
625 spin_lock_irq(shost->host_lock); in lpfc_check_clean_addr_bit()
627 spin_unlock_irq(shost->host_lock); in lpfc_check_clean_addr_bit()
664 spin_lock_irq(shost->host_lock); in lpfc_cmpl_els_flogi_fabric()
666 spin_unlock_irq(shost->host_lock); in lpfc_cmpl_els_flogi_fabric()
676 spin_lock_irq(shost->host_lock); in lpfc_cmpl_els_flogi_fabric()
678 spin_unlock_irq(shost->host_lock); in lpfc_cmpl_els_flogi_fabric()
[all …]
Dlpfc_hbadisc.c173 spin_lock_irq(shost->host_lock); in lpfc_dev_loss_tmo_callbk()
175 spin_unlock_irq(shost->host_lock); in lpfc_dev_loss_tmo_callbk()
220 spin_lock_irq(shost->host_lock); in lpfc_dev_loss_tmo_handler()
222 spin_unlock_irq(shost->host_lock); in lpfc_dev_loss_tmo_handler()
836 spin_lock_irq(shost->host_lock); in lpfc_cleanup_rpis()
838 spin_unlock_irq(shost->host_lock); in lpfc_cleanup_rpis()
879 spin_lock_irq(shost->host_lock); in lpfc_linkdown_port()
881 spin_unlock_irq(shost->host_lock); in lpfc_linkdown_port()
905 spin_lock_irq(shost->host_lock); in lpfc_linkdown()
907 spin_unlock_irq(shost->host_lock); in lpfc_linkdown()
[all …]
/drivers/scsi/ibmvscsi/
Dibmvfc.c722 spin_lock_irqsave(vhost->host->host_lock, flags); in ibmvfc_reset_crq()
739 spin_unlock_irqrestore(vhost->host->host_lock, flags); in ibmvfc_reset_crq()
874 spin_lock_irqsave(vhost->host->host_lock, flags); in ibmvfc_reset_host()
876 spin_unlock_irqrestore(vhost->host->host_lock, flags); in ibmvfc_reset_host()
942 spin_lock_irqsave(shost->host_lock, flags); in ibmvfc_get_target()
944 spin_unlock_irqrestore(shost->host_lock, flags); in ibmvfc_get_target()
960 spin_lock_irqsave(shost->host_lock, flags); in ibmvfc_get_host_speed()
989 spin_unlock_irqrestore(shost->host_lock, flags); in ibmvfc_get_host_speed()
1004 spin_lock_irqsave(shost->host_lock, flags); in ibmvfc_get_host_port_state()
1028 spin_unlock_irqrestore(shost->host_lock, flags); in ibmvfc_get_host_port_state()
[all …]
Dibmvscsi.c799 spin_lock_irqsave(hostdata->host->host_lock, flags); in purge_requests()
805 spin_unlock_irqrestore(hostdata->host->host_lock, flags); in purge_requests()
816 spin_lock_irqsave(hostdata->host->host_lock, flags); in purge_requests()
818 spin_unlock_irqrestore(hostdata->host->host_lock, flags); in purge_requests()
1210 spin_lock_irqsave(hostdata->host->host_lock, flags); in send_srp_login()
1218 spin_unlock_irqrestore(hostdata->host->host_lock, flags); in send_srp_login()
1314 spin_lock_irqsave(hostdata->host->host_lock, flags); in send_mad_capabilities()
1317 spin_unlock_irqrestore(hostdata->host->host_lock, flags); in send_mad_capabilities()
1370 spin_lock_irqsave(hostdata->host->host_lock, flags); in enable_fast_fail()
1372 spin_unlock_irqrestore(hostdata->host->host_lock, flags); in enable_fast_fail()
[all …]
/drivers/scsi/
Dipr.c635 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); in ipr_lock_and_done()
637 spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); in ipr_lock_and_done()
1091 spin_unlock_irq(ioa_cfg->host->host_lock); in ipr_send_blocking_cmd()
1093 spin_lock_irq(ioa_cfg->host->host_lock); in ipr_send_blocking_cmd()
2673 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); in ipr_timeout()
2685 spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); in ipr_timeout()
2705 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); in ipr_oper_timeout()
2720 spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); in ipr_oper_timeout()
2988 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); in ipr_sdt_copy()
2997 spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); in ipr_sdt_copy()
[all …]
Dscsi_transport_fc.c1288 spin_lock_irqsave(shost->host_lock, flags); in store_fc_vport_delete()
1290 spin_unlock_irqrestore(shost->host_lock, flags); in store_fc_vport_delete()
1294 spin_unlock_irqrestore(shost->host_lock, flags); in store_fc_vport_delete()
1622 spin_lock_irqsave(shost->host_lock, flags); in store_fc_private_host_tgtid_bind_type()
1630 spin_unlock_irqrestore(shost->host_lock, flags); in store_fc_private_host_tgtid_bind_type()
1677 spin_lock_irqsave(shost->host_lock, flags); in store_fc_private_host_dev_loss_tmo()
1680 spin_unlock_irqrestore(shost->host_lock, flags); in store_fc_private_host_dev_loss_tmo()
1929 spin_lock_irqsave(shost->host_lock, flags); in store_fc_host_vport_delete()
1942 spin_unlock_irqrestore(shost->host_lock, flags); in store_fc_host_vport_delete()
2103 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 …]
Dsym53c416.c337 spin_lock_irqsave(dev->host_lock,flags); in sym53c416_intr_handle()
341 spin_unlock_irqrestore(dev->host_lock, flags); in sym53c416_intr_handle()
349 spin_lock_irqsave(dev->host_lock, flags); in sym53c416_intr_handle()
351 spin_unlock_irqrestore(dev->host_lock, flags); in sym53c416_intr_handle()
359 spin_lock_irqsave(dev->host_lock, flags); in sym53c416_intr_handle()
361 spin_unlock_irqrestore(dev->host_lock, flags); in sym53c416_intr_handle()
369 spin_lock_irqsave(dev->host_lock, flags); in sym53c416_intr_handle()
371 spin_unlock_irqrestore(dev->host_lock, flags); in sym53c416_intr_handle()
379 spin_lock_irqsave(dev->host_lock, flags); in sym53c416_intr_handle()
381 spin_unlock_irqrestore(dev->host_lock, flags); in sym53c416_intr_handle()
[all …]
Dscsi_error.c85 spin_lock_irqsave(shost->host_lock, flags); in scsi_schedule_eh()
93 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_schedule_eh()
194 spin_lock_irqsave(shost->host_lock, flags); in scsi_abort_command()
197 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_abort_command()
229 spin_lock_irqsave(shost->host_lock, flags); in scsi_eh_inc_host_failed()
232 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_eh_inc_host_failed()
247 spin_lock_irqsave(shost->host_lock, flags); in scsi_eh_scmd_add()
257 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_eh_scmd_add()
772 spin_lock_irqsave(host->host_lock, flags); in scsi_try_host_reset()
774 spin_unlock_irqrestore(host->host_lock, flags); in scsi_try_host_reset()
[all …]
Dwd719x.c212 spin_lock_irqsave(wd->sh->host_lock, flags); in wd719x_queuecommand()
218 spin_unlock_irqrestore(wd->sh->host_lock, flags); in wd719x_queuecommand()
221 spin_lock_irqsave(wd->sh->host_lock, flags); in wd719x_queuecommand()
225 spin_unlock_irqrestore(wd->sh->host_lock, flags); in wd719x_queuecommand()
263 spin_unlock_irqrestore(wd->sh->host_lock, flags); in wd719x_queuecommand()
288 spin_unlock_irqrestore(wd->sh->host_lock, flags); in wd719x_queuecommand()
297 spin_unlock_irqrestore(wd->sh->host_lock, flags); in wd719x_queuecommand()
474 spin_lock_irqsave(wd->sh->host_lock, flags); in wd719x_abort()
477 spin_unlock_irqrestore(wd->sh->host_lock, flags); in wd719x_abort()
493 spin_lock_irqsave(wd->sh->host_lock, flags); in wd719x_reset()
[all …]
Dstex.c576 spin_lock_irqsave(hba->host->host_lock, flags); in return_abnormal_state()
589 spin_unlock_irqrestore(hba->host->host_lock, flags); in return_abnormal_state()
894 spin_lock_irqsave(hba->host->host_lock, flags); in stex_intr()
903 spin_unlock_irqrestore(hba->host->host_lock, flags); in stex_intr()
910 spin_unlock_irqrestore(hba->host->host_lock, flags); in stex_intr()
995 spin_lock_irqsave(hba->host->host_lock, flags); in stex_ss_intr()
1003 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()
1024 spin_unlock_irqrestore(hba->host->host_lock, flags); in stex_ss_intr()
1234 spin_lock_irqsave(hba->host->host_lock, flags); in stex_handshake()
[all …]
Dhosts.c162 spin_lock_irqsave(shost->host_lock, flags); in scsi_remove_host()
165 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_remove_host()
169 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_remove_host()
177 spin_lock_irqsave(shost->host_lock, flags); in scsi_remove_host()
180 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_remove_host()
396 shost->host_lock = &shost->default_lock; in scsi_host_alloc()
397 spin_lock_init(shost->host_lock); in scsi_host_alloc()
Dpmcraid.c513 pinstance->host->host_lock, lock_flags); in pmcraid_clr_trans_op()
516 pinstance->host->host_lock, lock_flags); in pmcraid_clr_trans_op()
582 spin_lock_irqsave(pinstance->host->host_lock, lock_flags); in pmcraid_bist_done()
584 spin_unlock_irqrestore(pinstance->host->host_lock, lock_flags); in pmcraid_bist_done()
633 spin_lock_irqsave(pinstance->host->host_lock, lock_flags); in pmcraid_reset_alert_done()
635 spin_unlock_irqrestore(pinstance->host->host_lock, lock_flags); in pmcraid_reset_alert_done()
722 spin_lock_irqsave(pinstance->host->host_lock, lock_flags); in pmcraid_timeout_handler()
731 spin_unlock_irqrestore(pinstance->host->host_lock, in pmcraid_timeout_handler()
768 spin_unlock_irqrestore(pinstance->host->host_lock, lock_flags); in pmcraid_timeout_handler()
952 spin_lock_irqsave(pinstance->host->host_lock, lock_flags); in pmcraid_ioa_shutdown_done()
[all …]
Dscsi.c591 spin_lock_irqsave(shost->host_lock, flags); in __scsi_iterate_devices()
600 spin_unlock_irqrestore(shost->host_lock, flags); in __scsi_iterate_devices()
707 spin_lock_irqsave(shost->host_lock, flags); in scsi_device_lookup_by_target()
711 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_device_lookup_by_target()
767 spin_lock_irqsave(shost->host_lock, flags); in scsi_device_lookup()
771 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_device_lookup()
Daha1542.c268 spin_lock_irqsave(sh->host_lock, flags); in aha1542_interrupt()
299 spin_unlock_irqrestore(sh->host_lock, flags); in aha1542_interrupt()
327 spin_unlock_irqrestore(sh->host_lock, flags); in aha1542_interrupt()
414 spin_lock_irqsave(sh->host_lock, flags); in aha1542_queuecommand()
487 spin_unlock_irqrestore(sh->host_lock, flags); in aha1542_queuecommand()
806 spin_lock_irqsave(sh->host_lock, flags); in aha1542_dev_reset()
844 spin_unlock_irqrestore(sh->host_lock, flags); in aha1542_dev_reset()
859 spin_lock_irqsave(sh->host_lock, flags); in aha1542_reset()
870 spin_unlock_irqrestore(sh->host_lock, flags); in aha1542_reset()
910 spin_unlock_irqrestore(sh->host_lock, flags); in aha1542_reset()
Dscsi_lib.c337 spin_lock_irqsave(shost->host_lock, flags); in scsi_dec_host_busy()
340 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_dec_host_busy()
380 spin_lock_irqsave(shost->host_lock, flags); in scsi_single_lun_run()
382 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_single_lun_run()
392 spin_lock_irqsave(shost->host_lock, flags); in scsi_single_lun_run()
402 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_single_lun_run()
404 spin_lock_irqsave(shost->host_lock, flags); in scsi_single_lun_run()
409 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_single_lun_run()
450 spin_lock_irqsave(shost->host_lock, flags); in scsi_starved_list_run()
491 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_starved_list_run()
[all …]
Dscsi_scan.c325 spin_lock_irqsave(shost->host_lock, flags); in scsi_target_destroy()
329 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_target_destroy()
451 spin_lock_irqsave(shost->host_lock, flags); in scsi_alloc_target()
458 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_alloc_target()
484 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_alloc_target()
1743 spin_lock_irqsave(shost->host_lock, flags); in scsi_prep_async_scan()
1745 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_prep_async_scan()
1792 spin_lock_irqsave(shost->host_lock, flags); in scsi_finish_async_scan()
1794 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_finish_async_scan()
1872 spin_lock_irqsave(shost->host_lock, flags); in scsi_forget_host()
[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()
347 spin_lock_irqsave(SCpnt->device->host->host_lock, flags); in aha1740_queuecommand_lck()
366 spin_unlock_irqrestore(SCpnt->device->host->host_lock, flags); in aha1740_queuecommand_lck()
459 spin_lock_irqsave(SCpnt->device->host->host_lock, flags); in aha1740_queuecommand_lck()
479 spin_unlock_irqrestore(SCpnt->device->host->host_lock, flags); in aha1740_queuecommand_lck()
/drivers/scsi/ufs/
Dufshcd.c977 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_wait_for_doorbell_clr()
998 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_wait_for_doorbell_clr()
1010 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_wait_for_doorbell_clr()
1020 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_wait_for_doorbell_clr()
1154 spin_lock_irqsave(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_suspend_work()
1156 spin_unlock_irqrestore(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_suspend_work()
1160 spin_unlock_irqrestore(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_suspend_work()
1171 spin_lock_irqsave(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_resume_work()
1173 spin_unlock_irqrestore(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_resume_work()
1177 spin_unlock_irqrestore(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_resume_work()
[all …]
/drivers/scsi/sym53c8xx_2/
Dsym_glue.c556 spin_lock(shost->host_lock); in DEF_SCSI_QCMD()
558 spin_unlock(shost->host_lock); in DEF_SCSI_QCMD()
573 spin_lock_irqsave(np->s.host->host_lock, flags); in sym53c8xx_timer()
575 spin_unlock_irqrestore(np->s.host->host_lock, flags); in sym53c8xx_timer()
615 spin_lock_irq(shost->host_lock); in sym_eh_handler()
623 spin_unlock_irq(shost->host_lock); in sym_eh_handler()
628 spin_lock_irq(shost->host_lock); in sym_eh_handler()
630 spin_unlock_irq(shost->host_lock); in sym_eh_handler()
635 spin_lock_irq(shost->host_lock); in sym_eh_handler()
674 spin_unlock_irq(shost->host_lock); in sym_eh_handler()
[all …]
/drivers/gpu/drm/
Ddrm_mipi_dsi.c254 static DEFINE_MUTEX(host_lock);
270 mutex_lock(&host_lock); in of_find_mipi_dsi_host_by_node()
274 mutex_unlock(&host_lock); in of_find_mipi_dsi_host_by_node()
279 mutex_unlock(&host_lock); in of_find_mipi_dsi_host_by_node()
296 mutex_lock(&host_lock); in mipi_dsi_host_register()
298 mutex_unlock(&host_lock); in mipi_dsi_host_register()
317 mutex_lock(&host_lock); in mipi_dsi_host_unregister()
319 mutex_unlock(&host_lock); in mipi_dsi_host_unregister()
/drivers/s390/scsi/
Dzfcp_erp.c125 spin_lock(port->adapter->scsi_host->host_lock); in zfcp_erp_action_dismiss_port()
129 spin_unlock(port->adapter->scsi_host->host_lock); in zfcp_erp_action_dismiss_port()
689 spin_lock(port->adapter->scsi_host->host_lock); in _zfcp_erp_lun_reopen_all()
693 spin_unlock(port->adapter->scsi_host->host_lock); in _zfcp_erp_lun_reopen_all()
1322 spin_lock(shost->host_lock); in zfcp_erp_try_rport_unblock()
1344 spin_unlock(shost->host_lock); in zfcp_erp_try_rport_unblock()
1353 spin_unlock(shost->host_lock); in zfcp_erp_try_rport_unblock()
1592 spin_lock_irqsave(adapter->scsi_host->host_lock, flags); in zfcp_erp_set_adapter_status()
1595 spin_unlock_irqrestore(adapter->scsi_host->host_lock, flags); in zfcp_erp_set_adapter_status()
1629 spin_lock_irqsave(adapter->scsi_host->host_lock, flags); in zfcp_erp_clear_adapter_status()
[all …]
/drivers/scsi/snic/
Dsnic_disc.c176 spin_lock_irqsave(shost->host_lock, flags); in snic_scsi_scan_tgt()
178 spin_unlock_irqrestore(shost->host_lock, flags); in snic_scsi_scan_tgt()
303 spin_lock_irqsave(snic->shost->host_lock, flags); in snic_tgt_create()
307 spin_unlock_irqrestore(snic->shost->host_lock, flags); in snic_tgt_create()
550 spin_lock_irqsave(snic->shost->host_lock, flags); in snic_tgt_del_all()
560 spin_unlock_irqrestore(snic->shost->host_lock, flags); in snic_tgt_del_all()
/drivers/scsi/arm/
Dfas216.c905 spin_lock_irqsave(&info->host_lock, flags); in fas216_disconnect_intr()
908 spin_unlock_irqrestore(&info->host_lock, flags); in fas216_disconnect_intr()
2180 spin_lock_irqsave(&info->host_lock, flags); in fas216_done()
2183 spin_unlock_irqrestore(&info->host_lock, flags); in fas216_done()
2221 spin_lock(&info->host_lock); in fas216_queue_command_lck()
2235 spin_unlock(&info->host_lock); in fas216_queue_command_lck()
2290 spin_unlock_irq(info->host->host_lock); in fas216_noqueue_command_lck()
2302 spin_lock_irq(info->host->host_lock); in fas216_noqueue_command_lck()
2304 spin_unlock_irq(info->host->host_lock); in fas216_noqueue_command_lck()
2308 spin_lock_irq(info->host->host_lock); in fas216_noqueue_command_lck()
[all …]

1234