Searched refs:vma (Results 176 - 200 of 272) sorted by relevance

1234567891011

/drivers/infiniband/hw/mthca/
H A Dmthca_provider.c356 struct vm_area_struct *vma)
358 if (vma->vm_end - vma->vm_start != PAGE_SIZE)
361 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
363 if (io_remap_pfn_range(vma, vma->vm_start,
365 PAGE_SIZE, vma->vm_page_prot))
355 mthca_mmap_uar(struct ib_ucontext *context, struct vm_area_struct *vma) argument
/drivers/media/platform/
H A Dvino.c3837 static void vino_vm_open(struct vm_area_struct *vma) argument
3839 struct vino_framebuffer *fb = vma->vm_private_data;
3845 static void vino_vm_close(struct vm_area_struct *vma) argument
3847 struct vino_framebuffer *fb = vma->vm_private_data;
3858 static int vino_mmap(struct file *file, struct vm_area_struct *vma) argument
3862 unsigned long start = vma->vm_start;
3863 unsigned long size = vma->vm_end - vma->vm_start;
3864 unsigned long offset = vma->vm_pgoff << PAGE_SHIFT;
3884 if (!(vma
[all...]
/drivers/usb/gadget/function/
H A Duvc_v4l2.c326 uvc_v4l2_mmap(struct file *file, struct vm_area_struct *vma) argument
331 return uvcg_queue_mmap(&uvc->video.queue, vma);
/drivers/video/fbdev/
H A Dbw2.c162 static int bw2_mmap(struct fb_info *info, struct vm_area_struct *vma) argument
169 vma);
H A Dcg3.c226 static int cg3_mmap(struct fb_info *info, struct vm_area_struct *vma) argument
233 vma);
H A Dtcx.c300 static int tcx_mmap(struct fb_info *info, struct vm_area_struct *vma) argument
306 par->which_io, vma);
H A Dfb-puv3.c643 struct vm_area_struct *vma)
645 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
647 return vm_iomap_memory(vma, info->fix.smem_start, info->fix.smem_len);
642 unifb_mmap(struct fb_info *info, struct vm_area_struct *vma) argument
H A Dsmscufx.c778 static int ufx_ops_mmap(struct fb_info *info, struct vm_area_struct *vma) argument
780 unsigned long start = vma->vm_start;
781 unsigned long size = vma->vm_end - vma->vm_start;
782 unsigned long offset = vma->vm_pgoff << PAGE_SHIFT;
785 if (vma->vm_pgoff > (~0UL >> PAGE_SHIFT))
799 if (remap_pfn_range(vma, start, page, PAGE_SIZE, PAGE_SHARED))
H A Dudlfb.c320 static int dlfb_ops_mmap(struct fb_info *info, struct vm_area_struct *vma) argument
322 unsigned long start = vma->vm_start;
323 unsigned long size = vma->vm_end - vma->vm_start;
324 unsigned long offset = vma->vm_pgoff << PAGE_SHIFT;
327 if (vma->vm_pgoff > (~0UL >> PAGE_SHIFT))
341 if (remap_pfn_range(vma, start, page, PAGE_SIZE, PAGE_SHARED))
/drivers/video/fbdev/core/
H A Dfbmem.c1392 fb_mmap(struct file *file, struct vm_area_struct * vma) argument
1408 res = fb->fb_mmap(info, vma);
1420 if (vma->vm_pgoff >= mmio_pgoff) {
1426 vma->vm_pgoff -= mmio_pgoff;
1432 vma->vm_page_prot = vm_get_page_prot(vma->vm_flags);
1433 fb_pgprotect(file, vma, start);
1435 return vm_iomap_memory(vma, start, len);
/drivers/staging/comedi/
H A Dcomedi_fops.c1901 static int comedi_mmap(struct file *file, struct vm_area_struct *vma) argument
1908 unsigned long start = vma->vm_start;
1929 if (vma->vm_flags & VM_WRITE)
1944 if (vma->vm_pgoff != 0) {
1950 size = vma->vm_end - vma->vm_start;
1971 if (remap_pfn_range(vma, start,
1980 vma->vm_ops = &comedi_vm_ops;
1981 vma->vm_private_data = bm;
1983 vma
[all...]
/drivers/video/fbdev/omap2/omapfb/
H A Domapfb-main.c1076 static void mmap_user_open(struct vm_area_struct *vma) argument
1078 struct omapfb2_mem_region *rg = vma->vm_private_data;
1085 static void mmap_user_close(struct vm_area_struct *vma) argument
1087 struct omapfb2_mem_region *rg = vma->vm_private_data;
1099 static int omapfb_mmap(struct fb_info *fbi, struct vm_area_struct *vma) argument
1114 vma->vm_pgoff << PAGE_SHIFT);
1116 vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot);
1117 vma->vm_ops = &mmap_user_ops;
1118 vma
[all...]
/drivers/firewire/
H A Dcore.h161 struct vm_area_struct *vma);
H A Dcore-cdev.c1671 static int fw_device_op_mmap(struct file *file, struct vm_area_struct *vma) argument
1684 if (!(vma->vm_flags & VM_SHARED))
1687 if (vma->vm_start & ~PAGE_MASK)
1690 client->vm_start = vma->vm_start;
1691 size = vma->vm_end - vma->vm_start;
1711 ret = fw_iso_buffer_map_vma(&client->buffer, vma);
/drivers/gpu/drm/cirrus/
H A Dcirrus_drv.h240 int cirrus_mmap(struct file *filp, struct vm_area_struct *vma);
/drivers/gpu/drm/exynos/
H A Dexynos_drm_dmabuf.c166 struct vm_area_struct *vma)
165 exynos_gem_dmabuf_mmap(struct dma_buf *dma_buf, struct vm_area_struct *vma) argument
/drivers/gpu/drm/i915/
H A Di915_gem_dmabuf.c194 static int i915_gem_dmabuf_mmap(struct dma_buf *dma_buf, struct vm_area_struct *vma) argument
/drivers/gpu/drm/mgag200/
H A Dmgag200_drv.h301 int mgag200_mmap(struct file *filp, struct vm_area_struct *vma);
/drivers/gpu/drm/nouveau/core/core/
H A Dengctx.c120 nouveau_gpuobj_unmap(&engctx->vma);
/drivers/gpu/drm/nouveau/core/engine/fifo/
H A Dnvc0.c134 if (!ectx->vma.node) {
136 NV_MEM_ACCESS_RW, &ectx->vma);
143 nv_wo32(base, addr + 0x00, lower_32_bits(ectx->vma.offset) | 4);
144 nv_wo32(base, addr + 0x04, upper_32_bits(ectx->vma.offset));
/drivers/gpu/drm/nouveau/core/engine/graph/
H A Dnvc0.h126 struct nouveau_vma vma; member in struct:nvc0_graph_chan::__anon824
/drivers/infiniband/hw/ehca/
H A Dehca_iverbs.h188 int ehca_mmap(struct ib_ucontext *context, struct vm_area_struct *vma);
/drivers/infiniband/hw/nes/
H A Dnes_verbs.c713 static int nes_mmap(struct ib_ucontext *context, struct vm_area_struct *vma) argument
725 if (vma->vm_pgoff >= nes_ucontext->mmap_wq_offset) {
726 index = (vma->vm_pgoff - nes_ucontext->mmap_wq_offset) * PAGE_SIZE;
738 if (remap_pfn_range(vma, vma->vm_start,
740 vma->vm_end - vma->vm_start,
741 vma->vm_page_prot)) {
745 vma->vm_private_data = nesqp;
748 index = vma
[all...]
/drivers/staging/android/ion/
H A Dion_priv.h57 * @vmas: list of vma's mapping this buffer
125 struct vm_area_struct *vma);
/drivers/video/adf/
H A Dadf_fbdev.c564 int adf_fbdev_mmap(struct fb_info *info, struct vm_area_struct *vma) argument
568 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
569 return dma_buf_mmap(fbdev->dma_buf, vma, 0);

Completed in 8378 milliseconds

1234567891011