Lines Matching refs:can_queue
354 if (starget->can_queue > 0) in scsi_device_unbusy()
422 if (starget->can_queue > 0) { in scsi_target_is_busy()
423 if (atomic_read(&starget->target_busy) >= starget->can_queue) in scsi_target_is_busy()
433 if (shost->can_queue > 0 && in scsi_host_is_busy()
434 atomic_read(&shost->host_busy) >= shost->can_queue) in scsi_host_is_busy()
1330 if (starget->can_queue <= 0) in scsi_target_queue_ready()
1348 if (busy >= starget->can_queue) in scsi_target_queue_ready()
1358 if (starget->can_queue > 0) in scsi_target_queue_ready()
1393 if (shost->can_queue > 0 && busy >= shost->can_queue) in scsi_host_queue_ready()
1702 if (scsi_target(sdev)->can_queue > 0) in scsi_queue_rq()
1899 shost->tag_set.queue_depth = shost->can_queue; in scsi_mq_setup_tags()