Home
last modified time | relevance | path

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

/linux/drivers/nvme/target/
H A Dcore.c363 if (port->max_queue_size < 0) in nvmet_enable_port()
364 port->max_queue_size = NVMET_MAX_QUEUE_SIZE; in nvmet_enable_port()
366 port->max_queue_size = clamp_t(int, port->max_queue_size, in nvmet_enable_port()
1450 ctrl->port->max_queue_size) - 1; in nvmet_init_cap()
1452 ctrl->cap |= ctrl->port->max_queue_size - 1; in nvmet_init_cap()
H A Drdma.c1958 if (nport->max_queue_size < 0) { in nvmet_rdma_add_port()
1959 nport->max_queue_size = NVME_RDMA_DEFAULT_QUEUE_SIZE; in nvmet_rdma_add_port()
1960 } else if (nport->max_queue_size > NVME_RDMA_MAX_QUEUE_SIZE) { in nvmet_rdma_add_port()
1962 nport->max_queue_size, NVME_RDMA_MAX_QUEUE_SIZE); in nvmet_rdma_add_port()
1963 nport->max_queue_size = NVME_RDMA_MAX_QUEUE_SIZE; in nvmet_rdma_add_port()
H A Dconfigfs.c283 return snprintf(page, PAGE_SIZE, "%d\n", port->max_queue_size); in nvmet_param_max_queue_size_show()
294 ret = kstrtoint(page, 0, &port->max_queue_size); in nvmet_param_max_queue_size_store()
2056 port->max_queue_size = -1; /* < 0 == let the transport choose */ in nvmet_ports_make()
H A Dnvmet.h216 int max_queue_size; member