Searched refs:max_queue_size (Results 1 – 6 of 6) sorted by relevance
| /linux/net/xfrm/ |
| H A D | xfrm_iptfs.c | 116 u32 max_queue_size; /* octets */ member 1786 if (newsz > xtfs->cfg.max_queue_size) in iptfs_enqueue() 2541 xc->max_queue_size = IPTFS_DEFAULT_MAX_QUEUE_SIZE; in iptfs_user_init() 2573 xc->max_queue_size = nla_get_u32(attrs[XFRMA_IPTFS_MAX_QSIZE]); in iptfs_user_init() 2582 q = (u64)xc->max_queue_size * 95; in iptfs_user_init() 2602 l += nla_total_size(sizeof(xc->max_queue_size)); in iptfs_sa_len() 2638 ret = nla_put_u32(skb, XFRMA_IPTFS_MAX_QSIZE, xc->max_queue_size); in iptfs_copy_to_user()
|
| /linux/drivers/nvme/target/ |
| H A D | core.c | 362 * If the transport didn't set the max_queue_size properly, then clamp in nvmet_enable_port() 366 if (port->max_queue_size < 0) in nvmet_enable_port() 367 port->max_queue_size = NVMET_MAX_QUEUE_SIZE; in nvmet_enable_port() 369 port->max_queue_size = clamp_t(int, port->max_queue_size, in nvmet_enable_port() 1477 ctrl->port->max_queue_size) - 1; in nvmet_ctrl_find_get() 1479 ctrl->cap |= ctrl->port->max_queue_size - 1; in nvmet_ctrl_find_get()
|
| H A D | rdma.c | 1989 if (nport->max_queue_size < 0) { in nvmet_rdma_add_port() 1990 nport->max_queue_size = NVME_RDMA_DEFAULT_QUEUE_SIZE; in nvmet_rdma_add_port() 1991 } else if (nport->max_queue_size > NVME_RDMA_MAX_QUEUE_SIZE) { in nvmet_rdma_add_port() 1993 nport->max_queue_size, NVME_RDMA_MAX_QUEUE_SIZE); in nvmet_rdma_add_port() 1994 nport->max_queue_size = NVME_RDMA_MAX_QUEUE_SIZE; in nvmet_rdma_add_port()
|
| H A D | configfs.c | 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() 296 pr_err("Invalid value '%s' for max_queue_size\n", page); in nvmet_param_max_queue_size_store() 2079 port->max_queue_size = -1; /* < 0 == let the transport choose */ in nvmet_ports_make()
|
| H A D | nvmet.h | 220 int max_queue_size; 218 int max_queue_size; global() member
|
| /linux/drivers/nvme/host/ |
| H A D | rdma.c | 1043 u16 max_queue_size; in nvme_rdma_setup_ctrl() local 1069 max_queue_size = NVME_RDMA_MAX_METADATA_QUEUE_SIZE; in nvme_rdma_setup_ctrl() 1071 max_queue_size = NVME_RDMA_MAX_QUEUE_SIZE; in nvme_rdma_setup_ctrl() 1073 if (ctrl->ctrl.sqsize + 1 > max_queue_size) { in nvme_rdma_setup_ctrl() 1076 ctrl->ctrl.sqsize + 1, max_queue_size); in nvme_rdma_setup_ctrl() 1077 ctrl->ctrl.sqsize = max_queue_size - 1; in nvme_rdma_setup_ctrl()
|