Searched refs:sdev_to_zfcp (Results 1 – 8 of 8) sorted by relevance
93 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_action_dismiss_lun()107 if (sdev_to_zfcp(sdev)->port == port) in zfcp_erp_action_dismiss_port()135 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_required_act()186 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_setup_act()408 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in _zfcp_erp_lun_reopen()431 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_lun_reopen()465 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_lun_shutdown_wait()498 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_lun_unblock()501 zfcp_dbf_rec_run("erlubl1", &sdev_to_zfcp(sdev)->erp_action); in zfcp_erp_lun_unblock()596 if (sdev_to_zfcp(sdev)->port == port) in _zfcp_erp_lun_reopen_all()[all …]
296 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_cfdc_adapter_access_changed()345 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_cfdc_lun_denied()369 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_cfdc_lun_shrng_vltn()401 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_cfdc_open_lun_eval()
58 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_scsi_slave_destroy()83 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(scpnt->device); in zfcp_scsi_queuecommand()134 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_scsi_slave_alloc()233 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(scpnt->device); in zfcp_task_mgmt_function()282 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(scpnt->device); in zfcp_scsi_eh_host_reset_handler()
127 status = atomic_read(&sdev_to_zfcp(sdev)->status); in zfcp_sysfs_unit_failed_show()357 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); \388 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); \418 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); \
774 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_fsf_abort_fcp_command_handler()836 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_fsf_abort_fcp_cmnd()1655 if (sdev_to_zfcp(sdev)->port == port) in zfcp_fsf_close_physical_port_handler()1657 &sdev_to_zfcp(sdev)->status); in zfcp_fsf_close_physical_port_handler()1678 if (sdev_to_zfcp(sdev)->port == port) in zfcp_fsf_close_physical_port_handler()1680 &sdev_to_zfcp(sdev)->status); in zfcp_fsf_close_physical_port_handler()1733 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_fsf_open_lun_handler()1850 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_fsf_close_lun_handler()1895 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(erp_action->sdev); in zfcp_fsf_close_lun()1944 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(scsi->device); in zfcp_fsf_req_trace()[all …]
203 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_unit_sdev_status()
264 static inline struct zfcp_scsi_dev *sdev_to_zfcp(struct scsi_device *sdev) in sdev_to_zfcp() function
178 rec->lun_status = atomic_read(&sdev_to_zfcp(sdev)->status); in zfcp_dbf_set_common()249 atomic_read(&sdev_to_zfcp(erp->sdev)->erp_counter); in zfcp_dbf_rec_run()