Home
last modified time | relevance | path

Searched refs:nr_poll_queues (Results 1 – 12 of 12) sorted by relevance

/linux-5.19.10/drivers/block/rnbd/
Drnbd-clt-sysfs.c62 u32 *nr_poll_queues; member
74 int nr_poll_queues = 0; in rnbd_clt_parse_map_options() local
187 if (match_int(args, &nr_poll_queues) || nr_poll_queues < -1 || in rnbd_clt_parse_map_options()
188 nr_poll_queues > (int)nr_cpu_ids) { in rnbd_clt_parse_map_options()
190 nr_poll_queues); in rnbd_clt_parse_map_options()
194 if (nr_poll_queues == -1) in rnbd_clt_parse_map_options()
195 nr_poll_queues = nr_cpu_ids; in rnbd_clt_parse_map_options()
196 *opt->nr_poll_queues = nr_poll_queues; in rnbd_clt_parse_map_options()
255 return sysfs_emit(page, "%d\n", dev->nr_poll_queues); in nr_poll_queues_show()
259 __ATTR_RO(nr_poll_queues);
[all …]
Drnbd-clt.h90 u32 nr_poll_queues; member
119 u32 nr_poll_queues; member
148 u32 nr_poll_queues);
Drnbd-clt.c1197 if (sess->nr_poll_queues) { in rnbd_rdma_map_queues()
1199 set->map[HCTX_TYPE_POLL].nr_queues = sess->nr_poll_queues; in rnbd_rdma_map_queues()
1238 tag_set->nr_maps = sess->nr_poll_queues ? HCTX_MAX_TYPES : 2; in setup_mq_tags()
1243 tag_set->nr_hw_queues = num_online_cpus() + sess->nr_poll_queues; in setup_mq_tags()
1252 size_t path_cnt, u16 port_nr, u32 nr_poll_queues) in find_and_get_or_create_sess() argument
1263 } else if ((nr_poll_queues && !first) || (!nr_poll_queues && sess->nr_poll_queues)) { in find_and_get_or_create_sess()
1292 MAX_RECONNECTS, nr_poll_queues); in find_and_get_or_create_sess()
1304 sess->nr_poll_queues = nr_poll_queues; in find_and_get_or_create_sess()
1435 u32 nr_poll_queues) in init_dev() argument
1448 dev->hw_queues = kcalloc(nr_cpu_ids + nr_poll_queues, in init_dev()
[all …]
/linux-5.19.10/drivers/infiniband/ulp/rtrs/
Drtrs.h60 s16 max_reconnect_attempts, u32 nr_poll_queues);
Drtrs-clt.c1523 size_t con_num, u32 nr_poll_queues) in alloc_path() argument
1538 total_con = con_num + nr_poll_queues + 1; in alloc_path()
2806 s16 max_reconnect_attempts, u32 nr_poll_queues) in rtrs_clt_open() argument
2830 nr_poll_queues); in rtrs_clt_open()
/linux-5.19.10/drivers/nvme/host/
Dfabrics.h128 unsigned int nr_poll_queues; member
Drdma.c725 unsigned int nr_read_queues, nr_poll_queues; in nvme_rdma_alloc_io_queues() local
732 nr_poll_queues = min(opts->nr_poll_queues, num_online_cpus()); in nvme_rdma_alloc_io_queues()
733 nr_io_queues = nr_read_queues + nr_default_queues + nr_poll_queues; in nvme_rdma_alloc_io_queues()
771 if (opts->nr_poll_queues && nr_io_queues) { in nvme_rdma_alloc_io_queues()
774 min(nr_poll_queues, nr_io_queues); in nvme_rdma_alloc_io_queues()
829 set->nr_maps = nctrl->opts->nr_poll_queues ? HCTX_MAX_TYPES : 2; in nvme_rdma_alloc_tagset()
2222 if (opts->nr_poll_queues && ctrl->io_queues[HCTX_TYPE_POLL]) { in nvme_rdma_map_queues()
2396 opts->nr_poll_queues + 1; in nvme_rdma_create_ctrl()
Dtcp.c1716 set->nr_maps = nctrl->opts->nr_poll_queues ? HCTX_MAX_TYPES : 2; in nvme_tcp_alloc_tagset()
1815 nr_io_queues += min(ctrl->opts->nr_poll_queues, num_online_cpus()); in nvme_tcp_nr_io_queues()
1848 if (opts->nr_poll_queues && nr_io_queues) { in nvme_tcp_set_io_queues()
1851 min(opts->nr_poll_queues, nr_io_queues); in nvme_tcp_set_io_queues()
2492 if (opts->nr_poll_queues && ctrl->io_queues[HCTX_TYPE_POLL]) { in nvme_tcp_map_queues()
2592 opts->nr_poll_queues + 1; in nvme_tcp_create_ctrl()
Dfabrics.c811 opts->nr_poll_queues = token; in nvmf_parse_options()
843 opts->nr_poll_queues = 0; in nvmf_parse_options()
Dpci.c160 unsigned int nr_poll_queues; member
2313 poll_queues = min(dev->nr_poll_queues, nr_io_queues - 1); in nvme_setup_irqs()
2349 return num_possible_cpus() + dev->nr_write_queues + dev->nr_poll_queues; in nvme_max_io_queues()
2365 dev->nr_poll_queues = poll_queues; in nvme_setup_io_queues()
3105 dev->nr_poll_queues = poll_queues; in nvme_probe()
/linux-5.19.10/Documentation/ABI/testing/
Dsysfs-block-rnbd60 What: /sys/block/rnbd<N>/rnbd/nr_poll_queues
Dsysfs-class-rnbd-client88 nr_poll_queues