Home
last modified time | relevance | path

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

/linux/net/xfrm/
H A Dxfrm_iptfs.c116 u32 max_queue_size; /* octets */ member
1764 if (newsz > xtfs->cfg.max_queue_size) in iptfs_enqueue()
2517 xc->max_queue_size = IPTFS_DEFAULT_MAX_QUEUE_SIZE; in iptfs_user_init()
2549 xc->max_queue_size = nla_get_u32(attrs[XFRMA_IPTFS_MAX_QSIZE]); in iptfs_user_init()
2558 q = (u64)xc->max_queue_size * 95; in iptfs_user_init()
2578 l += nla_total_size(sizeof(xc->max_queue_size)); in iptfs_sa_len()
2614 ret = nla_put_u32(skb, XFRMA_IPTFS_MAX_QSIZE, xc->max_queue_size); in iptfs_copy_to_user()
H A Dtrace_iptfs.h85 xtfs->cfg.max_queue_size - xtfs->queue_size;
/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()
1451 ctrl->port->max_queue_size) - 1; in nvmet_init_cap()
1453 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()
/linux/drivers/nvme/host/
H A Drdma.c1010 u16 max_queue_size; in nvme_rdma_setup_ctrl() local
1036 max_queue_size = NVME_RDMA_MAX_METADATA_QUEUE_SIZE; in nvme_rdma_setup_ctrl()
1038 max_queue_size = NVME_RDMA_MAX_QUEUE_SIZE; in nvme_rdma_setup_ctrl()
1040 if (ctrl->ctrl.sqsize + 1 > max_queue_size) { in nvme_rdma_setup_ctrl()
1043 ctrl->ctrl.sqsize + 1, max_queue_size); in nvme_rdma_setup_ctrl()
1044 ctrl->ctrl.sqsize = max_queue_size - 1; in nvme_rdma_setup_ctrl()