Lines Matching refs:zfcp_sdev
58 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_scsi_slave_destroy() local
61 put_device(&zfcp_sdev->port->dev); in zfcp_scsi_slave_destroy()
83 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(scpnt->device); in zfcp_scsi_queuecommand() local
99 status = atomic_read(&zfcp_sdev->status); in zfcp_scsi_queuecommand()
101 !(atomic_read(&zfcp_sdev->port->status) & in zfcp_scsi_queuecommand()
134 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_scsi_slave_alloc() local
152 zfcp_sdev->port = port; in zfcp_scsi_slave_alloc()
153 zfcp_sdev->latencies.write.channel.min = 0xFFFFFFFF; in zfcp_scsi_slave_alloc()
154 zfcp_sdev->latencies.write.fabric.min = 0xFFFFFFFF; in zfcp_scsi_slave_alloc()
155 zfcp_sdev->latencies.read.channel.min = 0xFFFFFFFF; in zfcp_scsi_slave_alloc()
156 zfcp_sdev->latencies.read.fabric.min = 0xFFFFFFFF; in zfcp_scsi_slave_alloc()
157 zfcp_sdev->latencies.cmd.channel.min = 0xFFFFFFFF; in zfcp_scsi_slave_alloc()
158 zfcp_sdev->latencies.cmd.fabric.min = 0xFFFFFFFF; in zfcp_scsi_slave_alloc()
159 spin_lock_init(&zfcp_sdev->latencies.lock); in zfcp_scsi_slave_alloc()
233 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(scpnt->device); in zfcp_task_mgmt_function() local
234 struct zfcp_adapter *adapter = zfcp_sdev->port->adapter; in zfcp_task_mgmt_function()
282 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(scpnt->device); in zfcp_scsi_eh_host_reset_handler() local
283 struct zfcp_adapter *adapter = zfcp_sdev->port->adapter; in zfcp_scsi_eh_host_reset_handler()