Searched refs:zsdev (Results 1 – 3 of 3) sorted by relevance
125 struct zfcp_scsi_dev *zsdev; in zfcp_erp_handle_failed() local129 zsdev = sdev_to_zfcp(sdev); in zfcp_erp_handle_failed()130 if (atomic_read(&zsdev->status) & ZFCP_STATUS_COMMON_ERP_FAILED) in zfcp_erp_handle_failed()1362 struct zfcp_scsi_dev *zsdev = sdev_to_zfcp(sdev); in zfcp_erp_try_rport_unblock() local1368 if (zsdev->port != port) in zfcp_erp_try_rport_unblock()1371 lun_status = atomic_read(&zsdev->status); in zfcp_erp_try_rport_unblock()1381 zfcp_dbf_rec_run_lvl(4, "ertru_l", &zsdev->erp_action); in zfcp_erp_try_rport_unblock()
259 static void zfcp_scsi_forget_cmnds(struct zfcp_scsi_dev *zsdev, u8 tm_flags) in zfcp_scsi_forget_cmnds() argument261 struct zfcp_adapter *adapter = zsdev->port->adapter; in zfcp_scsi_forget_cmnds()264 .port_handle = zsdev->port->handle, in zfcp_scsi_forget_cmnds()270 filter.lun_handle = zsdev->lun_handle; in zfcp_scsi_forget_cmnds()
263 const struct zfcp_scsi_dev *zsdev = sdev_to_zfcp(sdev); in zfcp_sysfs_port_in_use() local268 if (zsdev->port != port) in zfcp_sysfs_port_in_use()