Searched refs:nr_poll_queues (Results 1 – 10 of 10) sorted by relevance
/drivers/block/rnbd/ |
D | rnbd-clt-sysfs.c | 62 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 …]
|
D | rnbd-clt.h | 90 u32 nr_poll_queues; member 121 u32 nr_poll_queues; member 136 u32 nr_poll_queues);
|
D | rnbd-clt.c | 1178 if (sess->nr_poll_queues) { in rnbd_rdma_map_queues() 1180 set->map[HCTX_TYPE_POLL].nr_queues = sess->nr_poll_queues; in rnbd_rdma_map_queues() 1217 tag_set->nr_maps = sess->nr_poll_queues ? HCTX_MAX_TYPES : 2; in setup_mq_tags() 1222 tag_set->nr_hw_queues = num_online_cpus() + sess->nr_poll_queues; in setup_mq_tags() 1231 size_t path_cnt, u16 port_nr, u32 nr_poll_queues) in find_and_get_or_create_sess() argument 1242 } else if ((nr_poll_queues && !first) || (!nr_poll_queues && sess->nr_poll_queues)) { in find_and_get_or_create_sess() 1271 MAX_RECONNECTS, nr_poll_queues); in find_and_get_or_create_sess() 1283 sess->nr_poll_queues = nr_poll_queues; in find_and_get_or_create_sess() 1422 u32 nr_poll_queues) in init_dev() argument 1435 dev->hw_queues = kcalloc(nr_cpu_ids + nr_poll_queues, in init_dev() [all …]
|
/drivers/infiniband/ulp/rtrs/ |
D | rtrs.h | 60 s16 max_reconnect_attempts, u32 nr_poll_queues);
|
D | rtrs-clt.c | 1525 size_t con_num, u32 nr_poll_queues) in alloc_path() argument 1540 total_con = con_num + nr_poll_queues + 1; in alloc_path() 2792 s16 max_reconnect_attempts, u32 nr_poll_queues) in rtrs_clt_open() argument 2816 nr_poll_queues); in rtrs_clt_open()
|
/drivers/nvme/host/ |
D | rdma.c | 726 unsigned int nr_read_queues, nr_poll_queues; in nvme_rdma_alloc_io_queues() local 733 nr_poll_queues = min(opts->nr_poll_queues, num_online_cpus()); in nvme_rdma_alloc_io_queues() 734 nr_io_queues = nr_read_queues + nr_default_queues + nr_poll_queues; in nvme_rdma_alloc_io_queues() 772 if (opts->nr_poll_queues && nr_io_queues) { in nvme_rdma_alloc_io_queues() 775 min(nr_poll_queues, nr_io_queues); in nvme_rdma_alloc_io_queues() 805 ctrl->opts->nr_poll_queues ? HCTX_MAX_TYPES : 2, in nvme_rdma_alloc_tag_set() 2175 if (opts->nr_poll_queues && ctrl->io_queues[HCTX_TYPE_POLL]) { in nvme_rdma_map_queues() 2347 opts->nr_poll_queues + 1; in nvme_rdma_create_ctrl()
|
D | fabrics.h | 135 unsigned int nr_poll_queues; member
|
D | tcp.c | 1792 nr_io_queues += min(ctrl->opts->nr_poll_queues, num_online_cpus()); in nvme_tcp_nr_io_queues() 1825 if (opts->nr_poll_queues && nr_io_queues) { in nvme_tcp_set_io_queues() 1828 min(opts->nr_poll_queues, nr_io_queues); in nvme_tcp_set_io_queues() 1876 ctrl->opts->nr_poll_queues ? HCTX_MAX_TYPES : 2, in nvme_tcp_configure_io_queues() 2457 if (opts->nr_poll_queues && ctrl->io_queues[HCTX_TYPE_POLL]) { in nvme_tcp_map_queues() 2580 opts->nr_poll_queues + 1; in nvme_tcp_create_ctrl()
|
D | fabrics.c | 857 opts->nr_poll_queues = token; in nvmf_parse_options() 917 opts->nr_poll_queues = 0; in nvmf_parse_options()
|
D | pci.c | 161 unsigned int nr_poll_queues; member 2306 poll_queues = min(dev->nr_poll_queues, nr_io_queues - 1); in nvme_setup_irqs() 2342 return num_possible_cpus() + dev->nr_write_queues + dev->nr_poll_queues; in nvme_max_io_queues() 2358 dev->nr_poll_queues = poll_queues; in nvme_setup_io_queues() 3139 dev->nr_poll_queues = poll_queues; in nvme_pci_alloc_dev()
|