Lines Matching refs:restarts
514 * scsi_device_unbusy() and reading sdev->restarts.
516 int old = atomic_read(&sdev->restarts);
519 * ->restarts has to be kept as non-zero if new budget
523 * queue wins in updating ->restarts or a new budget
526 if (old && atomic_cmpxchg(&sdev->restarts, old, 0) == old)
1670 atomic_inc(&sdev->restarts);
1673 * Orders atomic_inc(&sdev->restarts) and atomic_read(&sdev->device_busy).
1674 * .restarts must be incremented before .device_busy is read because the
1684 * the .restarts flag, and the request queue will be run for handling
2673 * Moves the device from quiesced back to running and restarts the