Home
last modified time | relevance | path

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

1234

/linux-3.4.99/drivers/scsi/lpfc/
Dlpfc_nportdisc.c412 spin_lock_irq(shost->host_lock); in lpfc_rcv_plogi()
414 spin_unlock_irq(shost->host_lock); in lpfc_rcv_plogi()
438 spin_lock_irq(shost->host_lock); in lpfc_rcv_plogi()
440 spin_unlock_irq(shost->host_lock); in lpfc_rcv_plogi()
571 spin_lock_irq(shost->host_lock); in lpfc_rcv_padisc()
573 spin_unlock_irq(shost->host_lock); in lpfc_rcv_padisc()
593 spin_lock_irq(shost->host_lock); in lpfc_rcv_logo()
595 spin_unlock_irq(shost->host_lock); in lpfc_rcv_logo()
604 spin_lock_irq(shost->host_lock); in lpfc_rcv_logo()
606 spin_unlock_irq(shost->host_lock); in lpfc_rcv_logo()
[all …]
Dlpfc_els.c110 spin_lock_irq(shost->host_lock); in lpfc_els_chk_latt()
112 spin_unlock_irq(shost->host_lock); in lpfc_els_chk_latt()
535 spin_lock_irq(shost->host_lock); in lpfc_issue_unreg_vfi()
537 spin_unlock_irq(shost->host_lock); in lpfc_issue_unreg_vfi()
585 spin_lock_irq(shost->host_lock); in lpfc_check_clean_addr_bit()
587 spin_unlock_irq(shost->host_lock); in lpfc_check_clean_addr_bit()
624 spin_lock_irq(shost->host_lock); in lpfc_cmpl_els_flogi_fabric()
626 spin_unlock_irq(shost->host_lock); in lpfc_cmpl_els_flogi_fabric()
636 spin_lock_irq(shost->host_lock); in lpfc_cmpl_els_flogi_fabric()
638 spin_unlock_irq(shost->host_lock); in lpfc_cmpl_els_flogi_fabric()
[all …]
Dlpfc_hbadisc.c804 spin_lock_irq(shost->host_lock); in lpfc_cleanup_rpis()
806 spin_unlock_irq(shost->host_lock); in lpfc_cleanup_rpis()
844 spin_lock_irq(shost->host_lock); in lpfc_linkdown_port()
846 spin_unlock_irq(shost->host_lock); in lpfc_linkdown_port()
870 spin_lock_irq(shost->host_lock); in lpfc_linkdown()
872 spin_unlock_irq(shost->host_lock); in lpfc_linkdown()
906 spin_lock_irq(shost->host_lock); in lpfc_linkdown()
908 spin_unlock_irq(shost->host_lock); in lpfc_linkdown()
960 spin_lock_irq(shost->host_lock); in lpfc_linkup_port()
965 spin_unlock_irq(shost->host_lock); in lpfc_linkup_port()
[all …]
/linux-3.4.99/drivers/scsi/ibmvscsi/
Dibmvfc.c717 spin_lock_irqsave(vhost->host->host_lock, flags); in ibmvfc_reset_crq()
735 spin_unlock_irqrestore(vhost->host->host_lock, flags); in ibmvfc_reset_crq()
870 spin_lock_irqsave(vhost->host->host_lock, flags); in ibmvfc_reset_host()
872 spin_unlock_irqrestore(vhost->host->host_lock, flags); in ibmvfc_reset_host()
938 spin_lock_irqsave(shost->host_lock, flags); in ibmvfc_get_target()
940 spin_unlock_irqrestore(shost->host_lock, flags); in ibmvfc_get_target()
956 spin_lock_irqsave(shost->host_lock, flags); in ibmvfc_get_host_speed()
985 spin_unlock_irqrestore(shost->host_lock, flags); in ibmvfc_get_host_speed()
1000 spin_lock_irqsave(shost->host_lock, flags); in ibmvfc_get_host_port_state()
1024 spin_unlock_irqrestore(shost->host_lock, flags); in ibmvfc_get_host_port_state()
[all …]
Dibmvscsi.c474 spin_lock_irqsave(hostdata->host->host_lock, flags); in purge_requests()
480 spin_unlock_irqrestore(hostdata->host->host_lock, flags); in purge_requests()
491 spin_lock_irqsave(hostdata->host->host_lock, flags); in purge_requests()
493 spin_unlock_irqrestore(hostdata->host->host_lock, flags); in purge_requests()
881 spin_lock_irqsave(hostdata->host->host_lock, flags); in send_srp_login()
889 spin_unlock_irqrestore(hostdata->host->host_lock, flags); in send_srp_login()
975 spin_lock_irqsave(hostdata->host->host_lock, flags); in send_mad_capabilities()
978 spin_unlock_irqrestore(hostdata->host->host_lock, flags); in send_mad_capabilities()
1031 spin_lock_irqsave(hostdata->host->host_lock, flags); in enable_fast_fail()
1033 spin_unlock_irqrestore(hostdata->host->host_lock, flags); in enable_fast_fail()
[all …]
/linux-3.4.99/drivers/scsi/
Dipr.c940 spin_unlock_irq(ioa_cfg->host->host_lock); in ipr_send_blocking_cmd()
942 spin_lock_irq(ioa_cfg->host->host_lock); in ipr_send_blocking_cmd()
2409 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); in ipr_timeout()
2421 spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); in ipr_timeout()
2441 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); in ipr_oper_timeout()
2456 spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); in ipr_oper_timeout()
2476 spin_unlock_irq(ioa_cfg->host->host_lock); in ipr_reset_reload()
2478 spin_lock_irq(ioa_cfg->host->host_lock); in ipr_reset_reload()
2754 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); in ipr_sdt_copy()
2763 spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); in ipr_sdt_copy()
[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_transport_fc.c1286 spin_lock_irqsave(shost->host_lock, flags); in store_fc_vport_delete()
1288 spin_unlock_irqrestore(shost->host_lock, flags); in store_fc_vport_delete()
1292 spin_unlock_irqrestore(shost->host_lock, flags); in store_fc_vport_delete()
1620 spin_lock_irqsave(shost->host_lock, flags); in store_fc_private_host_tgtid_bind_type()
1628 spin_unlock_irqrestore(shost->host_lock, flags); in store_fc_private_host_tgtid_bind_type()
1675 spin_lock_irqsave(shost->host_lock, flags); in store_fc_private_host_dev_loss_tmo()
1678 spin_unlock_irqrestore(shost->host_lock, flags); in store_fc_private_host_dev_loss_tmo()
1909 spin_lock_irqsave(shost->host_lock, flags); in store_fc_host_vport_delete()
1922 spin_unlock_irqrestore(shost->host_lock, flags); in store_fc_host_vport_delete()
2083 spin_lock_irqsave(shost->host_lock, flags); in fc_user_scan_tgt()
[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()
176 spin_lock_irqsave(shost->host_lock, flags); in scsi_remove_host()
179 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_remove_host()
349 shost->host_lock = &shost->default_lock; in scsi_host_alloc()
350 spin_lock_init(shost->host_lock); in scsi_host_alloc()
Dscsi_error.c79 spin_lock_irqsave(shost->host_lock, flags); in scsi_schedule_eh()
87 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_schedule_eh()
108 spin_lock_irqsave(shost->host_lock, flags); in scsi_eh_scmd_add()
119 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_eh_scmd_add()
560 spin_lock_irqsave(host->host_lock, flags); in scsi_try_host_reset()
562 spin_unlock_irqrestore(host->host_lock, flags); in scsi_try_host_reset()
590 spin_lock_irqsave(host->host_lock, flags); in scsi_try_bus_reset()
592 spin_unlock_irqrestore(host->host_lock, flags); in scsi_try_bus_reset()
626 spin_lock_irqsave(host->host_lock, flags); in scsi_try_target_reset()
629 spin_unlock_irqrestore(host->host_lock, flags); in scsi_try_target_reset()
[all …]
Da2091.c35 spin_lock_irqsave(instance->host_lock, flags); in a2091_intr()
37 spin_unlock_irqrestore(instance->host_lock, flags); in a2091_intr()
159 spin_lock_irq(instance->host_lock); in a2091_bus_reset()
161 spin_unlock_irq(instance->host_lock); in a2091_bus_reset()
Dfd_mcs.c666 spin_lock_irqsave(shpnt->host_lock, flags); in fd_mcs_intr()
668 spin_unlock_irqrestore(shpnt->host_lock, flags); in fd_mcs_intr()
692 spin_lock_irqsave(shpnt->host_lock, flags); in fd_mcs_intr()
694 spin_unlock_irqrestore(shpnt->host_lock, flags); in fd_mcs_intr()
1023 spin_lock_irqsave(shpnt->host_lock, flags); in fd_mcs_intr()
1026 spin_unlock_irqrestore(shpnt->host_lock, flags); in fd_mcs_intr()
1207 spin_lock_irqsave(shpnt->host_lock, flags); in fd_mcs_abort()
1212 spin_unlock_irqrestore(shpnt->host_lock, flags); in fd_mcs_abort()
1230 spin_unlock_irqrestore(shpnt->host_lock, flags); in fd_mcs_abort()
1253 spin_lock_irqsave(shpnt->host_lock, flags); in fd_mcs_bus_reset()
[all …]
Dstex.c863 spin_lock_irqsave(hba->host->host_lock, flags); in stex_intr()
872 spin_unlock_irqrestore(hba->host->host_lock, flags); in stex_intr()
879 spin_unlock_irqrestore(hba->host->host_lock, flags); in stex_intr()
964 spin_lock_irqsave(hba->host->host_lock, flags); in stex_ss_intr()
971 spin_unlock_irqrestore(hba->host->host_lock, flags); in stex_ss_intr()
977 spin_unlock_irqrestore(hba->host->host_lock, flags); in stex_ss_intr()
1138 spin_lock_irqsave(hba->host->host_lock, flags); in stex_handshake()
1151 spin_unlock_irqrestore(hba->host->host_lock, flags); in stex_handshake()
1170 spin_lock_irqsave(host->host_lock, flags); in stex_abort()
1206 spin_unlock_irqrestore(host->host_lock, flags); in stex_abort()
[all …]
Da3000.c36 spin_lock_irqsave(instance->host_lock, flags); in a3000_intr()
38 spin_unlock_irqrestore(instance->host_lock, flags); in a3000_intr()
174 spin_lock_irq(instance->host_lock); in a3000_bus_reset()
176 spin_unlock_irq(instance->host_lock); in a3000_bus_reset()
Dpmcraid.c553 pinstance->host->host_lock, lock_flags); in pmcraid_clr_trans_op()
556 pinstance->host->host_lock, lock_flags); in pmcraid_clr_trans_op()
622 spin_lock_irqsave(pinstance->host->host_lock, lock_flags); in pmcraid_bist_done()
624 spin_unlock_irqrestore(pinstance->host->host_lock, lock_flags); in pmcraid_bist_done()
673 spin_lock_irqsave(pinstance->host->host_lock, lock_flags); in pmcraid_reset_alert_done()
675 spin_unlock_irqrestore(pinstance->host->host_lock, lock_flags); in pmcraid_reset_alert_done()
762 spin_lock_irqsave(pinstance->host->host_lock, lock_flags); in pmcraid_timeout_handler()
771 spin_unlock_irqrestore(pinstance->host->host_lock, in pmcraid_timeout_handler()
808 spin_unlock_irqrestore(pinstance->host->host_lock, lock_flags); in pmcraid_timeout_handler()
993 spin_lock_irqsave(pinstance->host->host_lock, lock_flags); in pmcraid_ioa_shutdown_done()
[all …]
Dscsi_sysfs.c343 spin_lock_irqsave(sdev->host->host_lock, flags); in scsi_device_dev_release_usercontext()
348 spin_unlock_irqrestore(sdev->host->host_lock, flags); in scsi_device_dev_release_usercontext()
996 spin_lock_irqsave(shost->host_lock, flags); in __scsi_remove_target()
1003 spin_unlock_irqrestore(shost->host_lock, flags); in __scsi_remove_target()
1006 spin_lock_irqsave(shost->host_lock, flags); in __scsi_remove_target()
1009 spin_unlock_irqrestore(shost->host_lock, flags); in __scsi_remove_target()
1029 spin_lock_irqsave(shost->host_lock, flags); in scsi_remove_target()
1036 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_remove_target()
1041 spin_lock_irqsave(shost->host_lock, flags); in scsi_remove_target()
1044 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_remove_target()
[all …]
Dscsi_scan.c336 spin_lock_irqsave(shost->host_lock, flags); in scsi_target_destroy()
340 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_target_destroy()
430 spin_lock_irqsave(shost->host_lock, flags); in scsi_alloc_target()
437 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_alloc_target()
457 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_alloc_target()
494 spin_lock_irqsave(shost->host_lock, flags); in scsi_target_reap()
500 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_target_reap()
1770 spin_lock_irqsave(shost->host_lock, flags); in scsi_prep_async_scan()
1772 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_prep_async_scan()
1820 spin_lock_irqsave(shost->host_lock, flags); in scsi_finish_async_scan()
[all …]
Dibmmca.c510 spin_lock_irqsave(shpnt->host_lock, flags); in interrupt_handler()
513 spin_unlock_irqrestore(shpnt->host_lock, flags); in interrupt_handler()
521 spin_unlock_irqrestore(shpnt->host_lock, flags); in interrupt_handler()
608 spin_unlock_irqrestore(shpnt->host_lock, flags); in interrupt_handler()
628 spin_unlock_irqrestore(shpnt->host_lock, flags); in interrupt_handler()
648 spin_unlock_irqrestore(shpnt->host_lock, flags); in interrupt_handler()
656 spin_unlock_irqrestore(shpnt->host_lock, flags); in interrupt_handler()
667 spin_unlock_irqsave(shpnt->host_lock, flags); in interrupt_handler()
676 spin_unlock_irqrestore(shpnt->host_lock, flags); in interrupt_handler()
707 spin_unlock_irqrestore(shpnt->host_lock, flags); in interrupt_handler()
[all …]
Dultrastor.c876 spin_lock_irqsave(host->host_lock, flags); in DEF_SCSI_QCMD()
891 spin_unlock_irqrestore(host->host_lock, flags); in DEF_SCSI_QCMD()
902 spin_lock_irqsave(host->host_lock, flags); in DEF_SCSI_QCMD()
905 spin_unlock_irqrestore(host->host_lock, flags); in DEF_SCSI_QCMD()
923 spin_lock_irqsave(host->host_lock, flags); in DEF_SCSI_QCMD()
932 spin_unlock_irqrestore(host->host_lock, flags); in DEF_SCSI_QCMD()
985 spin_lock_irqsave(host->host_lock, flags); in ultrastor_host_reset()
1029 spin_unlock_irqrestore(host->host_lock, flags); in ultrastor_host_reset()
1187 spin_lock_irqsave(dev->host_lock, flags); in do_ultrastor_interrupt()
1189 spin_unlock_irqrestore(dev->host_lock, flags); in do_ultrastor_interrupt()
Dscsi_lib.c308 spin_lock_irqsave(shost->host_lock, flags); in scsi_device_unbusy()
314 spin_unlock(shost->host_lock); in scsi_device_unbusy()
334 spin_lock_irqsave(shost->host_lock, flags); in scsi_single_lun_run()
336 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_single_lun_run()
346 spin_lock_irqsave(shost->host_lock, flags); in scsi_single_lun_run()
356 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_single_lun_run()
358 spin_lock_irqsave(shost->host_lock, flags); in scsi_single_lun_run()
363 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_single_lun_run()
413 spin_lock_irqsave(shost->host_lock, flags); in scsi_run_queue()
439 spin_unlock(shost->host_lock); in scsi_run_queue()
[all …]
Dsgiwd93.c58 spin_lock_irqsave(host->host_lock, flags); in sgiwd93_intr()
60 spin_unlock_irqrestore(host->host_lock, flags); in sgiwd93_intr()
202 spin_lock_irq(cmd->device->host->host_lock); in sgiwd93_bus_reset()
204 spin_unlock_irq(cmd->device->host->host_lock); in sgiwd93_bus_reset()
Dwd7000.c819 spin_unlock_irq(host->host_lock); in alloc_scbs()
856 spin_lock_irq(host->host_lock); in alloc_scbs()
909 spin_lock_irqsave(host->sh->host_lock, flags); in mail_out()
922 spin_unlock_irqrestore(host->sh->host_lock, flags); in mail_out()
1010 spin_lock_irqsave(host->sh->host_lock, flags); in wd7000_intr()
1080 spin_unlock_irqrestore(host->sh->host_lock, flags); in wd7000_intr()
1329 spin_lock_irqsave(host->host_lock, flags); in wd7000_proc_info()
1369 spin_unlock_irqrestore(host->host_lock, flags); in wd7000_proc_info()
1591 spin_lock_irq(SCpnt->device->host->host_lock); in wd7000_host_reset()
1594 spin_unlock_irq(SCpnt->device->host->host_lock); in wd7000_host_reset()
[all …]
/linux-3.4.99/drivers/scsi/ufs/
Dufshcd.c701 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_queuecommand()
703 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_queuecommand()
876 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_dme_link_startup()
891 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_dme_link_startup()
1063 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_do_reset()
1068 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_do_reset()
1149 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_task_req_compl()
1171 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_task_req_compl()
1467 spin_lock(hba->host->host_lock); in ufshcd_intr()
1479 spin_unlock(hba->host->host_lock); in ufshcd_intr()
[all …]
/linux-3.4.99/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 …]
/linux-3.4.99/drivers/usb/storage/
Dusb.h180 #define scsi_unlock(host) spin_unlock_irq(host->host_lock)
181 #define scsi_lock(host) spin_lock_irq(host->host_lock)

1234