Lines Matching refs:restarts
547 * scsi_device_unbusy() and reading sdev->restarts.
549 int old = atomic_read(&sdev->restarts);
552 * ->restarts has to be kept as non-zero if new budget
556 * queue wins in updating ->restarts or a new budget
559 if (old && atomic_cmpxchg(&sdev->restarts, old, 0) == old)
1621 atomic_inc(&sdev->restarts);
1624 * Orders atomic_inc(&sdev->restarts) and atomic_read(&sdev->device_busy).
1625 * .restarts must be incremented before .device_busy is read because the
1635 * the .restarts flag, and the request queue will be run for handling
2578 * Moves the device from quiesced back to running and restarts the