Home
last modified time | relevance | path

Searched refs:max_queue (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/block/
Dbsg.c47 int max_queue; member
111 if (bd->queued_cmds >= bd->max_queue) in bsg_alloc_command()
686 bd->max_queue = BSG_DEFAULT_CMDS; in bsg_alloc_device()
774 format_dev_t(buf, inode->i_rdev), bd->max_queue); in bsg_add_device()
858 if (bd->queued_cmds < bd->max_queue) in bsg_poll()
876 return put_user(bd->max_queue, uarg); in bsg_ioctl()
886 bd->max_queue = queue; in bsg_ioctl()
/linux-4.4.14/drivers/block/
Dsx8.c68 static int max_queue = 1; variable
69 module_param(max_queue, int, 0444);
70 MODULE_PARM_DESC(max_queue, "Maximum number of queued commands. (min==1, max==30, safe==1)");
516 for (i = 0; i < max_queue; i++) in carm_get_request()
536 assert(crq->tag < max_queue); in carm_put_request()
800 if (max_queue == 1) in carm_end_rq()
/linux-4.4.14/drivers/ata/
Dlibata-scsi.c4263 unsigned int max_queue = ap->host->n_tags; in ata_sas_allocate_tag() local
4266 for (i = 0, tag = ap->sas_last_tag + 1; i < max_queue; i++, tag++) { in ata_sas_allocate_tag()
4267 tag = tag < max_queue ? tag : 0; in ata_sas_allocate_tag()
/linux-4.4.14/drivers/scsi/
Dscsi_debug.c4090 module_param_named(max_queue, scsi_debug_max_queue, int, S_IRUGO | S_IWUSR);
4137 MODULE_PARM_DESC(max_queue, "max number of queued commands (1 to max(def))");
4532 static DRIVER_ATTR_RW(max_queue);