/openbmc/linux/drivers/scsi/ibmvscsi/ |
H A D | ibmvfc.c | 1242 spin_lock_irqsave(shost->host_lock, flags); in ibmvfc_get_target() 1260 spin_lock_irqsave(shost->host_lock, flags); in ibmvfc_get_host_speed() 1304 spin_lock_irqsave(shost->host_lock, flags); in ibmvfc_get_host_port_state() 3066 spin_lock_irqsave(shost->host_lock, flags); in ibmvfc_terminate_rport_io() 3342 spin_lock_irqsave(shost->host_lock, flags); in ibmvfc_scan_finished() 3379 spin_lock_irqsave(shost->host_lock, flags); in ibmvfc_slave_alloc() 3401 spin_lock_irqsave(shost->host_lock, flags); in ibmvfc_target_alloc() 3422 spin_lock_irqsave(shost->host_lock, flags); in ibmvfc_slave_configure() 3520 spin_lock_irqsave(shost->host_lock, flags); in ibmvfc_show_log_level() 3544 spin_lock_irqsave(shost->host_lock, flags); in ibmvfc_store_log_level() [all …]
|
H A D | ibmvscsi.c | 788 spin_lock_irqsave(hostdata->host->host_lock, flags); in purge_requests() 805 spin_lock_irqsave(hostdata->host->host_lock, flags); in purge_requests() 821 spin_lock_irqsave(hostdata->host->host_lock, flags); in ibmvscsi_set_request_limit() 1222 spin_lock_irqsave(hostdata->host->host_lock, flags); in send_srp_login() 1318 spin_lock_irqsave(hostdata->host->host_lock, flags); in send_mad_capabilities() 1374 spin_lock_irqsave(hostdata->host->host_lock, flags); in enable_fast_fail() 1455 spin_lock_irqsave(hostdata->host->host_lock, flags); in send_mad_adapter_info() 1503 spin_lock_irqsave(hostdata->host->host_lock, flags); in ibmvscsi_eh_abort_handler() 1593 spin_lock_irqsave(hostdata->host->host_lock, flags); in ibmvscsi_eh_abort_handler() 1639 spin_lock_irqsave(hostdata->host->host_lock, flags); in ibmvscsi_eh_device_reset_handler() [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | ipr.c | 1024 spin_unlock_irq(ioa_cfg->host->host_lock); in ipr_send_blocking_cmd() 1026 spin_lock_irq(ioa_cfg->host->host_lock); in ipr_send_blocking_cmd() 3685 spin_lock_irqsave(shost->host_lock, lock_flags); in ipr_show_iopoll_weight() 3734 spin_lock_irqsave(shost->host_lock, lock_flags); in ipr_store_iopoll_weight() 5092 spin_lock_irq(cmd->device->host->host_lock); in ipr_eh_dev_reset() 5094 spin_unlock_irq(cmd->device->host->host_lock); in ipr_eh_dev_reset() 5281 spin_lock_irqsave(shost->host_lock, lock_flags); in ipr_scan_finished() 6383 spin_lock_irqsave(host->host_lock, lock_flags); in ipr_ioa_info() 8615 spin_lock_irqsave(ioa_cfg->host->host_lock, flags); in ipr_pci_mmio_enabled() 8635 spin_lock_irqsave(ioa_cfg->host->host_lock, flags); in ipr_pci_frozen() [all …]
|
H A D | scsi_error.c | 66 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() 214 spin_lock_irqsave(shost->host_lock, flags); in scmd_eh_abort_handler() 250 spin_lock_irqsave(shost->host_lock, flags); in scsi_abort_command() 288 spin_lock_irqsave(shost->host_lock, flags); in scsi_eh_inc_host_failed() 306 spin_lock_irqsave(shost->host_lock, flags); in scsi_eh_scmd_add() 890 spin_lock_irqsave(host->host_lock, flags); in scsi_try_host_reset() 920 spin_lock_irqsave(host->host_lock, flags); in scsi_try_bus_reset() [all …]
|
H A D | xen-scsifront.c | 682 spin_lock_irq(host->host_lock); in scsifront_action_handler() 698 spin_lock_irq(host->host_lock); in scsifront_action_handler() 701 spin_unlock_irq(host->host_lock); in scsifront_action_handler() 703 spin_lock_irq(host->host_lock); in scsifront_action_handler() 717 spin_unlock_irq(host->host_lock); in scsifront_action_handler() 721 spin_unlock_irq(host->host_lock); in scsifront_action_handler() 955 spin_lock_irq(host->host_lock); in scsifront_resume() 960 spin_unlock_irq(host->host_lock); in scsifront_resume() 983 spin_lock_irq(host->host_lock); in scsifront_suspend() 992 spin_lock_irq(host->host_lock); in scsifront_suspend() [all …]
|
H A D | scsi_transport_fc.c | 658 spin_lock_irqsave(shost->host_lock, flags); in fc_find_rport_by_wwpn() 1686 spin_lock_irqsave(shost->host_lock, flags); in store_fc_vport_delete() 2075 spin_lock_irqsave(shost->host_lock, flags); in store_fc_private_host_dev_loss_tmo() 2385 spin_lock_irqsave(shost->host_lock, flags); in store_fc_host_vport_delete() 2558 spin_lock_irqsave(shost->host_lock, flags); in fc_user_scan_tgt() 2887 spin_lock_irqsave(shost->host_lock, flags); in fc_remove_host() 2992 spin_lock_irqsave(shost->host_lock, flags); in fc_rport_final_delete() 3016 spin_lock_irqsave(shost->host_lock, flags); in fc_rport_final_delete() 3088 spin_lock_irqsave(shost->host_lock, flags); in fc_remote_port_create() 3130 spin_lock_irqsave(shost->host_lock, flags); in fc_remote_port_create() [all …]
|
H A D | fdomain.c | 276 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 D | stex.c | 572 spin_lock_irqsave(hba->host->host_lock, flags); in return_abnormal_state() 585 spin_unlock_irqrestore(hba->host->host_lock, flags); in return_abnormal_state() 891 spin_lock_irqsave(hba->host->host_lock, flags); in stex_intr() 992 spin_lock_irqsave(hba->host->host_lock, flags); in stex_ss_intr() 1231 spin_lock_irqsave(hba->host->host_lock, flags); in stex_handshake() 1261 spin_lock_irqsave(host->host_lock, flags); in stex_abort() 1305 spin_unlock_irqrestore(host->host_lock, flags); in stex_abort() 1368 spin_lock_irqsave(hba->host->host_lock, flags); in stex_yos_reset() 1397 spin_lock_irqsave(hba->host->host_lock, flags); in stex_do_reset() 1409 spin_lock_irqsave(hba->host->host_lock, flags); in stex_do_reset() [all …]
|
H A D | hosts.c | 170 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() 402 shost->host_lock = &shost->default_lock; in scsi_host_alloc() 403 spin_lock_init(shost->host_lock); in scsi_host_alloc()
|
H A D | pmcraid.c | 497 pinstance->host->host_lock, lock_flags); in pmcraid_clr_trans_op() 500 pinstance->host->host_lock, lock_flags); in pmcraid_clr_trans_op() 708 spin_unlock_irqrestore(pinstance->host->host_lock, in pmcraid_timeout_handler() 1596 spin_lock_irqsave(pinstance->host->host_lock, in pmcraid_handle_config_change() 1800 spin_lock_irqsave(pinstance->host->host_lock, in pmcraid_process_ldn() 3675 spin_lock_irqsave(pinstance->host->host_lock, in pmcraid_isr_msix() 3679 pinstance->host->host_lock, in pmcraid_isr_msix() 3814 spin_lock_irqsave(pinstance->host->host_lock, in pmcraid_worker_function() 3818 pinstance->host->host_lock, in pmcraid_worker_function() 3834 pinstance->host->host_lock, in pmcraid_worker_function() [all …]
|
H A D | wd719x.c | 272 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 D | scsi_debugfs.c | 44 spin_lock_irq(shost->host_lock); in scsi_show_rq() 58 spin_unlock_irq(shost->host_lock); in scsi_show_rq()
|
H A D | aha1740.c | 228 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 D | aha1542.c | 309 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 D | scsi_scan.c | 398 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() 1903 spin_lock_irqsave(shost->host_lock, flags); in scsi_prep_async_scan() 1905 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_prep_async_scan() 1953 spin_lock_irqsave(shost->host_lock, flags); in scsi_finish_async_scan() 1955 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_finish_async_scan() 2033 spin_lock_irqsave(shost->host_lock, flags); in scsi_forget_host() [all …]
|
H A D | scsi_lib.c | 330 spin_lock_irqsave(shost->host_lock, flags); in scsi_single_lun_run() 343 spin_lock_irqsave(shost->host_lock, flags); in scsi_single_lun_run() 1289 spin_lock_irq(shost->host_lock); in scsi_target_queue_ready() 1292 spin_unlock_irq(shost->host_lock); in scsi_target_queue_ready() 1296 spin_unlock_irq(shost->host_lock); in scsi_target_queue_ready() 1323 spin_lock_irq(shost->host_lock); in scsi_target_queue_ready() 1325 spin_unlock_irq(shost->host_lock); in scsi_target_queue_ready() 1362 spin_lock_irq(shost->host_lock); in scsi_host_queue_ready() 1365 spin_unlock_irq(shost->host_lock); in scsi_host_queue_ready() 1373 spin_lock_irq(shost->host_lock); in scsi_host_queue_ready() [all …]
|
/openbmc/linux/drivers/ufs/core/ |
H A D | ufshcd.c | 1141 lockdep_assert_held(hba->host->host_lock); in ufshcd_pending_cmds() 1165 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_wait_for_doorbell_clr() 5356 spin_lock(hba->host->host_lock); in ufshcd_uic_cmd_compl() 5380 spin_unlock(hba->host->host_lock); in ufshcd_uic_cmd_compl() 6209 lockdep_assert_held(hba->host->host_lock); in ufshcd_schedule_eh_work() 6224 spin_lock_irq(hba->host->host_lock); in ufshcd_force_error_recovery() 6227 spin_unlock_irq(hba->host->host_lock); in ufshcd_force_error_recovery() 6706 spin_lock(hba->host->host_lock); in ufshcd_check_errors() 6765 spin_unlock(hba->host->host_lock); in ufshcd_check_errors() 6958 spin_lock_irqsave(host->host_lock, flags); in __ufshcd_issue_tm_cmd() [all …]
|
/openbmc/linux/drivers/scsi/sym53c8xx_2/ |
H A D | sym_glue.c | 534 spin_lock(shost->host_lock); in DEF_SCSI_QCMD() 536 spin_unlock(shost->host_lock); in DEF_SCSI_QCMD() 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() 658 spin_unlock_irq(shost->host_lock); in sym_eh_handler() 1852 spin_lock_irq(shost->host_lock); in sym2_io_resume() [all …]
|
/openbmc/linux/drivers/scsi/snic/ |
H A D | snic_disc.c | 163 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()
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_hbadisc.c | 1182 spin_lock_irq(shost->host_lock); in lpfc_cleanup_rpis() 1225 spin_lock_irq(shost->host_lock); in lpfc_linkdown_port() 1275 spin_lock_irq(shost->host_lock); in lpfc_linkdown() 1326 spin_lock_irq(shost->host_lock); in lpfc_linkdown() 1382 spin_lock_irq(shost->host_lock); in lpfc_linkup_port() 1421 spin_lock_irq(shost->host_lock); in lpfc_linkup() 1480 spin_lock_irq(shost->host_lock); in lpfc_mbx_cmpl_clear_la() 3230 spin_lock_irq(shost->host_lock); in lpfc_init_vpi_cmpl() 3388 spin_lock_irq(shost->host_lock); in lpfc_mbx_cmpl_reg_vfi() 3951 spin_lock_irq(shost->host_lock); in lpfc_mbx_cmpl_unreg_vpi() [all …]
|
/openbmc/linux/drivers/staging/rts5208/ |
H A D | rtsx.h | 134 #define scsi_unlock(host) spin_unlock_irq(host->host_lock) 135 #define scsi_lock(host) spin_lock_irq(host->host_lock)
|
/openbmc/linux/drivers/s390/scsi/ |
H A D | zfcp_erp.c | 99 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 …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_mipi_dsi.c | 296 static DEFINE_MUTEX(host_lock); 312 mutex_lock(&host_lock); in of_find_mipi_dsi_host_by_node() 316 mutex_unlock(&host_lock); in of_find_mipi_dsi_host_by_node() 321 mutex_unlock(&host_lock); in of_find_mipi_dsi_host_by_node() 338 mutex_lock(&host_lock); in mipi_dsi_host_register() 340 mutex_unlock(&host_lock); in mipi_dsi_host_register() 361 mutex_lock(&host_lock); in mipi_dsi_host_unregister() 363 mutex_unlock(&host_lock); in mipi_dsi_host_unregister()
|
/openbmc/linux/drivers/scsi/arm/ |
H A D | fas216.c | 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() 2315 spin_lock_irq(info->host->host_lock); in fas216_noqueue_command_lck() 2664 spin_lock_irq(info->host->host_lock); in fas216_eh_host_reset() 2681 spin_unlock_irq(info->host->host_lock); in fas216_eh_host_reset() 2683 spin_lock_irq(info->host->host_lock); in fas216_eh_host_reset() 2692 spin_unlock_irq(info->host->host_lock); in fas216_eh_host_reset() 2861 spin_lock_init(&info->host_lock); in fas216_init() [all …]
|
/openbmc/linux/drivers/usb/storage/ |
H A D | usb.h | 169 #define scsi_unlock(host) spin_unlock_irq(host->host_lock) 170 #define scsi_lock(host) spin_lock_irq(host->host_lock)
|