Searched refs:sdev_to_zfcp (Results 1 – 7 of 7) sorted by relevance
86 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_action_dismiss_lun()101 if (sdev_to_zfcp(sdev)->port == port) in zfcp_erp_action_dismiss_port()130 zsdev = sdev_to_zfcp(sdev); in zfcp_erp_handle_failed()172 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_required_act()230 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_setup_act()462 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in _zfcp_erp_lun_reopen()482 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_lun_reopen()516 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_lun_shutdown_wait()551 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_lun_unblock()555 zfcp_dbf_rec_run("erlubl1", &sdev_to_zfcp(sdev)->erp_action); in zfcp_erp_lun_unblock()[all …]
133 status = atomic_read(&sdev_to_zfcp(sdev)->status); in zfcp_sysfs_unit_failed_show()276 const struct zfcp_scsi_dev *zsdev = sdev_to_zfcp(sdev); in zfcp_sysfs_port_in_use()550 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); \581 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); \611 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); \641 unsigned int status = atomic_read(&sdev_to_zfcp(sdev)->status); in zfcp_sysfs_scsi_zfcp_failed_show()660 zfcp_erp_wait(sdev_to_zfcp(sdev)->port->adapter); in zfcp_sysfs_scsi_zfcp_failed_store()
988 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_fsf_abort_fcp_command_handler()1046 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_fsf_abort_fcp_cmnd()2040 if (sdev_to_zfcp(sdev)->port == port) in zfcp_fsf_close_physical_port_handler()2042 &sdev_to_zfcp(sdev)->status); in zfcp_fsf_close_physical_port_handler()2062 if (sdev_to_zfcp(sdev)->port == port) in zfcp_fsf_close_physical_port_handler()2064 &sdev_to_zfcp(sdev)->status); in zfcp_fsf_close_physical_port_handler()2125 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_fsf_open_lun_handler()2246 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_fsf_close_lun_handler()2288 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(erp_action->sdev); in zfcp_fsf_close_lun()2353 zfcp_sdev = sdev_to_zfcp(scsi->device); in zfcp_fsf_req_trace()[all …]
42 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_scsi_slave_destroy()69 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(scpnt->device); in zfcp_scsi_queuecommand()118 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_scsi_slave_alloc()291 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_scsi_task_mgmt_function()376 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()
293 static inline struct zfcp_scsi_dev *sdev_to_zfcp(struct scsi_device *sdev) in sdev_to_zfcp() function
320 rec->lun_status = atomic_read(&sdev_to_zfcp(sdev)->status); in zfcp_dbf_set_common()423 atomic_read(&sdev_to_zfcp(erp->sdev)->erp_counter); in zfcp_dbf_rec_run_lvl()