Searched refs:zfcp_sdev (Results 1 – 6 of 6) sorted by relevance
/linux-2.6.39/drivers/s390/scsi/ |
D | zfcp_cfdc.c | 278 struct zfcp_scsi_dev *zfcp_sdev; in zfcp_cfdc_adapter_access_changed() local 296 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_cfdc_adapter_access_changed() 297 status = atomic_read(&zfcp_sdev->status); in zfcp_cfdc_adapter_access_changed() 345 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_cfdc_lun_denied() local 347 dev_warn(&zfcp_sdev->port->adapter->ccw_device->dev, in zfcp_cfdc_lun_denied() 350 (unsigned long long)zfcp_sdev->port->wwpn); in zfcp_cfdc_lun_denied() 351 zfcp_act_eval_err(zfcp_sdev->port->adapter, qual->halfword[0]); in zfcp_cfdc_lun_denied() 352 zfcp_act_eval_err(zfcp_sdev->port->adapter, qual->halfword[1]); in zfcp_cfdc_lun_denied() 357 atomic_clear_mask(ZFCP_STATUS_LUN_SHARED, &zfcp_sdev->status); in zfcp_cfdc_lun_denied() 358 atomic_clear_mask(ZFCP_STATUS_LUN_READONLY, &zfcp_sdev->status); in zfcp_cfdc_lun_denied() [all …]
|
D | zfcp_erp.c | 93 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() 131 struct zfcp_scsi_dev *zfcp_sdev; in zfcp_erp_required_act() local 135 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_required_act() 136 l_status = atomic_read(&zfcp_sdev->status); in zfcp_erp_required_act() 182 struct zfcp_scsi_dev *zfcp_sdev; in zfcp_erp_setup_act() local 186 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_setup_act() 191 &zfcp_sdev->status); in zfcp_erp_setup_act() 192 erp_action = &zfcp_sdev->erp_action; in zfcp_erp_setup_act() [all …]
|
D | zfcp_fsf.c | 774 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_fsf_abort_fcp_command_handler() local 783 zfcp_erp_adapter_reopen(zfcp_sdev->port->adapter, 0, in zfcp_fsf_abort_fcp_command_handler() 790 zfcp_erp_port_reopen(zfcp_sdev->port, 0, "fsafch2"); in zfcp_fsf_abort_fcp_command_handler() 798 zfcp_erp_set_port_status(zfcp_sdev->port, in zfcp_fsf_abort_fcp_command_handler() 800 zfcp_erp_port_reopen(zfcp_sdev->port, in zfcp_fsf_abort_fcp_command_handler() 813 zfcp_fc_test_link(zfcp_sdev->port); in zfcp_fsf_abort_fcp_command_handler() 836 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_fsf_abort_fcp_cmnd() local 837 struct zfcp_qdio *qdio = zfcp_sdev->port->adapter->qdio; in zfcp_fsf_abort_fcp_cmnd() 851 if (unlikely(!(atomic_read(&zfcp_sdev->status) & in zfcp_fsf_abort_fcp_cmnd() 859 req->qtcb->header.lun_handle = zfcp_sdev->lun_handle; in zfcp_fsf_abort_fcp_cmnd() [all …]
|
D | zfcp_scsi.c | 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() [all …]
|
D | zfcp_unit.c | 199 struct zfcp_scsi_dev *zfcp_sdev; in zfcp_unit_sdev_status() local 203 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_unit_sdev_status() 204 status = atomic_read(&zfcp_sdev->status); in zfcp_unit_sdev_status()
|
D | zfcp_sysfs.c | 357 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); \ 358 struct zfcp_latencies *lat = &zfcp_sdev->latencies; \ 359 struct zfcp_adapter *adapter = zfcp_sdev->port->adapter; \ 388 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); \ 389 struct zfcp_latencies *lat = &zfcp_sdev->latencies; \ 418 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); \ 419 struct zfcp_port *port = zfcp_sdev->port; \
|