Lines Matching defs:new_state
2928 * @new_state: state to set the device to after unblocking
2941 enum scsi_device_state new_state)
2943 switch (new_state) {
2958 sdev->sdev_state = new_state;
2961 if (new_state == SDEV_TRANSPORT_OFFLINE ||
2962 new_state == SDEV_OFFLINE)
2963 sdev->sdev_state = new_state;
2982 * @new_state: state to set the device to after unblocking
2994 enum scsi_device_state new_state)
2999 ret = scsi_internal_device_unblock_nowait(sdev, new_state);
3051 scsi_target_unblock(struct device *dev, enum scsi_device_state new_state)
3054 starget_for_each_device(to_scsi_target(dev), &new_state,
3057 device_for_each_child(dev, &new_state, target_unblock);
3098 scsi_host_unblock(struct Scsi_Host *shost, int new_state)
3104 ret = scsi_internal_device_unblock(sdev, new_state);