Lines Matching refs:can_queue
316 if (starget->can_queue > 0) in scsi_device_unbusy()
394 if (starget->can_queue > 0) { in scsi_target_is_busy()
395 if (atomic_read(&starget->target_busy) >= starget->can_queue) in scsi_target_is_busy()
405 if (shost->can_queue > 0 && in scsi_host_is_busy()
406 atomic_read(&shost->host_busy) >= shost->can_queue) in scsi_host_is_busy()
1462 if (starget->can_queue <= 0) in scsi_target_queue_ready()
1480 if (busy >= starget->can_queue) in scsi_target_queue_ready()
1490 if (starget->can_queue > 0) in scsi_target_queue_ready()
1525 if (shost->can_queue > 0 && busy >= shost->can_queue) in scsi_host_queue_ready()
1612 if (starget->can_queue > 0) in scsi_kill_request()
1868 if (scsi_target(sdev)->can_queue > 0) in scsi_request_fn()
2022 if (scsi_target(sdev)->can_queue > 0) in scsi_queue_rq()
2201 shost->tag_set.queue_depth = shost->can_queue; in scsi_mq_setup_tags()