Searched refs:nvecs (Results 1 - 25 of 33) sorted by relevance

12

/linux-master/drivers/scsi/bfa/
H A Dbfa_hw_ct.c103 bfa_hwct_msix_init(struct bfa_s *bfa, int nvecs) argument
105 WARN_ON((nvecs != 1) && (nvecs != BFI_MSIX_CT_MAX));
106 bfa_trc(bfa, nvecs);
108 bfa->msix.nvecs = nvecs;
115 if (bfa->msix.nvecs == 0)
118 if (bfa->msix.nvecs == 1)
129 if (bfa->msix.nvecs == 0)
132 if (bfa->msix.nvecs
[all...]
H A Dbfa_hw_cb.c106 bfa_hwcb_msix_init(struct bfa_s *bfa, int nvecs) argument
108 WARN_ON((nvecs != 1) && (nvecs != __HFN_NUMINTS));
110 bfa->msix.nvecs = nvecs;
119 if (bfa->msix.nvecs == 0)
122 if (bfa->msix.nvecs == 1) {
137 if (bfa->msix.nvecs == 0)
140 if (bfa->msix.nvecs == 1) {
H A Dbfa.h168 int nvecs; member in struct:bfa_msix_s
179 void (*hw_msix_init)(struct bfa_s *bfa, int nvecs);
185 u32 *nvecs, u32 *maxvec);
332 void bfa_hwcb_msix_init(struct bfa_s *bfa, int nvecs);
337 void bfa_hwcb_msix_getvecs(struct bfa_s *bfa, u32 *vecmap, u32 *nvecs,
346 void bfa_hwct_msix_init(struct bfa_s *bfa, int nvecs);
351 void bfa_hwct_msix_getvecs(struct bfa_s *bfa, u32 *vecmap, u32 *nvecs,
/linux-master/kernel/irq/
H A Daffinity.c20 * @nvecs: The total number of vectors
26 irq_create_affinity_masks(unsigned int nvecs, struct irq_affinity *affd) argument
37 if (nvecs > affd->pre_vectors + affd->post_vectors)
38 affvecs = nvecs - affd->pre_vectors - affd->post_vectors;
59 masks = kcalloc(nvecs, sizeof(*masks), GFP_KERNEL);
94 for (; curvec < nvecs; curvec++)
98 for (i = affd->pre_vectors; i < nvecs - affd->post_vectors; i++)
/linux-master/drivers/pci/msi/
H A Dapi.c259 int nvecs = -ENOSPC; local
270 nvecs = __pci_enable_msix_range(dev, NULL, min_vecs, max_vecs,
272 if (nvecs > 0)
273 return nvecs;
277 nvecs = __pci_enable_msi_range(dev, min_vecs, max_vecs, affd);
278 if (nvecs > 0)
279 return nvecs;
297 return nvecs;
/linux-master/fs/xfs/
H A Dxfs_buf_item.c90 int *nvecs,
103 (*nvecs)++;
119 (*nvecs)++;
136 (*nvecs)++;
159 (*nvecs)++;
190 int *nvecs,
208 *nvecs += bip->bli_format_count;
224 *nvecs = XFS_LOG_VEC_ORDERED;
240 nvecs, &bytes);
86 xfs_buf_item_size_segment( struct xfs_buf_log_item *bip, struct xfs_buf_log_format *blfp, uint offset, int *nvecs, int *nbytes) argument
188 xfs_buf_item_size( struct xfs_log_item *lip, int *nvecs, int *nbytes) argument
H A Dxfs_dquot_item.c32 int *nvecs,
35 *nvecs += 2;
30 xfs_qm_dquot_logitem_size( struct xfs_log_item *lip, int *nvecs, int *nbytes) argument
H A Dxfs_inode_item.c197 int *nvecs,
209 *nvecs += 1;
216 *nvecs += 1;
223 *nvecs += 1;
238 int *nvecs,
250 *nvecs += 1;
257 *nvecs += 1;
264 *nvecs += 1;
283 int *nvecs,
289 *nvecs
195 xfs_inode_item_data_fork_size( struct xfs_inode_log_item *iip, int *nvecs, int *nbytes) argument
236 xfs_inode_item_attr_fork_size( struct xfs_inode_log_item *iip, int *nvecs, int *nbytes) argument
281 xfs_inode_item_size( struct xfs_log_item *lip, int *nvecs, int *nbytes) argument
[all...]
H A Dxfs_refcount_item.c69 int *nvecs,
74 *nvecs += 1;
169 int *nvecs,
172 *nvecs += 1;
67 xfs_cui_item_size( struct xfs_log_item *lip, int *nvecs, int *nbytes) argument
167 xfs_cud_item_size( struct xfs_log_item *lip, int *nvecs, int *nbytes) argument
H A Dxfs_icreate_item.c38 int *nvecs,
41 *nvecs += 1;
36 xfs_icreate_item_size( struct xfs_log_item *lip, int *nvecs, int *nbytes) argument
H A Dxfs_attr_item.c138 int *nvecs,
144 *nvecs += 2;
151 *nvecs += 1;
261 int *nvecs,
264 *nvecs += 1;
136 xfs_attri_item_size( struct xfs_log_item *lip, int *nvecs, int *nbytes) argument
259 xfs_attrd_item_size( struct xfs_log_item *lip, int *nvecs, int *nbytes) argument
H A Dxfs_bmap_item.c71 int *nvecs,
76 *nvecs += 1;
164 int *nvecs,
167 *nvecs += 1;
69 xfs_bui_item_size( struct xfs_log_item *lip, int *nvecs, int *nbytes) argument
162 xfs_bud_item_size( struct xfs_log_item *lip, int *nvecs, int *nbytes) argument
H A Dxfs_extfree_item.c72 int *nvecs,
77 *nvecs += 1;
242 int *nvecs,
247 *nvecs += 1;
70 xfs_efi_item_size( struct xfs_log_item *lip, int *nvecs, int *nbytes) argument
240 xfs_efd_item_size( struct xfs_log_item *lip, int *nvecs, int *nbytes) argument
H A Dxfs_rmap_item.c68 int *nvecs,
73 *nvecs += 1;
168 int *nvecs,
171 *nvecs += 1;
66 xfs_rui_item_size( struct xfs_log_item *lip, int *nvecs, int *nbytes) argument
166 xfs_rud_item_size( struct xfs_log_item *lip, int *nvecs, int *nbytes) argument
/linux-master/drivers/scsi/csiostor/
H A Dcsio_isr.c477 static void csio_calc_sets(struct irq_affinity *affd, unsigned int nvecs) argument
482 if (!nvecs)
485 if (nvecs < hw->num_pports) {
487 affd->set_size[0] = nvecs;
493 affd->set_size[i] = nvecs / hw->num_pports;
/linux-master/drivers/net/ethernet/wangxun/libwx/
H A Dwx_lib.c1602 int nvecs, i; local
1605 nvecs = max(wx->num_rx_queues, wx->num_tx_queues);
1606 nvecs = min_t(int, nvecs, num_online_cpus());
1607 nvecs = min_t(int, nvecs, wx->mac.max_msix_vectors);
1609 wx->msix_q_entries = kcalloc(nvecs, sizeof(struct msix_entry),
1615 nvecs += 1;
1625 nvecs = pci_alloc_irq_vectors_affinity(wx->pdev, nvecs,
1661 int nvecs, ret; local
[all...]
/linux-master/drivers/virtio/
H A Dvirtio_vdpa.c306 create_affinity_masks(unsigned int nvecs, struct irq_affinity *affd) argument
311 if (nvecs > affd->pre_vectors + affd->post_vectors)
312 affvecs = nvecs - affd->pre_vectors - affd->post_vectors;
322 masks = kcalloc(nvecs, sizeof(*masks), GFP_KERNEL);
353 for (; curvec < nvecs; curvec++)
/linux-master/drivers/pci/controller/
H A Dpcie-apple.c142 u32 nvecs; member in struct:apple_pcie
214 hwirq = bitmap_find_free_region(pcie->bitmap, pcie->nvecs,
402 writel_relaxed((ilog2(port->pcie->nvecs) << PORT_MSICFG_L2MSINUM_SHIFT) |
612 args.args_count + 1, &pcie->nvecs);
619 pcie->bitmap = devm_bitmap_zalloc(pcie->dev, pcie->nvecs, GFP_KERNEL);
629 parent = irq_domain_create_hierarchy(parent, 0, pcie->nvecs, fwnode,
/linux-master/drivers/net/ethernet/brocade/bna/
H A Dbnad.c95 int vector, nvecs; local
98 nvecs = unmap->nvecs;
102 unmap->nvecs = 0;
107 nvecs--;
110 while (nvecs) {
123 nvecs--;
187 unmap_wis = BNA_TXQ_WI_NEEDED(unmap->nvecs);
500 u32 sop_ci, u32 nvecs)
507 for (vec = 0, ci = sop_ci; vec < nvecs; ve
499 bnad_cq_drop_packet(struct bnad *bnad, struct bna_rcb *rcb, u32 sop_ci, u32 nvecs) argument
519 bnad_cq_setup_skb_frags(struct bna_ccb *ccb, struct sk_buff *skb, u32 nvecs) argument
597 u32 pi, vec, sop_ci = 0, nvecs = 0; local
[all...]
H A Dbnad.h222 u32 nvecs; member in struct:bnad_tx_unmap
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu.c578 static void rvu_check_min_msix_vec(struct rvu *rvu, int nvecs, int pf, int vf) argument
585 if (!nvecs) {
588 pf, vf - 1, nvecs);
598 if (!(nvecs < min_vecs))
602 pf, nvecs, min_vecs);
609 int nvecs, offset, max_msix; local
650 nvecs = (cfg >> 12) & 0xFF;
652 offset = rvu_alloc_rsrc_contig(&pfvf->msix, nvecs);
682 nvecs = (cfg >> 12) & 0xFF;
684 offset = rvu_alloc_rsrc_contig(&pfvf->msix, nvecs);
1795 u16 nvecs, vec, offset; local
1820 u16 nvecs, vec, offset; local
[all...]
/linux-master/fs/smb/server/
H A Dtransport_tcp.c385 int nvecs, int size, bool need_invalidate,
391 return kernel_sendmsg(TCP_TRANS(t)->sock, &smb_msg, iov, nvecs, size);
384 ksmbd_tcp_writev(struct ksmbd_transport *t, struct kvec *iov, int nvecs, int size, bool need_invalidate, unsigned int remote_key) argument
/linux-master/drivers/cxl/
H A Dpci.c593 int nvecs; local
604 nvecs = pci_alloc_irq_vectors(pdev, 1, CXL_PCI_DEFAULT_MAX_VECTORS,
606 if (nvecs < 1) {
607 dev_dbg(&pdev->dev, "Failed to alloc irq vectors: %d\n", nvecs);
/linux-master/drivers/usb/host/
H A Dxhci-pci.c145 xhci->nvecs = min(num_online_cpus() + 1,
149 xhci->nvecs = pci_alloc_irq_vectors(pdev, 1, xhci->nvecs,
151 if (xhci->nvecs < 0) {
/linux-master/drivers/pci/switch/
H A Dswitchtec.c1487 int nvecs; local
1495 nvecs = pci_alloc_irq_vectors(stdev->pdev, 1, nirqs,
1498 if (nvecs < 0)
1499 return nvecs;
1502 if (event_irq < 0 || event_irq >= nvecs)
1520 if (dma_mrpc_irq < 0 || dma_mrpc_irq >= nvecs)

Completed in 289 milliseconds

12