Searched refs:zfcp_sdev (Results 1 – 5 of 5) sorted by relevance
85 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_action_dismiss_lun() local87 if (atomic_read(&zfcp_sdev->status) & ZFCP_STATUS_COMMON_ERP_INUSE) in zfcp_erp_action_dismiss_lun()88 zfcp_erp_action_dismiss(&zfcp_sdev->erp_action); in zfcp_erp_action_dismiss_lun()167 struct zfcp_scsi_dev *zfcp_sdev; in zfcp_erp_required_act() local171 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_required_act()172 l_status = atomic_read(&zfcp_sdev->status); in zfcp_erp_required_act()219 struct zfcp_scsi_dev *zfcp_sdev; in zfcp_erp_setup_act() local229 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_setup_act()234 &zfcp_sdev->status); in zfcp_erp_setup_act()235 erp_action = &zfcp_sdev->erp_action; in zfcp_erp_setup_act()[all …]
42 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_scsi_slave_destroy() local45 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() local85 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() local123 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 …]
850 struct zfcp_scsi_dev *zfcp_sdev; in zfcp_fsf_abort_fcp_command_handler() local856 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_fsf_abort_fcp_command_handler()861 zfcp_erp_adapter_reopen(zfcp_sdev->port->adapter, 0, in zfcp_fsf_abort_fcp_command_handler()868 zfcp_erp_port_reopen(zfcp_sdev->port, 0, "fsafch2"); in zfcp_fsf_abort_fcp_command_handler()876 zfcp_erp_set_port_status(zfcp_sdev->port, in zfcp_fsf_abort_fcp_command_handler()878 zfcp_erp_port_reopen(zfcp_sdev->port, in zfcp_fsf_abort_fcp_command_handler()891 zfcp_fc_test_link(zfcp_sdev->port); in zfcp_fsf_abort_fcp_command_handler()914 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_fsf_abort_fcp_cmnd() local915 struct zfcp_qdio *qdio = zfcp_sdev->port->adapter->qdio; in zfcp_fsf_abort_fcp_cmnd()929 if (unlikely(!(atomic_read(&zfcp_sdev->status) & in zfcp_fsf_abort_fcp_cmnd()[all …]
423 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 …]
218 struct zfcp_scsi_dev *zfcp_sdev; in zfcp_unit_sdev_status() local222 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_unit_sdev_status()223 status = atomic_read(&zfcp_sdev->status); in zfcp_unit_sdev_status()