Home
last modified time | relevance | path

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

123

/linux/drivers/scsi/ibmvscsi/
H A Dibmvfc.c944 spin_lock_irqsave(vhost->host->host_lock, flags); in ibmvfc_reenable_crq_queue()
949 spin_unlock_irqrestore(vhost->host->host_lock, flags); in ibmvfc_reenable_crq_queue()
979 spin_lock_irqsave(vhost->host->host_lock, flags); in ibmvfc_reset_crq()
1001 spin_unlock_irqrestore(vhost->host->host_lock, flags); in ibmvfc_reset_crq()
1188 spin_lock_irqsave(vhost->host->host_lock, flags); in ibmvfc_reset_host()
1190 spin_unlock_irqrestore(vhost->host->host_lock, flags); in ibmvfc_reset_host()
1256 spin_lock_irqsave(shost->host_lock, flags); in ibmvfc_get_target()
1258 spin_unlock_irqrestore(shost->host_lock, flags); in ibmvfc_get_target()
1274 spin_lock_irqsave(shost->host_lock, flags); in ibmvfc_get_host_speed()
1303 spin_unlock_irqrestore(shost->host_lock, flags); in ibmvfc_get_host_speed()
[all …]
H A 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/drivers/scsi/
H A 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 …]
H A 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 …]
H A Dscsi_transport_fc.c653 spin_lock_irqsave(shost->host_lock, flags); in fc_find_rport_by_wwpn()
660 spin_unlock_irqrestore(shost->host_lock, flags); in fc_find_rport_by_wwpn()
665 spin_unlock_irqrestore(shost->host_lock, flags); in fc_find_rport_by_wwpn()
1681 spin_lock_irqsave(shost->host_lock, flags); in store_fc_vport_delete()
1683 spin_unlock_irqrestore(shost->host_lock, flags); in store_fc_vport_delete()
1687 spin_unlock_irqrestore(shost->host_lock, flags); in store_fc_vport_delete()
2015 spin_lock_irqsave(shost->host_lock, flags); in store_fc_private_host_tgtid_bind_type()
2023 spin_unlock_irqrestore(shost->host_lock, flags); in store_fc_private_host_tgtid_bind_type()
2070 spin_lock_irqsave(shost->host_lock, flags); in store_fc_private_host_dev_loss_tmo()
2073 spin_unlock_irqrestore(shost->host_lock, flags); in store_fc_private_host_dev_loss_tmo()
[all …]
H A 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()
H A 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()
890 spin_lock_irqsave(hba->host->host_lock, flags); in stex_intr()
899 spin_unlock_irqrestore(hba->host->host_lock, flags); in stex_intr()
906 spin_unlock_irqrestore(hba->host->host_lock, flags); in stex_intr()
991 spin_lock_irqsave(hba->host->host_lock, flags); in stex_ss_intr()
999 spin_unlock_irqrestore(hba->host->host_lock, flags); in stex_ss_intr()
1013 spin_unlock_irqrestore(hba->host->host_lock, flags); in stex_ss_intr()
1020 spin_unlock_irqrestore(hba->host->host_lock, flags); in stex_ss_intr()
1230 spin_lock_irqsave(hba->host->host_lock, flags); in stex_handshake()
[all …]
H A 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()
H A 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 …]
H A Dpmcraid.c500 pinstance->host->host_lock, lock_flags); in pmcraid_clr_trans_op()
503 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 …]
H A 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()
1933 spin_lock_irqsave(shost->host_lock, flags); in scsi_prep_async_scan()
1935 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_prep_async_scan()
1983 spin_lock_irqsave(shost->host_lock, flags); in scsi_finish_async_scan()
1985 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_finish_async_scan()
2063 spin_lock_irqsave(shost->host_lock, flags); in scsi_forget_host()
[all …]
H A 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()
H A 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()
H A Dscsi_lib.c375 spin_lock_irqsave(shost->host_lock, flags); in scsi_dec_host_busy()
378 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_dec_host_busy()
422 spin_lock_irqsave(shost->host_lock, flags); in scsi_single_lun_run()
424 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_single_lun_run()
435 spin_lock_irqsave(shost->host_lock, flags); in scsi_single_lun_run()
439 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_single_lun_run()
477 spin_lock_irqsave(shost->host_lock, flags); in scsi_starved_list_run()
518 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_starved_list_run()
523 spin_lock_irqsave(shost->host_lock, flags); in scsi_starved_list_run()
527 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_starved_list_run()
[all …]
H A Dscsi.c805 spin_lock_irqsave(shost->host_lock, flags); in __scsi_iterate_devices()
814 spin_unlock_irqrestore(shost->host_lock, flags); in __scsi_iterate_devices()
921 spin_lock_irqsave(shost->host_lock, flags); in scsi_device_lookup_by_target()
925 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_device_lookup_by_target()
981 spin_lock_irqsave(shost->host_lock, flags); in scsi_device_lookup()
985 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_device_lookup()
H A D3w-sas.c111 spin_lock_irqsave(tw_dev->host->host_lock, flags); in twl_sysfs_aen_read()
113 spin_unlock_irqrestore(tw_dev->host->host_lock, flags); in twl_sysfs_aen_read()
142 spin_lock_irqsave(tw_dev->host->host_lock, flags); in twl_sysfs_compat_info()
144 spin_unlock_irqrestore(tw_dev->host->host_lock, flags); in twl_sysfs_compat_info()
168 spin_lock_irqsave(tw_dev->host->host_lock, flags); in twl_show_stats()
187 spin_unlock_irqrestore(tw_dev->host->host_lock, flags); in twl_show_stats()
766 spin_lock_irqsave(tw_dev->host->host_lock, flags); in twl_chrdev_ioctl()
784 spin_unlock_irqrestore(tw_dev->host->host_lock, flags); in twl_chrdev_ioctl()
806 spin_lock_irqsave(tw_dev->host->host_lock, flags); in twl_chrdev_ioctl()
810 spin_unlock_irqrestore(tw_dev->host->host_lock, flags); in twl_chrdev_ioctl()
[all …]
H A Dqlogicfas408.c457 spin_lock_irqsave(host->host_lock, flags); in qlogicfas408_ihandl()
459 spin_unlock_irqrestore(host->host_lock, flags); in qlogicfas408_ihandl()
539 spin_lock_irqsave(cmd->device->host->host_lock, flags); in qlogicfas408_host_reset()
541 spin_unlock_irqrestore(cmd->device->host->host_lock, flags); in qlogicfas408_host_reset()
H A Dqla1280.c742 spin_unlock_irq(ha->host->host_lock); in _qla1280_wait_for_single_command()
744 spin_lock_irq(ha->host->host_lock); in _qla1280_wait_for_single_command()
954 spin_lock_irq(cmd->device->host->host_lock); in qla1280_eh_abort()
956 spin_unlock_irq(cmd->device->host->host_lock); in qla1280_eh_abort()
970 spin_lock_irq(cmd->device->host->host_lock); in qla1280_eh_device_reset()
972 spin_unlock_irq(cmd->device->host->host_lock); in qla1280_eh_device_reset()
986 spin_lock_irq(cmd->device->host->host_lock); in qla1280_eh_bus_reset()
988 spin_unlock_irq(cmd->device->host->host_lock); in qla1280_eh_bus_reset()
1004 spin_lock_irq(shost->host_lock); in qla1280_eh_adapter_reset()
1020 spin_unlock_irq(shost->host_lock); in qla1280_eh_adapter_reset()
[all …]
/linux/drivers/scsi/sym53c8xx_2/
H A 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()
590 spin_lock_irq(shost->host_lock); in sym53c8xx_eh_abort_handler()
608 spin_unlock_irq(shost->host_lock); in sym53c8xx_eh_abort_handler()
614 spin_unlock_irq(shost->host_lock); in sym53c8xx_eh_abort_handler()
642 spin_lock_irq(shost->host_lock); in sym53c8xx_eh_target_reset_handler()
658 spin_unlock_irq(shost->host_lock); in sym53c8xx_eh_target_reset_handler()
663 spin_lock_irq(shost->host_lock); in sym53c8xx_eh_target_reset_handler()
[all …]
/linux/drivers/ufs/core/
H A Dufshcd.c1240 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_pending_cmds()
1243 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_pending_cmds()
1452 spin_lock_irqsave(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_suspend_work()
1454 spin_unlock_irqrestore(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_suspend_work()
1459 spin_unlock_irqrestore(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_suspend_work()
1470 spin_lock_irqsave(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_resume_work()
1472 spin_unlock_irqrestore(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_resume_work()
1476 spin_unlock_irqrestore(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_resume_work()
1511 spin_lock_irqsave(hba->host->host_lock, irq_flags); in ufshcd_devfreq_target()
1513 spin_unlock_irqrestore(hba->host->host_lock, irq_flags); in ufshcd_devfreq_target()
[all …]
/linux/drivers/scsi/snic/
H A 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/drivers/s390/scsi/
H A 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/drivers/scsi/arm/
H A 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/drivers/usb/storage/
H A Dusb.h169 #define scsi_unlock(host) spin_unlock_irq(host->host_lock)
170 #define scsi_lock(host) spin_lock_irq(host->host_lock)
/linux/include/scsi/
H A Dscsi_host.h519 spin_lock_irqsave(shost->host_lock, irq_flags); \
521 spin_unlock_irqrestore(shost->host_lock, irq_flags); \
556 spinlock_t *host_lock; member

123