Lines Matching refs:busy
1410 unsigned int busy; in scsi_dev_queue_ready() local
1412 busy = atomic_inc_return(&sdev->device_busy) - 1; in scsi_dev_queue_ready()
1414 if (busy) in scsi_dev_queue_ready()
1432 if (busy >= sdev->queue_depth) in scsi_dev_queue_ready()
1449 unsigned int busy; in scsi_target_queue_ready() local
1465 busy = atomic_inc_return(&starget->target_busy) - 1; in scsi_target_queue_ready()
1467 if (busy) in scsi_target_queue_ready()
1480 if (busy >= starget->can_queue) in scsi_target_queue_ready()
1504 unsigned int busy; in scsi_host_queue_ready() local
1509 busy = atomic_inc_return(&shost->host_busy) - 1; in scsi_host_queue_ready()
1511 if (busy) in scsi_host_queue_ready()
1525 if (shost->can_queue > 0 && busy >= shost->can_queue) in scsi_host_queue_ready()