Searched refs:sdev_to_zfcp (Results 1 – 7 of 7) sorted by relevance
105 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_action_dismiss_lun()120 if (sdev_to_zfcp(sdev)->port == port) in zfcp_erp_action_dismiss_port()149 zsdev = sdev_to_zfcp(sdev); in zfcp_erp_handle_failed()190 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_required_act()247 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_setup_act()477 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in _zfcp_erp_lun_reopen()497 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_lun_reopen()531 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_lun_shutdown_wait()566 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_lun_unblock()570 zfcp_dbf_rec_run("erlubl1", &sdev_to_zfcp(sdev)->erp_action); in zfcp_erp_lun_unblock()[all …]
132 status = atomic_read(&sdev_to_zfcp(sdev)->status); in zfcp_sysfs_unit_failed_show()263 const struct zfcp_scsi_dev *zsdev = sdev_to_zfcp(sdev); in zfcp_sysfs_port_in_use()423 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); \454 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); \484 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); \514 unsigned int status = atomic_read(&sdev_to_zfcp(sdev)->status); in zfcp_sysfs_scsi_zfcp_failed_show()533 zfcp_erp_wait(sdev_to_zfcp(sdev)->port->adapter); in zfcp_sysfs_scsi_zfcp_failed_store()
840 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_fsf_abort_fcp_command_handler()898 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_fsf_abort_fcp_cmnd()1720 if (sdev_to_zfcp(sdev)->port == port) in zfcp_fsf_close_physical_port_handler()1722 &sdev_to_zfcp(sdev)->status); in zfcp_fsf_close_physical_port_handler()1743 if (sdev_to_zfcp(sdev)->port == port) in zfcp_fsf_close_physical_port_handler()1745 &sdev_to_zfcp(sdev)->status); in zfcp_fsf_close_physical_port_handler()1805 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_fsf_open_lun_handler()1925 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_fsf_close_lun_handler()1967 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(erp_action->sdev); in zfcp_fsf_close_lun()2031 zfcp_sdev = sdev_to_zfcp(scsi->device); in zfcp_fsf_req_trace()[all …]
38 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_scsi_slave_destroy()65 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(scpnt->device); in zfcp_scsi_queuecommand()114 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_scsi_slave_alloc()285 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_scsi_task_mgmt_function()370 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(scpnt->device); in zfcp_scsi_eh_host_reset_handler()
222 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_unit_sdev_status()
265 static inline struct zfcp_scsi_dev *sdev_to_zfcp(struct scsi_device *sdev) in sdev_to_zfcp() function
259 rec->lun_status = atomic_read(&sdev_to_zfcp(sdev)->status); in zfcp_dbf_set_common()362 atomic_read(&sdev_to_zfcp(erp->sdev)->erp_counter); in zfcp_dbf_rec_run_lvl()