/linux-master/fs/ |
H A D | splice.c | 217 struct pipe_buffer *buf = &pipe->bufs[head & mask]; 259 pipe->bufs[head & mask] = *buf; 454 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; 499 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; 719 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; 755 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; 852 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; 897 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; 1144 struct pipe_buffer *buf = &pipe->bufs[i]; 1813 ibuf = &ipipe->bufs[i_tai [all...] |
/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); 2029 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/media/common/videobuf2/ |
H A D | videobuf2-core.c | 426 q->bufs[index] = vb; 439 vb->vb2_queue->bufs[vb->index] = NULL; 836 if (!q->bufs) 837 q->bufs = kcalloc(q->max_num_buffers, sizeof(*q->bufs), GFP_KERNEL); 838 if (!q->bufs) 844 kfree(q->bufs); 845 q->bufs = NULL; 854 kfree(q->bufs); 855 q->bufs 2797 struct vb2_fileio_buf bufs[VB2_MAX_FRAME]; member in struct:vb2_fileio_data [all...] |
/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 | 1183 void __user **bufs, snd_pcm_uframes_t frames) 1185 return __snd_pcm_lib_xfer(substream, (void *)bufs, false, frames, false); 1190 void __user **bufs, snd_pcm_uframes_t frames) 1192 return __snd_pcm_lib_xfer(substream, (void *)bufs, false, frames, false); 1211 void **bufs, snd_pcm_uframes_t frames) 1213 return __snd_pcm_lib_xfer(substream, bufs, false, frames, true); 1218 void **bufs, snd_pcm_uframes_t frames) 1220 return __snd_pcm_lib_xfer(substream, bufs, false, frames, true); 1182 snd_pcm_lib_writev(struct snd_pcm_substream *substream, void __user **bufs, snd_pcm_uframes_t frames) argument 1189 snd_pcm_lib_readv(struct snd_pcm_substream *substream, void __user **bufs, snd_pcm_uframes_t frames) argument 1210 snd_pcm_kernel_writev(struct snd_pcm_substream *substream, void **bufs, snd_pcm_uframes_t frames) argument 1217 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; 1885 if (q->bufs[j]) 1894 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 | 281 void *bufs; local 284 bufs = mmap(NULL, umem_sz, PROT_READ | PROT_WRITE, mmap_flags, -1, 0); 285 if (bufs == MAP_FAILED) 290 munmap(bufs, umem_sz); 294 ret = xsk_configure_umem(ifobject, umem, bufs, umem_sz); 1658 void *bufs; local 1668 bufs = mmap(NULL, umem_sz, PROT_READ | PROT_WRITE, mmap_flags, -1, 0); 1669 if (bufs == MAP_FAILED) 1672 ret = xsk_configure_umem(ifobject, ifobject->umem, bufs, umem_sz); 2290 void *bufs; local [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);
|