Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/s390/scsi/
Dzfcp_erp.c105 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_action_dismiss_lun() local
107 if (atomic_read(&zfcp_sdev->status) & ZFCP_STATUS_COMMON_ERP_INUSE) in zfcp_erp_action_dismiss_lun()
108 zfcp_erp_action_dismiss(&zfcp_sdev->erp_action); in zfcp_erp_action_dismiss_lun()
186 struct zfcp_scsi_dev *zfcp_sdev; in zfcp_erp_required_act() local
190 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_required_act()
191 l_status = atomic_read(&zfcp_sdev->status); in zfcp_erp_required_act()
237 struct zfcp_scsi_dev *zfcp_sdev; in zfcp_erp_setup_act() local
247 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_setup_act()
252 &zfcp_sdev->status); in zfcp_erp_setup_act()
253 erp_action = &zfcp_sdev->erp_action; in zfcp_erp_setup_act()
[all …]
Dzfcp_scsi.c38 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_scsi_slave_destroy() local
41 if (!zfcp_sdev->port) in zfcp_scsi_slave_destroy()
45 put_device(&zfcp_sdev->port->dev); in zfcp_scsi_slave_destroy()
65 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(scpnt->device); in zfcp_scsi_queuecommand() local
81 status = atomic_read(&zfcp_sdev->status); in zfcp_scsi_queuecommand()
83 !(atomic_read(&zfcp_sdev->port->status) & in zfcp_scsi_queuecommand()
114 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_scsi_slave_alloc() local
119 zfcp_sdev->erp_action.adapter = adapter; in zfcp_scsi_slave_alloc()
120 zfcp_sdev->erp_action.sdev = sdev; in zfcp_scsi_slave_alloc()
126 zfcp_sdev->erp_action.port = port; in zfcp_scsi_slave_alloc()
[all …]
Dzfcp_fsf.c834 struct zfcp_scsi_dev *zfcp_sdev; in zfcp_fsf_abort_fcp_command_handler() local
840 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_fsf_abort_fcp_command_handler()
845 zfcp_erp_adapter_reopen(zfcp_sdev->port->adapter, 0, in zfcp_fsf_abort_fcp_command_handler()
852 zfcp_erp_port_reopen(zfcp_sdev->port, 0, "fsafch2"); in zfcp_fsf_abort_fcp_command_handler()
860 zfcp_erp_set_port_status(zfcp_sdev->port, in zfcp_fsf_abort_fcp_command_handler()
862 zfcp_erp_port_reopen(zfcp_sdev->port, in zfcp_fsf_abort_fcp_command_handler()
875 zfcp_fc_test_link(zfcp_sdev->port); in zfcp_fsf_abort_fcp_command_handler()
898 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_fsf_abort_fcp_cmnd() local
899 struct zfcp_qdio *qdio = zfcp_sdev->port->adapter->qdio; in zfcp_fsf_abort_fcp_cmnd()
913 if (unlikely(!(atomic_read(&zfcp_sdev->status) & in zfcp_fsf_abort_fcp_cmnd()
[all …]
Dzfcp_sysfs.c423 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); \
424 struct zfcp_latencies *lat = &zfcp_sdev->latencies; \
425 struct zfcp_adapter *adapter = zfcp_sdev->port->adapter; \
454 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); \
455 struct zfcp_latencies *lat = &zfcp_sdev->latencies; \
484 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); \
491 dev_name(&zfcp_sdev->port->adapter->ccw_device->dev));
493 (unsigned long long) zfcp_sdev->port->wwpn);
506 (atomic_read(&zfcp_sdev->status) &
542 (atomic_read(&zfcp_sdev->status) &
[all …]
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()