Home
last modified time | relevance | path

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

/linux/drivers/s390/scsi/
H A Dzfcp_erp.c86 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_action_dismiss_lun() local
88 if (atomic_read(&zfcp_sdev->status) & ZFCP_STATUS_COMMON_ERP_INUSE) in zfcp_erp_action_dismiss_lun()
89 zfcp_erp_action_dismiss(&zfcp_sdev->erp_action); in zfcp_erp_action_dismiss_lun()
168 struct zfcp_scsi_dev *zfcp_sdev; in zfcp_erp_required_act() local
172 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_required_act()
173 l_status = atomic_read(&zfcp_sdev->status); in zfcp_erp_required_act()
220 struct zfcp_scsi_dev *zfcp_sdev; in zfcp_erp_setup_act() local
230 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_setup_act()
235 &zfcp_sdev->status); in zfcp_erp_setup_act()
236 erp_action = &zfcp_sdev->erp_action; in zfcp_erp_setup_act()
[all …]
H A Dzfcp_fsf.c982 struct zfcp_scsi_dev *zfcp_sdev; in zfcp_fsf_abort_fcp_command_handler() local
988 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_fsf_abort_fcp_command_handler()
993 zfcp_erp_adapter_reopen(zfcp_sdev->port->adapter, 0, in zfcp_fsf_abort_fcp_command_handler()
1000 zfcp_erp_port_reopen(zfcp_sdev->port, 0, "fsafch2"); in zfcp_fsf_abort_fcp_command_handler()
1008 zfcp_erp_set_port_status(zfcp_sdev->port, in zfcp_fsf_abort_fcp_command_handler()
1010 zfcp_erp_port_reopen(zfcp_sdev->port, in zfcp_fsf_abort_fcp_command_handler()
1023 zfcp_fc_test_link(zfcp_sdev->port); in zfcp_fsf_abort_fcp_command_handler()
1046 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_fsf_abort_fcp_cmnd() local
1047 struct zfcp_qdio *qdio = zfcp_sdev->port->adapter->qdio; in zfcp_fsf_abort_fcp_cmnd()
1061 if (unlikely(!(atomic_read(&zfcp_sdev->status) & in zfcp_fsf_abort_fcp_cmnd()
[all …]
H A Dzfcp_scsi.c42 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_scsi_slave_destroy() local
45 if (!zfcp_sdev->port) in zfcp_scsi_slave_destroy()
49 put_device(&zfcp_sdev->port->dev); in zfcp_scsi_slave_destroy()
69 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(scpnt->device); in zfcp_scsi_queuecommand() local
85 status = atomic_read(&zfcp_sdev->status); in zfcp_scsi_queuecommand()
87 !(atomic_read(&zfcp_sdev->port->status) & in zfcp_scsi_queuecommand()
118 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_scsi_slave_alloc() local
123 zfcp_sdev->erp_action.adapter = adapter; in zfcp_scsi_slave_alloc()
124 zfcp_sdev->erp_action.sdev = sdev; in zfcp_scsi_slave_alloc()
130 zfcp_sdev->erp_action.port = port; in zfcp_scsi_slave_alloc()
[all …]
H A Dzfcp_sysfs.c550 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); \
551 struct zfcp_latencies *lat = &zfcp_sdev->latencies; \
552 struct zfcp_adapter *adapter = zfcp_sdev->port->adapter; \
581 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); \
582 struct zfcp_latencies *lat = &zfcp_sdev->latencies; \
611 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); \
618 dev_name(&zfcp_sdev->port->adapter->ccw_device->dev));
620 (unsigned long long) zfcp_sdev->port->wwpn);
633 (atomic_read(&zfcp_sdev->status) &
669 (atomic_read(&zfcp_sdev->status) &
[all …]
H A Dzfcp_unit.c218 struct zfcp_scsi_dev *zfcp_sdev; in zfcp_unit_sdev_status() local
222 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_unit_sdev_status()
223 status = atomic_read(&zfcp_sdev->status); in zfcp_unit_sdev_status()