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 119 u32 nr_poll_queues; member 150 u32 nr_poll_queues);
|
D | rnbd-clt.c | 1201 if (sess->nr_poll_queues) { in rnbd_rdma_map_queues() 1203 set->map[HCTX_TYPE_POLL].nr_queues = sess->nr_poll_queues; in rnbd_rdma_map_queues() 1242 tag_set->nr_maps = sess->nr_poll_queues ? HCTX_MAX_TYPES : 2; in setup_mq_tags() 1247 tag_set->nr_hw_queues = num_online_cpus() + sess->nr_poll_queues; in setup_mq_tags() 1256 size_t path_cnt, u16 port_nr, u32 nr_poll_queues) in find_and_get_or_create_sess() argument 1267 else if ((nr_poll_queues && !first) || (!nr_poll_queues && sess->nr_poll_queues)) { in find_and_get_or_create_sess() 1296 MAX_RECONNECTS, nr_poll_queues); in find_and_get_or_create_sess() 1308 sess->nr_poll_queues = nr_poll_queues; in find_and_get_or_create_sess() 1436 u32 nr_poll_queues) in init_dev() argument 1449 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 | 1514 size_t con_num, u32 nr_poll_queues) in alloc_path() argument 1529 total_con = con_num + nr_poll_queues + 1; in alloc_path() 2791 s16 max_reconnect_attempts, u32 nr_poll_queues) in rtrs_clt_open() argument 2815 nr_poll_queues); in rtrs_clt_open()
|
/drivers/nvme/host/ |
D | fabrics.h | 127 unsigned int nr_poll_queues; member
|
D | rdma.c | 727 unsigned int nr_read_queues, nr_poll_queues; in nvme_rdma_alloc_io_queues() local 734 nr_poll_queues = min(opts->nr_poll_queues, num_online_cpus()); in nvme_rdma_alloc_io_queues() 735 nr_io_queues = nr_read_queues + nr_default_queues + nr_poll_queues; in nvme_rdma_alloc_io_queues() 773 if (opts->nr_poll_queues && nr_io_queues) { in nvme_rdma_alloc_io_queues() 776 min(nr_poll_queues, nr_io_queues); in nvme_rdma_alloc_io_queues() 831 set->nr_maps = nctrl->opts->nr_poll_queues ? HCTX_MAX_TYPES : 2; in nvme_rdma_alloc_tagset() 2204 if (opts->nr_poll_queues && ctrl->io_queues[HCTX_TYPE_POLL]) { in nvme_rdma_map_queues() 2378 opts->nr_poll_queues + 1; in nvme_rdma_create_ctrl()
|
D | tcp.c | 1689 set->nr_maps = nctrl->opts->nr_poll_queues ? HCTX_MAX_TYPES : 2; in nvme_tcp_alloc_tagset() 1789 nr_io_queues += min(ctrl->opts->nr_poll_queues, num_online_cpus()); in nvme_tcp_nr_io_queues() 1822 if (opts->nr_poll_queues && nr_io_queues) { in nvme_tcp_set_io_queues() 1825 min(opts->nr_poll_queues, nr_io_queues); in nvme_tcp_set_io_queues() 2471 if (opts->nr_poll_queues && ctrl->io_queues[HCTX_TYPE_POLL]) { in nvme_tcp_map_queues() 2571 opts->nr_poll_queues + 1; in nvme_tcp_create_ctrl()
|
D | fabrics.c | 808 opts->nr_poll_queues = token; in nvmf_parse_options() 837 opts->nr_poll_queues = 0; in nvmf_parse_options()
|
D | pci.c | 158 unsigned int nr_poll_queues; member 2201 poll_queues = min(dev->nr_poll_queues, nr_io_queues - 1); in nvme_setup_irqs() 2237 return num_possible_cpus() + dev->nr_write_queues + dev->nr_poll_queues; in nvme_max_io_queues() 2253 dev->nr_poll_queues = poll_queues; in nvme_setup_io_queues() 2998 dev->nr_poll_queues = poll_queues; in nvme_pci_alloc_dev()
|