/Linux-v5.15/drivers/scsi/bfa/ |
D | bfa_hw_ct.c | 103 bfa_hwct_msix_init(struct bfa_s *bfa, int nvecs) in bfa_hwct_msix_init() argument 105 WARN_ON((nvecs != 1) && (nvecs != BFI_MSIX_CT_MAX)); in bfa_hwct_msix_init() 106 bfa_trc(bfa, nvecs); in bfa_hwct_msix_init() 108 bfa->msix.nvecs = nvecs; in bfa_hwct_msix_init() 115 if (bfa->msix.nvecs == 0) in bfa_hwct_msix_ctrl_install() 118 if (bfa->msix.nvecs == 1) in bfa_hwct_msix_ctrl_install() 129 if (bfa->msix.nvecs == 0) in bfa_hwct_msix_queue_install() 132 if (bfa->msix.nvecs == 1) { in bfa_hwct_msix_queue_install()
|
D | bfa_hw_cb.c | 106 bfa_hwcb_msix_init(struct bfa_s *bfa, int nvecs) in bfa_hwcb_msix_init() argument 108 WARN_ON((nvecs != 1) && (nvecs != __HFN_NUMINTS)); in bfa_hwcb_msix_init() 110 bfa->msix.nvecs = nvecs; in bfa_hwcb_msix_init() 119 if (bfa->msix.nvecs == 0) in bfa_hwcb_msix_ctrl_install() 122 if (bfa->msix.nvecs == 1) { in bfa_hwcb_msix_ctrl_install() 137 if (bfa->msix.nvecs == 0) in bfa_hwcb_msix_queue_install() 140 if (bfa->msix.nvecs == 1) { in bfa_hwcb_msix_queue_install()
|
D | bfa.h | 169 int nvecs; member 180 void (*hw_msix_init)(struct bfa_s *bfa, int nvecs); 186 u32 *nvecs, u32 *maxvec); 314 void bfa_hwcb_msix_init(struct bfa_s *bfa, int nvecs); 319 void bfa_hwcb_msix_getvecs(struct bfa_s *bfa, u32 *vecmap, u32 *nvecs, 328 void bfa_hwct_msix_init(struct bfa_s *bfa, int nvecs); 333 void bfa_hwct_msix_getvecs(struct bfa_s *bfa, u32 *vecmap, u32 *nvecs,
|
/Linux-v5.15/kernel/irq/ |
D | affinity.c | 416 irq_create_affinity_masks(unsigned int nvecs, struct irq_affinity *affd) in irq_create_affinity_masks() argument 427 if (nvecs > affd->pre_vectors + affd->post_vectors) in irq_create_affinity_masks() 428 affvecs = nvecs - affd->pre_vectors - affd->post_vectors; in irq_create_affinity_masks() 449 masks = kcalloc(nvecs, sizeof(*masks), GFP_KERNEL); in irq_create_affinity_masks() 480 for (; curvec < nvecs; curvec++) in irq_create_affinity_masks() 484 for (i = affd->pre_vectors; i < nvecs - affd->post_vectors; i++) in irq_create_affinity_masks()
|
/Linux-v5.15/fs/xfs/ |
D | xfs_inode_item.c | 48 int *nvecs, in xfs_inode_item_data_fork_size() argument 60 *nvecs += 1; in xfs_inode_item_data_fork_size() 67 *nvecs += 1; in xfs_inode_item_data_fork_size() 74 *nvecs += 1; in xfs_inode_item_data_fork_size() 89 int *nvecs, in xfs_inode_item_attr_fork_size() argument 101 *nvecs += 1; in xfs_inode_item_attr_fork_size() 108 *nvecs += 1; in xfs_inode_item_attr_fork_size() 115 *nvecs += 1; in xfs_inode_item_attr_fork_size() 134 int *nvecs, in xfs_inode_item_size() argument 140 *nvecs += 2; in xfs_inode_item_size() [all …]
|
D | xfs_buf_item.c | 89 int *nvecs, in xfs_buf_item_size_segment() argument 102 (*nvecs)++; in xfs_buf_item_size_segment() 118 (*nvecs)++; in xfs_buf_item_size_segment() 135 (*nvecs)++; in xfs_buf_item_size_segment() 158 (*nvecs)++; in xfs_buf_item_size_segment() 189 int *nvecs, in xfs_buf_item_size() argument 207 *nvecs += bip->bli_format_count; in xfs_buf_item_size() 223 *nvecs = XFS_LOG_VEC_ORDERED; in xfs_buf_item_size() 239 nvecs, &bytes); in xfs_buf_item_size()
|
D | xfs_dquot_item.c | 32 int *nvecs, in xfs_qm_dquot_logitem_size() argument 35 *nvecs += 2; in xfs_qm_dquot_logitem_size()
|
D | xfs_icreate_item.c | 38 int *nvecs, in xfs_icreate_item_size() argument 41 *nvecs += 1; in xfs_icreate_item_size()
|
D | xfs_refcount_item.c | 66 int *nvecs, in xfs_cui_item_size() argument 71 *nvecs += 1; in xfs_cui_item_size() 166 int *nvecs, in xfs_cud_item_size() argument 169 *nvecs += 1; in xfs_cud_item_size()
|
D | xfs_bmap_item.c | 67 int *nvecs, in xfs_bui_item_size() argument 72 *nvecs += 1; in xfs_bui_item_size() 160 int *nvecs, in xfs_bud_item_size() argument 163 *nvecs += 1; in xfs_bud_item_size()
|
D | xfs_rmap_item.c | 65 int *nvecs, in xfs_rui_item_size() argument 70 *nvecs += 1; in xfs_rui_item_size() 189 int *nvecs, in xfs_rud_item_size() argument 192 *nvecs += 1; in xfs_rud_item_size()
|
D | xfs_extfree_item.c | 83 int *nvecs, in xfs_efi_item_size() argument 86 *nvecs += 1; in xfs_efi_item_size() 263 int *nvecs, in xfs_efd_item_size() argument 266 *nvecs += 1; in xfs_efd_item_size()
|
D | xfs_log_priv.h | 245 int nvecs; /* number of regions */ member
|
/Linux-v5.15/drivers/scsi/csiostor/ |
D | csio_isr.c | 477 static void csio_calc_sets(struct irq_affinity *affd, unsigned int nvecs) in csio_calc_sets() argument 482 if (!nvecs) in csio_calc_sets() 485 if (nvecs < hw->num_pports) { in csio_calc_sets() 487 affd->set_size[0] = nvecs; in csio_calc_sets() 493 affd->set_size[i] = nvecs / hw->num_pports; in csio_calc_sets()
|
/Linux-v5.15/drivers/pci/ |
D | msi.c | 1127 int nvecs = -ENOSPC; in pci_alloc_irq_vectors_affinity() local 1138 nvecs = __pci_enable_msix_range(dev, NULL, min_vecs, max_vecs, in pci_alloc_irq_vectors_affinity() 1140 if (nvecs > 0) in pci_alloc_irq_vectors_affinity() 1141 return nvecs; in pci_alloc_irq_vectors_affinity() 1145 nvecs = __pci_enable_msi_range(dev, min_vecs, max_vecs, affd); in pci_alloc_irq_vectors_affinity() 1146 if (nvecs > 0) in pci_alloc_irq_vectors_affinity() 1147 return nvecs; in pci_alloc_irq_vectors_affinity() 1165 return nvecs; in pci_alloc_irq_vectors_affinity()
|
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu.c | 570 static void rvu_check_min_msix_vec(struct rvu *rvu, int nvecs, int pf, int vf) in rvu_check_min_msix_vec() argument 577 if (!nvecs) { in rvu_check_min_msix_vec() 580 pf, vf - 1, nvecs); in rvu_check_min_msix_vec() 590 if (!(nvecs < min_vecs)) in rvu_check_min_msix_vec() 594 pf, nvecs, min_vecs); in rvu_check_min_msix_vec() 601 int nvecs, offset, max_msix; in rvu_setup_msix_resources() local 642 nvecs = (cfg >> 12) & 0xFF; in rvu_setup_msix_resources() 644 offset = rvu_alloc_rsrc_contig(&pfvf->msix, nvecs); in rvu_setup_msix_resources() 674 nvecs = (cfg >> 12) & 0xFF; in rvu_setup_msix_resources() 676 offset = rvu_alloc_rsrc_contig(&pfvf->msix, nvecs); in rvu_setup_msix_resources() [all …]
|
/Linux-v5.15/drivers/net/ethernet/brocade/bna/ |
D | bnad.c | 95 int vector, nvecs; in bnad_tx_buff_unmap() local 98 nvecs = unmap->nvecs; in bnad_tx_buff_unmap() 102 unmap->nvecs = 0; in bnad_tx_buff_unmap() 107 nvecs--; in bnad_tx_buff_unmap() 110 while (nvecs) { in bnad_tx_buff_unmap() 123 nvecs--; in bnad_tx_buff_unmap() 187 unmap_wis = BNA_TXQ_WI_NEEDED(unmap->nvecs); in bnad_txcmpl_process() 500 u32 sop_ci, u32 nvecs) in bnad_cq_drop_packet() argument 507 for (vec = 0, ci = sop_ci; vec < nvecs; vec++) { in bnad_cq_drop_packet() 519 bnad_cq_setup_skb_frags(struct bna_ccb *ccb, struct sk_buff *skb, u32 nvecs) in bnad_cq_setup_skb_frags() argument [all …]
|
D | bnad.h | 223 u32 nvecs; member
|
/Linux-v5.15/fs/cifs/ |
D | smbdirect.c | 1990 int nvecs; in smbd_send() local 2058 nvecs = (buflen+max_iov_size-1)/max_iov_size; in smbd_send() 2061 buflen, nvecs); in smbd_send() 2062 for (j = 0; j < nvecs; j++) { in smbd_send() 2067 if (j == nvecs-1) in smbd_send() 2070 max_iov_size*(nvecs-1); in smbd_send() 2111 nvecs = (buflen + max_iov_size - 1) / max_iov_size; in smbd_send() 2113 buflen, nvecs); in smbd_send() 2114 for (j = 0; j < nvecs; j++) { in smbd_send() 2116 if (j == nvecs-1) in smbd_send()
|
/Linux-v5.15/fs/nfsd/ |
D | nfsproc.c | 231 unsigned int nvecs; in nfsd_proc_write() local 237 nvecs = svc_fill_write_vector(rqstp, rqstp->rq_arg.pages, in nfsd_proc_write() 239 if (!nvecs) { in nfsd_proc_write() 245 argp->offset, rqstp->rq_vec, nvecs, in nfsd_proc_write()
|
D | nfs3proc.c | 194 unsigned int nvecs; in nfsd3_proc_write() local 204 nvecs = svc_fill_write_vector(rqstp, rqstp->rq_arg.pages, in nfsd3_proc_write() 206 if (!nvecs) { in nfsd3_proc_write() 211 rqstp->rq_vec, nvecs, &cnt, in nfsd3_proc_write()
|
/Linux-v5.15/fs/ksmbd/ |
D | transport_tcp.c | 356 int nvecs, int size, bool need_invalidate, in ksmbd_tcp_writev() argument 362 return kernel_sendmsg(TCP_TRANS(t)->sock, &smb_msg, iov, nvecs, size); in ksmbd_tcp_writev()
|
/Linux-v5.15/drivers/pci/switch/ |
D | switchtec.c | 1436 int nvecs; in switchtec_init_isr() local 1444 nvecs = pci_alloc_irq_vectors(stdev->pdev, 1, nirqs, in switchtec_init_isr() 1447 if (nvecs < 0) in switchtec_init_isr() 1448 return nvecs; in switchtec_init_isr() 1451 if (event_irq < 0 || event_irq >= nvecs) in switchtec_init_isr() 1469 if (dma_mrpc_irq < 0 || dma_mrpc_irq >= nvecs) in switchtec_init_isr()
|
/Linux-v5.15/include/linux/ |
D | interrupt.h | 308 void (*calc_sets)(struct irq_affinity *, unsigned int nvecs);
|
/Linux-v5.15/drivers/irqchip/ |
D | irq-gic-v3-its.c | 3349 int nvecs, bool alloc_lpis) in its_create_device() argument 3364 if (WARN_ON(!is_power_of_2(nvecs))) in its_create_device() 3365 nvecs = roundup_pow_of_two(nvecs); in its_create_device() 3372 nr_ites = max(2, nvecs); in its_create_device() 3377 lpi_map = its_lpi_alloc(nvecs, &lpi_base, &nr_lpis); in its_create_device() 3430 static int its_alloc_device_irq(struct its_device *dev, int nvecs, irq_hw_number_t *hwirq) in its_alloc_device_irq() argument 3437 get_count_order(nvecs)); in its_alloc_device_irq()
|