Searched refs:zsdev (Results 1 – 3 of 3) sorted by relevance
126 struct zfcp_scsi_dev *zsdev; in zfcp_erp_handle_failed() local130 zsdev = sdev_to_zfcp(sdev); in zfcp_erp_handle_failed()131 if (atomic_read(&zsdev->status) & ZFCP_STATUS_COMMON_ERP_FAILED) in zfcp_erp_handle_failed()1435 struct zfcp_scsi_dev *zsdev = sdev_to_zfcp(sdev); in zfcp_erp_try_rport_unblock() local1441 if (zsdev->port != port) in zfcp_erp_try_rport_unblock()1444 lun_status = atomic_read(&zsdev->status); in zfcp_erp_try_rport_unblock()1454 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()
276 const struct zfcp_scsi_dev *zsdev = sdev_to_zfcp(sdev); in zfcp_sysfs_port_in_use() local281 if (zsdev->port != port) in zfcp_sysfs_port_in_use()