Lines Matching refs:can_queue
352 if (starget->can_queue > 0) in scsi_device_unbusy()
423 if (starget->can_queue > 0) { in scsi_target_is_busy()
424 if (atomic_read(&starget->target_busy) >= starget->can_queue) in scsi_target_is_busy()
434 if (shost->can_queue > 0 && in scsi_host_is_busy()
435 atomic_read(&shost->host_busy) >= shost->can_queue) in scsi_host_is_busy()
1490 if (starget->can_queue <= 0) in scsi_target_queue_ready()
1508 if (busy >= starget->can_queue) in scsi_target_queue_ready()
1518 if (starget->can_queue > 0) in scsi_target_queue_ready()
1553 if (shost->can_queue > 0 && busy >= shost->can_queue) in scsi_host_queue_ready()
1640 if (starget->can_queue > 0) in scsi_kill_request()
1896 if (scsi_target(sdev)->can_queue > 0) in scsi_request_fn()
2037 if (scsi_target(sdev)->can_queue > 0) in scsi_queue_rq()
2289 shost->tag_set.queue_depth = shost->can_queue; in scsi_mq_setup_tags()