Lines Matching refs:can_queue
365 if (starget->can_queue > 0) in scsi_device_unbusy()
436 if (starget->can_queue > 0) { in scsi_target_is_busy()
437 if (atomic_read(&starget->target_busy) >= starget->can_queue) in scsi_target_is_busy()
447 if (shost->can_queue > 0 && in scsi_host_is_busy()
448 atomic_read(&shost->host_busy) >= shost->can_queue) in scsi_host_is_busy()
1556 if (starget->can_queue <= 0) in scsi_target_queue_ready()
1574 if (busy >= starget->can_queue) in scsi_target_queue_ready()
1584 if (starget->can_queue > 0) in scsi_target_queue_ready()
1619 if (shost->can_queue > 0 && busy >= shost->can_queue) in scsi_host_queue_ready()
1706 if (starget->can_queue > 0) in scsi_kill_request()
1965 if (scsi_target(sdev)->can_queue > 0) in scsi_request_fn()
2130 if (scsi_target(sdev)->can_queue > 0) in scsi_queue_rq()
2356 shost->tag_set.queue_depth = shost->can_queue; in scsi_mq_setup_tags()