num_bufs 87 drivers/crypto/qat/qat_common/qat_algs.c uint32_t num_bufs; num_bufs 687 drivers/crypto/qat/qat_common/qat_algs.c for (i = 0; i < bl->num_bufs; i++) num_bufs 695 drivers/crypto/qat/qat_common/qat_algs.c int bufless = blout->num_bufs - blout->num_mapped_bufs; num_bufs 697 drivers/crypto/qat/qat_common/qat_algs.c for (i = bufless; i < blout->num_bufs; i++) { num_bufs 748 drivers/crypto/qat/qat_common/qat_algs.c bufl->num_bufs = sg_nctr; num_bufs 781 drivers/crypto/qat/qat_common/qat_algs.c buflout->num_bufs = sg_nctr; num_bufs 30 drivers/media/pci/pt3/pt3.c static int num_bufs = 4; num_bufs 31 drivers/media/pci/pt3/pt3.c module_param(num_bufs, int, 0444); num_bufs 32 drivers/media/pci/pt3/pt3.c MODULE_PARM_DESC(num_bufs, "Number of DMA buffer (188KiB) per FE."); num_bufs 754 drivers/media/pci/pt3/pt3.c pt3->num_bufs = clamp_val(num_bufs, MIN_DATA_BUFS, MAX_DATA_BUFS); num_bufs 131 drivers/media/pci/pt3/pt3.h int num_bufs; /* == pt3_board->num_bufs */ num_bufs 152 drivers/media/pci/pt3/pt3.h int num_bufs; /* number of DMA buffers allocated/mapped per FE */ num_bufs 67 drivers/media/pci/pt3/pt3_dma.c if (*idx == adap->num_bufs) num_bufs 114 drivers/media/pci/pt3/pt3_dma.c while (idx < adap->num_bufs) { num_bufs 133 drivers/media/pci/pt3/pt3_dma.c for (i = 0; i < adap->num_bufs; i++) num_bufs 136 drivers/media/pci/pt3/pt3_dma.c adap->num_bufs = 0; num_bufs 156 drivers/media/pci/pt3/pt3_dma.c adap->num_bufs = 0; num_bufs 158 drivers/media/pci/pt3/pt3_dma.c for (i = 0; i < pt3->num_bufs; i++) { num_bufs 164 drivers/media/pci/pt3/pt3_dma.c adap->num_bufs++; num_bufs 172 drivers/media/pci/pt3/pt3_dma.c DIV_ROUND_UP(adap->num_bufs * DATA_BUF_XFERS, DESCS_IN_PAGE); num_bufs 202 drivers/media/pci/pt3/pt3_dma.c if (idx >= adap->num_bufs) { num_bufs 162 drivers/media/usb/au0828/au0828-video.c for (i = 0; i < dev->isoc_ctl.num_bufs; i++) { num_bufs 187 drivers/media/usb/au0828/au0828-video.c dev->isoc_ctl.num_bufs = 0; num_bufs 196 drivers/media/usb/au0828/au0828-video.c int num_bufs, int max_pkt_size, num_bufs 209 drivers/media/usb/au0828/au0828-video.c dev->isoc_ctl.num_bufs = num_bufs; num_bufs 211 drivers/media/usb/au0828/au0828-video.c dev->isoc_ctl.urb = kcalloc(num_bufs, sizeof(void *), GFP_KERNEL); num_bufs 217 drivers/media/usb/au0828/au0828-video.c dev->isoc_ctl.transfer_buffer = kcalloc(num_bufs, sizeof(void *), num_bufs 231 drivers/media/usb/au0828/au0828-video.c for (i = 0; i < dev->isoc_ctl.num_bufs; i++) { num_bufs 270 drivers/media/usb/au0828/au0828-video.c for (i = 0; i < dev->isoc_ctl.num_bufs; i++) { num_bufs 1690 drivers/media/usb/au0828/au0828-video.c for (i = 0; i < dev->isoc_ctl.num_bufs; i++) { num_bufs 1731 drivers/media/usb/au0828/au0828-video.c for (i = 0; i < dev->isoc_ctl.num_bufs; i++) { num_bufs 123 drivers/media/usb/au0828/au0828.h int num_bufs; num_bufs 1421 drivers/media/usb/cx231xx/cx231xx-417.c if (!dev->video_mode.isoc_ctl.num_bufs) num_bufs 1424 drivers/media/usb/cx231xx/cx231xx-417.c if (!dev->video_mode.bulk_ctl.num_bufs) num_bufs 879 drivers/media/usb/cx231xx/cx231xx-core.c for (i = 0; i < dev->video_mode.isoc_ctl.num_bufs; i++) { num_bufs 913 drivers/media/usb/cx231xx/cx231xx-core.c dev->video_mode.isoc_ctl.num_bufs = 0; num_bufs 938 drivers/media/usb/cx231xx/cx231xx-core.c for (i = 0; i < dev->video_mode.bulk_ctl.num_bufs; i++) { num_bufs 972 drivers/media/usb/cx231xx/cx231xx-core.c dev->video_mode.bulk_ctl.num_bufs = 0; num_bufs 988 drivers/media/usb/cx231xx/cx231xx-core.c int num_bufs, int max_pkt_size, num_bufs 1006 drivers/media/usb/cx231xx/cx231xx-core.c dev->video_mode.isoc_ctl.num_bufs = num_bufs; num_bufs 1027 drivers/media/usb/cx231xx/cx231xx-core.c kcalloc(num_bufs, sizeof(void *), GFP_KERNEL); num_bufs 1035 drivers/media/usb/cx231xx/cx231xx-core.c kcalloc(num_bufs, sizeof(void *), GFP_KERNEL); num_bufs 1055 drivers/media/usb/cx231xx/cx231xx-core.c for (i = 0; i < dev->video_mode.isoc_ctl.num_bufs; i++) { num_bufs 1098 drivers/media/usb/cx231xx/cx231xx-core.c for (i = 0; i < dev->video_mode.isoc_ctl.num_bufs; i++) { num_bufs 1123 drivers/media/usb/cx231xx/cx231xx-core.c int num_bufs, int max_pkt_size, num_bufs 1142 drivers/media/usb/cx231xx/cx231xx-core.c dev->video_mode.bulk_ctl.num_bufs = num_bufs; num_bufs 1162 drivers/media/usb/cx231xx/cx231xx-core.c kcalloc(num_bufs, sizeof(void *), GFP_KERNEL); num_bufs 1170 drivers/media/usb/cx231xx/cx231xx-core.c kcalloc(num_bufs, sizeof(void *), GFP_KERNEL); num_bufs 1190 drivers/media/usb/cx231xx/cx231xx-core.c for (i = 0; i < dev->video_mode.bulk_ctl.num_bufs; i++) { num_bufs 1232 drivers/media/usb/cx231xx/cx231xx-core.c for (i = 0; i < dev->video_mode.bulk_ctl.num_bufs; i++) { num_bufs 232 drivers/media/usb/cx231xx/cx231xx-vbi.c if (!dev->vbi_mode.bulk_ctl.num_bufs) num_bufs 338 drivers/media/usb/cx231xx/cx231xx-vbi.c for (i = 0; i < dev->vbi_mode.bulk_ctl.num_bufs; i++) { num_bufs 364 drivers/media/usb/cx231xx/cx231xx-vbi.c dev->vbi_mode.bulk_ctl.num_bufs = 0; num_bufs 374 drivers/media/usb/cx231xx/cx231xx-vbi.c int num_bufs, int max_pkt_size, num_bufs 395 drivers/media/usb/cx231xx/cx231xx-vbi.c dev->vbi_mode.bulk_ctl.num_bufs = num_bufs; num_bufs 407 drivers/media/usb/cx231xx/cx231xx-vbi.c dev->vbi_mode.bulk_ctl.urb = kcalloc(num_bufs, sizeof(void *), num_bufs 416 drivers/media/usb/cx231xx/cx231xx-vbi.c kcalloc(num_bufs, sizeof(void *), GFP_KERNEL); num_bufs 430 drivers/media/usb/cx231xx/cx231xx-vbi.c for (i = 0; i < dev->vbi_mode.bulk_ctl.num_bufs; i++) { num_bufs 460 drivers/media/usb/cx231xx/cx231xx-vbi.c for (i = 0; i < dev->vbi_mode.bulk_ctl.num_bufs; i++) { num_bufs 31 drivers/media/usb/cx231xx/cx231xx-vbi.h int num_bufs, int max_pkt_size, num_bufs 789 drivers/media/usb/cx231xx/cx231xx-video.c if (!dev->video_mode.isoc_ctl.num_bufs) num_bufs 792 drivers/media/usb/cx231xx/cx231xx-video.c if (!dev->video_mode.bulk_ctl.num_bufs) num_bufs 153 drivers/media/usb/cx231xx/cx231xx.h int num_bufs; num_bufs 187 drivers/media/usb/cx231xx/cx231xx.h int num_bufs; num_bufs 877 drivers/media/usb/cx231xx/cx231xx.h int num_bufs, int max_pkt_size, num_bufs 881 drivers/media/usb/cx231xx/cx231xx.h int num_bufs, int max_pkt_size, num_bufs 832 drivers/media/usb/em28xx/em28xx-core.c for (i = 0; i < usb_bufs->num_bufs; i++) { num_bufs 850 drivers/media/usb/em28xx/em28xx-core.c usb_bufs->num_bufs = 0; num_bufs 867 drivers/media/usb/em28xx/em28xx-core.c for (i = 0; i < isoc_bufs->num_bufs; i++) { num_bufs 885 drivers/media/usb/em28xx/em28xx-core.c int num_bufs, int max_pkt_size, int packet_multiplier) num_bufs 926 drivers/media/usb/em28xx/em28xx-core.c usb_bufs->num_bufs = num_bufs; num_bufs 928 drivers/media/usb/em28xx/em28xx-core.c usb_bufs->urb = kcalloc(num_bufs, sizeof(void *), GFP_KERNEL); num_bufs 932 drivers/media/usb/em28xx/em28xx-core.c usb_bufs->buf = kcalloc(num_bufs, sizeof(void *), GFP_KERNEL); num_bufs 949 drivers/media/usb/em28xx/em28xx-core.c for (i = 0; i < usb_bufs->num_bufs; i++) { num_bufs 1007 drivers/media/usb/em28xx/em28xx-core.c int xfer_bulk, int num_bufs, int max_pkt_size, num_bufs 1033 drivers/media/usb/em28xx/em28xx-core.c rc = em28xx_alloc_urbs(dev, mode, xfer_bulk, num_bufs, num_bufs 1056 drivers/media/usb/em28xx/em28xx-core.c for (i = 0; i < usb_bufs->num_bufs; i++) { num_bufs 229 drivers/media/usb/em28xx/em28xx.h int num_bufs; num_bufs 825 drivers/media/usb/em28xx/em28xx.h int num_bufs, int max_pkt_size, int packet_multiplier); num_bufs 828 drivers/media/usb/em28xx/em28xx.h int num_bufs, int max_pkt_size, int packet_multiplier, num_bufs 227 drivers/media/usb/stk1160/stk1160-v4l.c if (!dev->isoc_ctl.num_bufs || new_pkt_size) { num_bufs 234 drivers/media/usb/stk1160/stk1160-v4l.c for (i = 0; i < dev->isoc_ctl.num_bufs; i++) { num_bufs 332 drivers/media/usb/stk1160/stk1160-video.c int i, num_bufs = dev->isoc_ctl.num_bufs; num_bufs 338 drivers/media/usb/stk1160/stk1160-video.c if (!num_bufs) num_bufs 341 drivers/media/usb/stk1160/stk1160-video.c stk1160_dbg("killing %d urbs...\n", num_bufs); num_bufs 343 drivers/media/usb/stk1160/stk1160-video.c for (i = 0; i < num_bufs; i++) { num_bufs 363 drivers/media/usb/stk1160/stk1160-video.c int i, num_bufs = dev->isoc_ctl.num_bufs; num_bufs 365 drivers/media/usb/stk1160/stk1160-video.c stk1160_dbg("freeing %d urb buffers...\n", num_bufs); num_bufs 367 drivers/media/usb/stk1160/stk1160-video.c for (i = 0; i < num_bufs; i++) { num_bufs 393 drivers/media/usb/stk1160/stk1160-video.c dev->isoc_ctl.num_bufs = 0; num_bufs 414 drivers/media/usb/stk1160/stk1160-video.c int i, j, k, sb_size, max_packets, num_bufs; num_bufs 421 drivers/media/usb/stk1160/stk1160-video.c if (dev->isoc_ctl.num_bufs) num_bufs 426 drivers/media/usb/stk1160/stk1160-video.c num_bufs = STK1160_NUM_BUFS; num_bufs 432 drivers/media/usb/stk1160/stk1160-video.c dev->isoc_ctl.urb = kcalloc(num_bufs, sizeof(void *), GFP_KERNEL); num_bufs 438 drivers/media/usb/stk1160/stk1160-video.c dev->isoc_ctl.transfer_buffer = kcalloc(num_bufs, sizeof(void *), num_bufs 447 drivers/media/usb/stk1160/stk1160-video.c for (i = 0; i < num_bufs; i++) { num_bufs 498 drivers/media/usb/stk1160/stk1160-video.c stk1160_dbg("%d urbs allocated\n", num_bufs); num_bufs 501 drivers/media/usb/stk1160/stk1160-video.c dev->isoc_ctl.num_bufs = num_bufs; num_bufs 516 drivers/media/usb/stk1160/stk1160-video.c dev->isoc_ctl.num_bufs = i - 1; num_bufs 522 drivers/media/usb/stk1160/stk1160-video.c dev->isoc_ctl.num_bufs = i+1; num_bufs 92 drivers/media/usb/stk1160/stk1160.h int num_bufs; num_bufs 17 drivers/media/usb/tm6000/tm6000-usb-isoc.h int num_bufs; num_bufs 458 drivers/media/usb/tm6000/tm6000-video.c int num_bufs = TM6000_NUM_URB_BUF; num_bufs 464 drivers/media/usb/tm6000/tm6000-video.c dev->urb_buffer = kmalloc_array(num_bufs, sizeof(void *), GFP_KERNEL); num_bufs 468 drivers/media/usb/tm6000/tm6000-video.c dev->urb_dma = kmalloc_array(num_bufs, sizeof(dma_addr_t *), num_bufs 473 drivers/media/usb/tm6000/tm6000-video.c for (i = 0; i < num_bufs; i++) { num_bufs 524 drivers/media/usb/tm6000/tm6000-video.c for (i = 0; i < dev->isoc_ctl.num_bufs; i++) { num_bufs 543 drivers/media/usb/tm6000/tm6000-video.c dev->isoc_ctl.num_bufs = 0; num_bufs 553 drivers/media/usb/tm6000/tm6000-video.c int num_bufs = TM6000_NUM_URB_BUF; num_bufs 583 drivers/media/usb/tm6000/tm6000-video.c dev->isoc_ctl.num_bufs = num_bufs; num_bufs 585 drivers/media/usb/tm6000/tm6000-video.c dev->isoc_ctl.urb = kmalloc_array(num_bufs, sizeof(void *), num_bufs 590 drivers/media/usb/tm6000/tm6000-video.c dev->isoc_ctl.transfer_buffer = kmalloc_array(num_bufs, num_bufs 599 drivers/media/usb/tm6000/tm6000-video.c max_packets, num_bufs, sb_size, num_bufs 614 drivers/media/usb/tm6000/tm6000-video.c for (i = 0; i < dev->isoc_ctl.num_bufs; i++) { num_bufs 653 drivers/media/usb/tm6000/tm6000-video.c for (i = 0; i < dev->isoc_ctl.num_bufs; i++) { num_bufs 750 drivers/media/usb/tm6000/tm6000-video.c if (!dev->isoc_ctl.num_bufs) { num_bufs 377 drivers/net/ethernet/amazon/ena/ena_eth_com.c u16 num_bufs = ena_tx_ctx->num_bufs; num_bufs 386 drivers/net/ethernet/amazon/ena/ena_eth_com.c if (unlikely(!ena_com_sq_have_enough_space(io_sq, num_bufs + 1))) { num_bufs 414 drivers/net/ethernet/amazon/ena/ena_eth_com.c if (unlikely(!num_bufs && !header_len)) { num_bufs 471 drivers/net/ethernet/amazon/ena/ena_eth_com.c for (i = 0; i < num_bufs; i++) { num_bufs 49 drivers/net/ethernet/amazon/ena/ena_eth_com.h u16 num_bufs; num_bufs 157 drivers/net/ethernet/amazon/ena/ena_eth_com.h num_descs = ena_tx_ctx->num_bufs; num_bufs 2283 drivers/net/ethernet/amazon/ena/ena_netdev.c ena_tx_ctx.num_bufs = tx_info->num_of_bufs; num_bufs 226 drivers/net/ethernet/sfc/falcon/rx.c unsigned int num_bufs) num_bufs 234 drivers/net/ethernet/sfc/falcon/rx.c } while (--num_bufs); num_bufs 226 drivers/net/ethernet/sfc/rx.c unsigned int num_bufs) num_bufs 234 drivers/net/ethernet/sfc/rx.c } while (--num_bufs); num_bufs 60 drivers/rpmsg/virtio_rpmsg_bus.c unsigned int num_bufs; num_bufs 453 drivers/rpmsg/virtio_rpmsg_bus.c if (vrp->last_sbuf < vrp->num_bufs / 2) num_bufs 906 drivers/rpmsg/virtio_rpmsg_bus.c vrp->num_bufs = virtqueue_get_vring_size(vrp->rvq) * 2; num_bufs 908 drivers/rpmsg/virtio_rpmsg_bus.c vrp->num_bufs = MAX_RPMSG_NUM_BUFS; num_bufs 912 drivers/rpmsg/virtio_rpmsg_bus.c total_buf_space = vrp->num_bufs * vrp->buf_size; num_bufs 933 drivers/rpmsg/virtio_rpmsg_bus.c for (i = 0; i < vrp->num_bufs / 2; i++) { num_bufs 1002 drivers/rpmsg/virtio_rpmsg_bus.c size_t total_buf_space = vrp->num_bufs * vrp->buf_size;