Lines Matching refs:zfcp_sdev
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()
369 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_cfdc_lun_shrng_vltn() local
372 dev_warn(&zfcp_sdev->port->adapter->ccw_device->dev, in zfcp_cfdc_lun_shrng_vltn()
376 (unsigned long long)zfcp_sdev->port->wwpn, in zfcp_cfdc_lun_shrng_vltn()
380 zfcp_act_eval_err(zfcp_sdev->port->adapter, qual->word[2]); in zfcp_cfdc_lun_shrng_vltn()
385 atomic_clear_mask(ZFCP_STATUS_LUN_SHARED, &zfcp_sdev->status); in zfcp_cfdc_lun_shrng_vltn()
386 atomic_clear_mask(ZFCP_STATUS_LUN_READONLY, &zfcp_sdev->status); in zfcp_cfdc_lun_shrng_vltn()
401 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_cfdc_open_lun_eval() local
402 struct zfcp_adapter *adapter = zfcp_sdev->port->adapter; in zfcp_cfdc_open_lun_eval()
413 atomic_set_mask(ZFCP_STATUS_LUN_SHARED, &zfcp_sdev->status); in zfcp_cfdc_open_lun_eval()
416 atomic_set_mask(ZFCP_STATUS_LUN_READONLY, &zfcp_sdev->status); in zfcp_cfdc_open_lun_eval()
420 (unsigned long long)zfcp_sdev->port->wwpn); in zfcp_cfdc_open_lun_eval()
427 (unsigned long long)zfcp_sdev->port->wwpn); in zfcp_cfdc_open_lun_eval()
438 (unsigned long long)zfcp_sdev->port->wwpn); in zfcp_cfdc_open_lun_eval()