nbufs 810 drivers/gpu/drm/savage/savage_state.c unsigned int i, nbufs; nbufs 820 drivers/gpu/drm/savage/savage_state.c nbufs = ((flags & SAVAGE_FRONT) ? 1 : 0) + nbufs 822 drivers/gpu/drm/savage/savage_state.c if (nbufs == 0) nbufs 838 drivers/gpu/drm/savage/savage_state.c BEGIN_DMA(nbufs * 6); nbufs 166 drivers/infiniband/hw/hns/hns_roce_alloc.c if (buf->nbufs == 1) { nbufs 169 drivers/infiniband/hw/hns/hns_roce_alloc.c for (i = 0; i < buf->nbufs; ++i) nbufs 189 drivers/infiniband/hw/hns/hns_roce_alloc.c buf->nbufs = 1; nbufs 211 drivers/infiniband/hw/hns/hns_roce_alloc.c buf->nbufs = (size + page_size - 1) / page_size; nbufs 212 drivers/infiniband/hw/hns/hns_roce_alloc.c buf->npages = buf->nbufs; nbufs 214 drivers/infiniband/hw/hns/hns_roce_alloc.c buf->page_list = kcalloc(buf->nbufs, sizeof(*buf->page_list), nbufs 220 drivers/infiniband/hw/hns/hns_roce_alloc.c for (i = 0; i < buf->nbufs; ++i) { nbufs 256 drivers/infiniband/hw/hns/hns_roce_alloc.c if (buf->nbufs == 1) nbufs 452 drivers/infiniband/hw/hns/hns_roce_device.h int nbufs; nbufs 1114 drivers/infiniband/hw/hns/hns_roce_device.h if (buf->nbufs == 1) nbufs 902 drivers/infiniband/hw/hns/hns_roce_mr.c if (buf->nbufs == 1) nbufs 285 drivers/infiniband/hw/qib/qib_tx.c unsigned nbufs; nbufs 293 drivers/infiniband/hw/qib/qib_tx.c nbufs = last - first + 1; /* number in range to check */ nbufs 315 drivers/infiniband/hw/qib/qib_tx.c nbufs = last - dd->min_kernel_pio + 1; nbufs 316 drivers/infiniband/hw/qib/qib_tx.c for (j = 0; j < nbufs; j++, i++) { nbufs 331 drivers/infiniband/hw/qib/qib_tx.c if (j == nbufs) { nbufs 889 drivers/infiniband/ulp/srpt/ib_srpt.c struct srp_direct_buf *db, int nbufs, struct scatterlist **sg, nbufs 898 drivers/infiniband/ulp/srpt/ib_srpt.c if (nbufs == 1) { nbufs 901 drivers/infiniband/ulp/srpt/ib_srpt.c ioctx->rw_ctxs = kmalloc_array(nbufs, sizeof(*ioctx->rw_ctxs), nbufs 907 drivers/infiniband/ulp/srpt/ib_srpt.c for (i = ioctx->n_rw_ctx; i < nbufs; i++, db++) { nbufs 914 drivers/infiniband/ulp/srpt/ib_srpt.c i < nbufs - 1); nbufs 1046 drivers/infiniband/ulp/srpt/ib_srpt.c int nbufs = be32_to_cpu(idb->table_desc.len) / nbufs 1049 drivers/infiniband/ulp/srpt/ib_srpt.c if (nbufs > nbufs 1060 drivers/infiniband/ulp/srpt/ib_srpt.c return srpt_alloc_rw_ctxs(ioctx, idb->desc_list, nbufs, nbufs 93 drivers/md/dm-verity-fec.c for (__i = 0; __i < (io)->nbufs; __i++) nbufs 334 drivers/md/dm-verity-fec.c fio->nbufs = n; nbufs 384 drivers/md/dm-verity-fec.c pos += fio->nbufs << DM_VERITY_FEC_BUF_RS_BITS; nbufs 518 drivers/md/dm-verity-fec.c fio->nbufs = 0; nbufs 57 drivers/md/dm-verity-fec.h unsigned nbufs; /* number of buffers allocated */ nbufs 241 drivers/media/platform/marvell-ccic/mcam-core.c for (i = 0; i < cam->nbufs; i++) { nbufs 374 drivers/media/platform/marvell-ccic/mcam-core.c cam->nbufs = 0; nbufs 383 drivers/media/platform/marvell-ccic/mcam-core.c (cam->nbufs)++; nbufs 386 drivers/media/platform/marvell-ccic/mcam-core.c switch (cam->nbufs) { nbufs 390 drivers/media/platform/marvell-ccic/mcam-core.c cam->nbufs = 0; nbufs 408 drivers/media/platform/marvell-ccic/mcam-core.c for (i = 0; i < cam->nbufs; i++) { nbufs 413 drivers/media/platform/marvell-ccic/mcam-core.c cam->nbufs = 0; nbufs 429 drivers/media/platform/marvell-ccic/mcam-core.c if (cam->nbufs > 2) { nbufs 449 drivers/media/platform/marvell-ccic/mcam-core.c for (i = 0; i < cam->nbufs; i++) { nbufs 454 drivers/media/platform/marvell-ccic/mcam-core.c if (++(cam->next_buf) >= cam->nbufs) nbufs 486 drivers/media/platform/marvell-ccic/mcam-core.c if (cam->nbufs > 0 && cam->dma_buf_size < cam->pix_format.sizeimage) nbufs 488 drivers/media/platform/marvell-ccic/mcam-core.c if (cam->nbufs == 0) nbufs 570 drivers/media/platform/marvell-ccic/mcam-core.c cam->nbufs = 2; nbufs 640 drivers/media/platform/marvell-ccic/mcam-core.c cam->nbufs = 3; nbufs 1058 drivers/media/platform/marvell-ccic/mcam-core.c if (cam->buffer_mode == B_vmalloc && cam->nbufs == 0 && nbufs 1093 drivers/media/platform/marvell-ccic/mcam-core.c unsigned int *nbufs, nbufs 1101 drivers/media/platform/marvell-ccic/mcam-core.c if (*nbufs < minbufs) nbufs 1102 drivers/media/platform/marvell-ccic/mcam-core.c *nbufs = minbufs; nbufs 1187 drivers/media/platform/marvell-ccic/mcam-core.c for (frame = 0; frame < cam->nbufs; frame++) nbufs 1737 drivers/media/platform/marvell-ccic/mcam-core.c for (frame = 0; frame < cam->nbufs; frame++) nbufs 1751 drivers/media/platform/marvell-ccic/mcam-core.c for (frame = 0; frame < cam->nbufs; frame++) { nbufs 161 drivers/media/platform/marvell-ccic/mcam-core.h unsigned int nbufs; /* How many are alloc'd */ nbufs 941 drivers/media/platform/omap/omap_vout.c unsigned int *nbufs, nbufs 948 drivers/media/platform/omap/omap_vout.c if (is_rotation_enabled(vout) && vq->num_buffers + *nbufs > VRFB_NUM_BUFS) { nbufs 949 drivers/media/platform/omap/omap_vout.c *nbufs = VRFB_NUM_BUFS - vq->num_buffers; nbufs 950 drivers/media/platform/omap/omap_vout.c if (*nbufs == 0) nbufs 1499 drivers/media/platform/pxa_camera.c unsigned int *nbufs, nbufs 1508 drivers/media/platform/pxa_camera.c __func__, vq, *nbufs, *num_planes, size); nbufs 1527 drivers/media/platform/pxa_camera.c if (!*nbufs) nbufs 1528 drivers/media/platform/pxa_camera.c *nbufs = 1; nbufs 606 drivers/media/platform/via-camera.c unsigned int *nbufs, nbufs 539 drivers/media/usb/stkwebcam/stk-webcam.c int nbufs; nbufs 556 drivers/media/usb/stkwebcam/stk-webcam.c nbufs = dev->n_sbufs; nbufs 559 drivers/media/usb/stkwebcam/stk-webcam.c for (i = 0; i < nbufs; i++) nbufs 879 drivers/media/v4l2-core/videobuf-core.c unsigned size = 0, nbufs = 1; nbufs 886 drivers/media/v4l2-core/videobuf-core.c q->ops->buf_setup(q, &nbufs, &size); nbufs 150 drivers/misc/fastrpc.c int nbufs; nbufs 378 drivers/misc/fastrpc.c for (i = 0; i < ctx->nbufs; ++i) { nbufs 384 drivers/misc/fastrpc.c sort(ctx->olaps, ctx->nbufs, sizeof(*ctx->olaps), olaps_cmp, NULL); nbufs 386 drivers/misc/fastrpc.c for (i = 0; i < ctx->nbufs; ++i) { nbufs 425 drivers/misc/fastrpc.c ctx->nbufs = REMOTE_SCALARS_INBUFS(sc) + nbufs 771 drivers/misc/fastrpc.c for (oix = 0; oix < ctx->nbufs; ++oix) { nbufs 842 drivers/misc/fastrpc.c for (i = ctx->nbufs; i < ctx->nscalars; ++i) { nbufs 866 drivers/misc/fastrpc.c for (i = inbufs; i < ctx->nbufs; ++i) { nbufs 2402 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c int i, ret, buf_len = 0, nbufs = 0; nbufs 2461 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c nbufs++; nbufs 2471 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c nbufs++; nbufs 2486 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c if (nbufs > 1) { nbufs 124 drivers/net/ethernet/apm/xgene-v2/main.c pdata->nbufs = NUM_BUFS; nbufs 62 drivers/net/ethernet/apm/xgene-v2/main.h u8 nbufs; nbufs 582 drivers/net/ethernet/mellanox/mlx4/alloc.c buf->nbufs = 1; nbufs 616 drivers/net/ethernet/mellanox/mlx4/alloc.c buf->nbufs = DIV_ROUND_UP(size, PAGE_SIZE); nbufs 617 drivers/net/ethernet/mellanox/mlx4/alloc.c buf->npages = buf->nbufs; nbufs 619 drivers/net/ethernet/mellanox/mlx4/alloc.c buf->page_list = kcalloc(buf->nbufs, sizeof(*buf->page_list), nbufs 624 drivers/net/ethernet/mellanox/mlx4/alloc.c for (i = 0; i < buf->nbufs; ++i) { nbufs 646 drivers/net/ethernet/mellanox/mlx4/alloc.c if (buf->nbufs == 1) { nbufs 652 drivers/net/ethernet/mellanox/mlx4/alloc.c for (i = 0; i < buf->nbufs; ++i) nbufs 333 drivers/net/ethernet/mellanox/mlx4/cq.c if (buf->nbufs == 1) nbufs 802 drivers/net/ethernet/mellanox/mlx4/mr.c if (buf->nbufs == 1) nbufs 679 drivers/net/ethernet/seeq/sgiseeq.c int nbufs) nbufs 684 drivers/net/ethernet/seeq/sgiseeq.c while (i < (nbufs - 1)) { nbufs 696 drivers/net/ethernet/seeq/sgiseeq.c int nbufs) nbufs 701 drivers/net/ethernet/seeq/sgiseeq.c while (i < (nbufs - 1)) { nbufs 1870 drivers/net/ethernet/sun/cassini.c + cp->tx_tiny_use[ring][entry].nbufs + 1; nbufs 1878 drivers/net/ethernet/sun/cassini.c cp->tx_tiny_use[ring][entry].nbufs = 0; nbufs 2748 drivers/net/ethernet/sun/cassini.c cp->tx_tiny_use[ring][tentry].nbufs++; nbufs 2735 drivers/net/ethernet/sun/cassini.h int nbufs; nbufs 577 drivers/net/wireless/ath/ath9k/ath9k.h int ath_rx_init(struct ath_softc *sc, int nbufs); nbufs 589 drivers/net/wireless/ath/ath9k/ath9k.h int ath_tx_init(struct ath_softc *sc, int nbufs); nbufs 198 drivers/net/wireless/ath/ath9k/recv.c static int ath_rx_edma_init(struct ath_softc *sc, int nbufs) nbufs 215 drivers/net/wireless/ath/ath9k/recv.c size = sizeof(struct ath_rxbuf) * nbufs; nbufs 222 drivers/net/wireless/ath/ath9k/recv.c for (i = 0; i < nbufs; i++, bf++) { nbufs 271 drivers/net/wireless/ath/ath9k/recv.c int ath_rx_init(struct ath_softc *sc, int nbufs) nbufs 284 drivers/net/wireless/ath/ath9k/recv.c return ath_rx_edma_init(sc, nbufs); nbufs 292 drivers/net/wireless/ath/ath9k/recv.c "rx", nbufs, 1, 0); nbufs 2758 drivers/net/wireless/ath/ath9k/xmit.c int ath_tx_init(struct ath_softc *sc, int nbufs) nbufs 2766 drivers/net/wireless/ath/ath9k/xmit.c "tx", nbufs, 1, 1); nbufs 49 drivers/net/wireless/mediatek/mt76/dma.c struct mt76_queue_buf *buf, int nbufs, u32 info, nbufs 61 drivers/net/wireless/mediatek/mt76/dma.c for (i = 0; i < nbufs; i += 2, buf += 2) { nbufs 65 drivers/net/wireless/mediatek/mt76/dma.c if (i < nbufs - 1) { nbufs 70 drivers/net/wireless/mediatek/mt76/dma.c if (i == nbufs - 1) nbufs 72 drivers/net/wireless/mediatek/mt76/dma.c else if (i == nbufs - 2) nbufs 156 drivers/net/wireless/mediatek/mt76/mt76.h struct mt76_queue_buf *buf, int nbufs, u32 info, nbufs 3698 drivers/scsi/be2iscsi/be_main.c u16 nbufs; nbufs 3732 drivers/scsi/be2iscsi/be_main.c nbufs = phwi_context->pasync_ctx[ulp_num]->num_entries; nbufs 3733 drivers/scsi/be2iscsi/be_main.c def_pdu_ring_sz = nbufs * sizeof(struct phys_addr); nbufs 3761 drivers/scsi/be2iscsi/be_main.c ulp_num, nbufs); nbufs 3763 drivers/scsi/be2iscsi/be_main.c ulp_num, nbufs); nbufs 362 drivers/staging/media/sunxi/cedrus/cedrus_video.c static int cedrus_queue_setup(struct vb2_queue *vq, unsigned int *nbufs, nbufs 70 fs/jbd2/recovery.c unsigned int max, nbufs, next; nbufs 84 fs/jbd2/recovery.c nbufs = 0; nbufs 102 fs/jbd2/recovery.c bufs[nbufs++] = bh; nbufs 103 fs/jbd2/recovery.c if (nbufs == MAXBUF) { nbufs 104 fs/jbd2/recovery.c ll_rw_block(REQ_OP_READ, 0, nbufs, bufs); nbufs 105 fs/jbd2/recovery.c journal_brelse_array(bufs, nbufs); nbufs 106 fs/jbd2/recovery.c nbufs = 0; nbufs 112 fs/jbd2/recovery.c if (nbufs) nbufs 113 fs/jbd2/recovery.c ll_rw_block(REQ_OP_READ, 0, nbufs, bufs); nbufs 117 fs/jbd2/recovery.c if (nbufs) nbufs 118 fs/jbd2/recovery.c journal_brelse_array(bufs, nbufs); nbufs 689 fs/splice.c int nbufs = pipe->buffers; nbufs 690 fs/splice.c struct bio_vec *array = kcalloc(nbufs, sizeof(struct bio_vec), nbufs 709 fs/splice.c if (unlikely(nbufs < pipe->buffers)) { nbufs 711 fs/splice.c nbufs = pipe->buffers; nbufs 712 fs/splice.c array = kcalloc(nbufs, sizeof(struct bio_vec), nbufs 274 fs/xfs/libxfs/xfs_ialloc.c int nbufs; nbufs 285 fs/xfs/libxfs/xfs_ialloc.c nbufs = length / M_IGEO(mp)->blocks_per_cluster; nbufs 324 fs/xfs/libxfs/xfs_ialloc.c for (j = 0; j < nbufs; j++) { nbufs 49 fs/xfs/libxfs/xfs_trans_resv.c uint nbufs, nbufs 52 fs/xfs/libxfs/xfs_trans_resv.c return nbufs * (size + xfs_buf_log_overhead()); nbufs 2525 fs/xfs/xfs_inode.c int nbufs; nbufs 2539 fs/xfs/xfs_inode.c nbufs = igeo->ialloc_blks / igeo->blocks_per_cluster; nbufs 2541 fs/xfs/xfs_inode.c for (j = 0; j < nbufs; j++, inum += igeo->inodes_per_cluster) { nbufs 3780 fs/xfs/xfs_log_recover.c int nbufs; nbufs 3846 fs/xfs/xfs_log_recover.c nbufs = length / igeo->blocks_per_cluster; nbufs 3847 fs/xfs/xfs_log_recover.c for (i = 0, cancel_count = 0; i < nbufs; i++) { nbufs 3866 fs/xfs/xfs_log_recover.c ASSERT(!cancel_count || cancel_count == nbufs); nbufs 3868 fs/xfs/xfs_log_recover.c if (cancel_count != nbufs) nbufs 645 include/linux/mlx4/device.h int nbufs; nbufs 1095 include/linux/mlx4/device.h if (buf->nbufs == 1) nbufs 994 sound/oss/dmasound/dmasound_core.c int size, nbufs; nbufs 1114 sound/oss/dmasound/dmasound_core.c nbufs = (data >> 16) & 0x7fff ; /* 0x7fff is 'use maximum' */ nbufs 1117 sound/oss/dmasound/dmasound_core.c result = set_queue_frags(&write_sq, nbufs, size) ;