Searched refs:max_queue_size (Results 1 – 4 of 4) sorted by relevance
363 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()
1958 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()
283 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()
216 int max_queue_size; member