/linux-master/fs/fuse/ |
H A D | dev.c | 1376 struct pipe_buffer *bufs; local 1383 bufs = kvmalloc_array(pipe->max_usage, sizeof(struct pipe_buffer), 1385 if (!bufs) 1389 cs.pipebufs = bufs; 1405 bufs[page_nr].ops = &nosteal_pipe_buf_ops; 1406 bufs[page_nr].flags = 0; 1407 ret = add_to_pipe(pipe, &bufs[page_nr++]); 1415 put_page(bufs[page_nr].page); 1417 kvfree(bufs); 2028 struct pipe_buffer *bufs; local [all...] |
/linux-master/drivers/net/ethernet/mscc/ |
H A D | ocelot_fdma.c | 160 rxb = &rx_ring->bufs[idx]; 301 new_rxb = &rx_ring->bufs[rx_ring->next_to_alloc]; 420 rxb = &rx_ring->bufs[idx]; 506 buf = &tx_ring->bufs[ntc]; 617 tx_buf = &tx_ring->bufs[tx_ring->next_to_use]; 711 rxb = &rx_ring->bufs[idx]; 734 txb = &tx_ring->bufs[idx];
|
/linux-master/drivers/dma/ |
H A D | dmatest.c | 343 static void dmatest_init_srcs(u8 **bufs, unsigned int start, unsigned int len, argument 349 for (; (buf = *bufs); bufs++) { 360 static void dmatest_init_dsts(u8 **bufs, unsigned int start, unsigned int len, argument 366 for (; (buf = *bufs); bufs++) { 399 static unsigned int dmatest_verify(u8 **bufs, unsigned int start, argument 410 for (; (buf = *bufs); bufs++) {
|
/linux-master/drivers/staging/octeon/ |
H A D | ethernet-rx.c | 144 int segments = work->word2.s.bufs; 260 skb_in_hw = work->word2.s.bufs == 1; 307 if (unlikely(work->word2.s.bufs == 0)) {
|
/linux-master/drivers/staging/media/ipu3/ |
H A D | ipu3-css.h | 99 struct list_head bufs; member in struct:imgu_css_queue
|
/linux-master/drivers/scsi/fnic/ |
H A D | vnic_rq.h | 85 struct vnic_rq_buf *bufs[VNIC_RQ_BUF_BLKS_MAX]; member in struct:vnic_rq
|
H A D | vnic_wq.h | 80 struct vnic_wq_buf *bufs[VNIC_WQ_BUF_BLKS_MAX]; member in struct:vnic_wq
|
/linux-master/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_rq.h | 77 struct vnic_rq_buf *bufs[VNIC_RQ_BUF_BLKS_MAX]; member in struct:vnic_rq
|
H A D | vnic_wq.h | 72 struct vnic_wq_buf *bufs[VNIC_WQ_BUF_BLKS_MAX]; member in struct:vnic_wq
|
/linux-master/drivers/scsi/snic/ |
H A D | vnic_wq.h | 65 struct vnic_wq_buf *bufs[VNIC_WQ_BUF_BLKS_MAX]; member in struct:vnic_wq
|
/linux-master/drivers/scsi/arm/ |
H A D | eesox.c | 168 int bufs, map_dir, dma_dir; local 170 bufs = copy_SCp_to_sg(&info->sg[0], SCp, NR_SG); 180 dma_map_sg(dev, info->sg, bufs, map_dir); 183 set_dma_sg(dmach, info->sg, bufs);
|
/linux-master/arch/x86/include/asm/xen/ |
H A D | hypercall.h | 495 domid_t dom, unsigned int nr_bufs, struct xen_dm_op_buf *bufs) 499 ret = _hypercall3(int, dm_op, dom, nr_bufs, bufs); 494 HYPERVISOR_dm_op( domid_t dom, unsigned int nr_bufs, struct xen_dm_op_buf *bufs) argument
|
/linux-master/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_dev.h | 210 struct ionic_buf_info bufs[MAX_SKB_FRAGS + 1]; member in struct:ionic_tx_desc_info 215 struct ionic_buf_info bufs[IONIC_RX_MAX_FRAGS]; member in struct:ionic_rx_desc_info
|
/linux-master/include/sound/ |
H A D | pcm.h | 1178 void __user **bufs, snd_pcm_uframes_t frames) 1180 return __snd_pcm_lib_xfer(substream, (void *)bufs, false, frames, false); 1185 void __user **bufs, snd_pcm_uframes_t frames) 1187 return __snd_pcm_lib_xfer(substream, (void *)bufs, false, frames, false); 1206 void **bufs, snd_pcm_uframes_t frames) 1208 return __snd_pcm_lib_xfer(substream, bufs, false, frames, true); 1213 void **bufs, snd_pcm_uframes_t frames) 1215 return __snd_pcm_lib_xfer(substream, bufs, false, frames, true); 1177 snd_pcm_lib_writev(struct snd_pcm_substream *substream, void __user **bufs, snd_pcm_uframes_t frames) argument 1184 snd_pcm_lib_readv(struct snd_pcm_substream *substream, void __user **bufs, snd_pcm_uframes_t frames) argument 1205 snd_pcm_kernel_writev(struct snd_pcm_substream *substream, void **bufs, snd_pcm_uframes_t frames) argument 1212 snd_pcm_kernel_readv(struct snd_pcm_substream *substream, void **bufs, snd_pcm_uframes_t frames) argument
|
/linux-master/drivers/staging/media/rkvdec/ |
H A D | rkvdec.c | 673 run->bufs.src = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); 674 run->bufs.dst = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); 677 src_req = run->bufs.src->vb2_buf.req_obj.req; 681 v4l2_m2m_buf_copy_metadata(run->bufs.src, run->bufs.dst, true); 686 struct media_request *src_req = run->bufs.src->vb2_buf.req_obj.req;
|
/linux-master/drivers/media/usb/usbtv/ |
H A D | usbtv-video.c | 420 if (list_empty(&usbtv->bufs)) { 427 buf = list_first_entry(&usbtv->bufs, struct usbtv_buf, list); 549 while (!list_empty(&usbtv->bufs)) { 550 struct usbtv_buf *buf = list_first_entry(&usbtv->bufs, 754 list_add_tail(&buf->list, &usbtv->bufs); 891 INIT_LIST_HEAD(&usbtv->bufs);
|
/linux-master/drivers/media/pci/intel/ipu3/ |
H A D | ipu3-cio2.c | 563 b = q->bufs[q->bufs_first]; 569 q->bufs[q->bufs_first] = NULL; 788 if (q->bufs[i]) { 790 vb2_buffer_done(&q->bufs[i]->vbb.vb2_buf, 792 q->bufs[i] = NULL; 823 q->bufs[i] = NULL; 941 if (!q->bufs[next]) { 942 q->bufs[next] = b; 1896 if (q->bufs[j]) 1905 arrange(q->bufs, sizeo [all...] |
/linux-master/drivers/scsi/csiostor/ |
H A D | csio_wr.c | 120 struct csio_dma_buf *buf = &flq->un.fl.bufs[0]; 281 flq->un.fl.bufs = kcalloc(flq->credits, 284 if (!flq->un.fl.bufs) { 286 "Failed to allocate FL queue bufs" 1074 buf = &flq->un.fl.bufs[flq->cidx]; 1698 if (!q->un.fl.bufs) 1701 buf = &q->un.fl.bufs[j]; 1708 kfree(q->un.fl.bufs);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | xskxceiver.c | 276 void *bufs; local 279 bufs = mmap(NULL, umem_sz, PROT_READ | PROT_WRITE, mmap_flags, -1, 0); 280 if (bufs == MAP_FAILED) 285 munmap(bufs, umem_sz); 289 ret = xsk_configure_umem(ifobject, umem, bufs, umem_sz); 1620 void *bufs; local 1630 bufs = mmap(NULL, umem_sz, PROT_READ | PROT_WRITE, mmap_flags, -1, 0); 1631 if (bufs == MAP_FAILED) 1634 ret = xsk_configure_umem(ifobject, ifobject->umem, bufs, umem_sz); 2244 void *bufs; local [all...] |
/linux-master/block/ |
H A D | blk-throttle.c | 1497 char bufs[4][21] = { "max", "max", "max", "max" }; local 1524 snprintf(bufs[0], sizeof(bufs[0]), "%llu", 1527 snprintf(bufs[1], sizeof(bufs[1]), "%llu", 1530 snprintf(bufs[2], sizeof(bufs[2]), "%u", 1533 snprintf(bufs[3], sizeof(bufs[3]), "%u", 1550 dname, bufs[ [all...] |
/linux-master/sound/oss/dmasound/ |
H A D | dmasound_core.c | 953 static int set_queue_frags(struct sound_queue *sq, int bufs, int size) argument 968 if (bufs <= 0) 970 if (bufs > sq->numBufs) /* the user is allowed say "don't care" with 0x7fff */ 971 bufs = sq->numBufs ; 979 sq->max_active = bufs ;
|
/linux-master/drivers/media/pci/pt1/ |
H A D | pt1.c | 60 struct pt1_buffer bufs[PT1_NR_BUFS]; member in struct:pt1_table 508 page = pt1->tables[pt1->table_index].bufs[pt1->buf_index].page; 581 pt1_cleanup_buffer(pt1, &table->bufs[i]); 599 ret = pt1_init_buffer(pt1, &table->bufs[i], &buf_pfn); 613 pt1_cleanup_buffer(pt1, &table->bufs[i]); 1285 pt1->tables[i].bufs[j].page->upackets[PT1_NR_UPACKETS-1]
|
/linux-master/drivers/tty/ |
H A D | synclink_gt.c | 297 char *bufs; /* virtual address of DMA buffer lists */ member in struct:slgt_info 1760 struct slgt_desc *bufs = info->rbufs; local 1768 while(desc_complete(bufs[end])) { 1769 count = desc_count(bufs[end]) - info->rbuf_index; 1770 p = bufs[end].buf + info->rbuf_index; 3264 info->bufs = dma_alloc_coherent(&info->pdev->dev, DESC_LIST_SIZE, 3266 if (info->bufs == NULL) 3269 info->rbufs = (struct slgt_desc*)info->bufs; 3270 info->tbufs = ((struct slgt_desc*)info->bufs) + info->rbuf_count; 3306 if (info->bufs ! 3315 alloc_bufs(struct slgt_info *info, struct slgt_desc *bufs, int count) argument 3328 free_bufs(struct slgt_info *info, struct slgt_desc *bufs, int count) argument [all...] |
/linux-master/drivers/media/pci/cobalt/ |
H A D | cobalt-v4l2.c | 112 list_for_each_entry(cb, &s->bufs, list) { 134 list_add_tail(&cb->list, &s->bufs); 272 cb = list_first_entry(&s->bufs, struct cobalt_buffer, list); 367 list_for_each_entry(cb, &s->bufs, list) { 400 list_for_each_safe(p, safe, &s->bufs) { 1253 INIT_LIST_HEAD(&s->bufs);
|
/linux-master/sound/core/ |
H A D | pcm_native.c | 3224 void *bufs __free(kfree) = NULL; 3236 bufs = memdup_user(xfern.bufs, sizeof(void *) * runtime->channels); 3237 if (IS_ERR(bufs)) 3238 return PTR_ERR(no_free_ptr(bufs)); 3240 result = snd_pcm_lib_writev(substream, bufs, xfern.frames); 3242 result = snd_pcm_lib_readv(substream, bufs, xfern.frames); 3510 void __user **bufs __free(kfree) = NULL; 3529 bufs = kmalloc_array(to->nr_segs, sizeof(void *), GFP_KERNEL); 3530 if (bufs [all...] |