Home
last modified time | relevance | path

Searched refs:zfcp_sdev (Results 1 – 5 of 5) sorted by relevance

/drivers/s390/scsi/
Dzfcp_erp.c93 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_action_dismiss_lun() local
95 if (atomic_read(&zfcp_sdev->status) & ZFCP_STATUS_COMMON_ERP_INUSE) in zfcp_erp_action_dismiss_lun()
96 zfcp_erp_action_dismiss(&zfcp_sdev->erp_action); in zfcp_erp_action_dismiss_lun()
134 struct zfcp_scsi_dev *zfcp_sdev; in zfcp_erp_required_act() local
138 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_required_act()
139 l_status = atomic_read(&zfcp_sdev->status); in zfcp_erp_required_act()
185 struct zfcp_scsi_dev *zfcp_sdev; in zfcp_erp_setup_act() local
189 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_setup_act()
194 &zfcp_sdev->status); in zfcp_erp_setup_act()
195 erp_action = &zfcp_sdev->erp_action; in zfcp_erp_setup_act()
[all …]
Dzfcp_scsi.c56 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_scsi_slave_destroy() local
59 if (!zfcp_sdev->port) in zfcp_scsi_slave_destroy()
63 put_device(&zfcp_sdev->port->dev); in zfcp_scsi_slave_destroy()
85 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(scpnt->device); in zfcp_scsi_queuecommand() local
101 status = atomic_read(&zfcp_sdev->status); in zfcp_scsi_queuecommand()
103 !(atomic_read(&zfcp_sdev->port->status) & in zfcp_scsi_queuecommand()
136 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_scsi_slave_alloc() local
141 zfcp_sdev->erp_action.adapter = adapter; in zfcp_scsi_slave_alloc()
142 zfcp_sdev->erp_action.sdev = sdev; in zfcp_scsi_slave_alloc()
148 zfcp_sdev->erp_action.port = port; in zfcp_scsi_slave_alloc()
[all …]
Dzfcp_fsf.c813 struct zfcp_scsi_dev *zfcp_sdev; in zfcp_fsf_abort_fcp_command_handler() local
819 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_fsf_abort_fcp_command_handler()
824 zfcp_erp_adapter_reopen(zfcp_sdev->port->adapter, 0, in zfcp_fsf_abort_fcp_command_handler()
831 zfcp_erp_port_reopen(zfcp_sdev->port, 0, "fsafch2"); in zfcp_fsf_abort_fcp_command_handler()
839 zfcp_erp_set_port_status(zfcp_sdev->port, in zfcp_fsf_abort_fcp_command_handler()
841 zfcp_erp_port_reopen(zfcp_sdev->port, in zfcp_fsf_abort_fcp_command_handler()
854 zfcp_fc_test_link(zfcp_sdev->port); in zfcp_fsf_abort_fcp_command_handler()
877 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_fsf_abort_fcp_cmnd() local
878 struct zfcp_qdio *qdio = zfcp_sdev->port->adapter->qdio; in zfcp_fsf_abort_fcp_cmnd()
892 if (unlikely(!(atomic_read(&zfcp_sdev->status) & in zfcp_fsf_abort_fcp_cmnd()
[all …]
Dzfcp_unit.c210 struct zfcp_scsi_dev *zfcp_sdev; in zfcp_unit_sdev_status() local
214 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_unit_sdev_status()
215 status = atomic_read(&zfcp_sdev->status); in zfcp_unit_sdev_status()
Dzfcp_sysfs.c380 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); \
381 struct zfcp_latencies *lat = &zfcp_sdev->latencies; \
382 struct zfcp_adapter *adapter = zfcp_sdev->port->adapter; \
411 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); \
412 struct zfcp_latencies *lat = &zfcp_sdev->latencies; \
441 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); \
442 struct zfcp_port *port = zfcp_sdev->port; \