/drivers/misc/sgi-gru/ |
H A D | grutables.h | 118 * |--> vma -> vdata ---> gts--->| GSEG1 (thread1) 122 * |--> vma -> vdata ---> gts--->| GSEG2 (thread2) 132 * vma -> vdata 135 * vma -> vdata ->gts 139 * vma -> vdata -> gts 141 * (vma is not copied) 333 * structure is pointed to by the vma->vm_private_data field in the vma struct. 336 spinlock_t vd_lock; /* Serialize access to vma */ 349 struct list_head ts_next; /* list - head at vma [all...] |
/drivers/video/fbdev/ |
H A D | 68328fb.c | 97 static int mc68x328fb_mmap(struct fb_info *info, struct vm_area_struct *vma); 392 static int mc68x328fb_mmap(struct fb_info *info, struct vm_area_struct *vma) argument 397 vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; 398 vma->vm_start = videomemory;
|
H A D | controlfb.c | 132 struct vm_area_struct *vma); 288 struct vm_area_struct *vma) 297 if (vma->vm_pgoff >= mmio_pgoff) { 300 vma->vm_pgoff -= mmio_pgoff; 303 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); 306 vma->vm_page_prot = pgprot_cached_wthru(vma->vm_page_prot); 309 return vm_iomap_memory(vma, start, len); 287 controlfb_mmap(struct fb_info *info, struct vm_area_struct *vma) argument
|
H A D | au1100fb.c | 362 int au1100fb_fb_mmap(struct fb_info *fbi, struct vm_area_struct *vma) argument 368 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); 369 pgprot_val(vma->vm_page_prot) |= (6 << 9); //CCA=6 371 return vm_iomap_memory(vma, fbdev->fb_phys, fbdev->fb_len);
|
H A D | sa1100fb.c | 561 struct vm_area_struct *vma) 565 unsigned long off = vma->vm_pgoff << PAGE_SHIFT; 568 vma->vm_pgoff += 1; /* skip over the palette */ 569 return dma_mmap_writecombine(fbi->dev, vma, fbi->map_cpu, 573 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); 575 return vm_iomap_memory(vma, info->fix.mmio_start, info->fix.mmio_len); 560 sa1100fb_mmap(struct fb_info *info, struct vm_area_struct *vma) argument
|
/drivers/usb/mon/ |
H A D | mon_bin.c | 1209 static void mon_bin_vma_open(struct vm_area_struct *vma) argument 1211 struct mon_reader_bin *rp = vma->vm_private_data; 1215 static void mon_bin_vma_close(struct vm_area_struct *vma) argument 1217 struct mon_reader_bin *rp = vma->vm_private_data; 1224 static int mon_bin_vma_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 1226 struct mon_reader_bin *rp = vma->vm_private_data; 1246 static int mon_bin_mmap(struct file *filp, struct vm_area_struct *vma) argument 1249 vma->vm_ops = &mon_bin_vm_ops; 1250 vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; 1251 vma [all...] |
/drivers/char/agp/ |
H A D | alpha-agp.c | 14 static int alpha_core_agp_vm_fault(struct vm_area_struct *vma, argument 22 dma_addr = (unsigned long)vmf->virtual_address - vma->vm_start
|
/drivers/gpu/drm/i915/ |
H A D | i915_gem_gtt.h | 131 /** This vma's place in the batchbuffer or on the eviction list */ 156 void (*unbind_vma)(struct i915_vma *vma); 160 void (*bind_vma)(struct i915_vma *vma,
|
/drivers/gpu/drm/msm/ |
H A D | msm_drv.h | 157 int msm_gem_mmap(struct file *filp, struct vm_area_struct *vma); 158 int msm_gem_fault(struct vm_area_struct *vma, struct vm_fault *vmf);
|
/drivers/gpu/drm/nouveau/core/subdev/vm/ |
H A D | nv44.c | 87 nv44_vm_map_sg(struct nouveau_vma *vma, struct nouveau_gpuobj *pgt, argument 90 struct nv04_vmmgr_priv *priv = (void *)vma->vm->vmm;
|
H A D | nv41.c | 41 nv41_vm_map_sg(struct nouveau_vma *vma, struct nouveau_gpuobj *pgt, argument
|
/drivers/staging/android/ion/ |
H A D | ion_cma_heap.c | 157 struct vm_area_struct *vma) 163 return dma_mmap_coherent(dev, vma, info->cpu_addr, info->handle, 156 ion_cma_mmap(struct ion_heap *mapper, struct ion_buffer *buffer, struct vm_area_struct *vma) argument
|
/drivers/gpu/drm/armada/ |
H A D | armada_gem.c | 17 static int armada_gem_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 19 struct armada_gem_object *obj = drm_to_armada_gem(vma->vm_private_data); 24 pfn += (addr - vma->vm_start) >> PAGE_SHIFT; 25 ret = vm_insert_pfn(vma, addr, pfn); 521 armada_gem_dmabuf_mmap(struct dma_buf *buf, struct vm_area_struct *vma) argument
|
/drivers/staging/media/omap24xx/ |
H A D | omap24xxcam.c | 1364 struct vm_area_struct *vma) 1386 if (vbq->bufs[first]->boff == (vma->vm_pgoff << PAGE_SHIFT)) 1397 if (size == (vma->vm_end - vma->vm_start)) 1407 vma, vma->vm_start + size, 1409 sg_dma_len(&dma->sglist[j]), vma->vm_page_prot); 1422 static int omap24xxcam_mmap(struct file *file, struct vm_area_struct *vma) argument 1428 rval = videobuf_mmap_mapper(&fh->vbq, vma); 1432 vma 1363 omap24xxcam_mmap_buffers(struct file *file, struct vm_area_struct *vma) argument [all...] |
/drivers/scsi/ |
H A D | sg.c | 1231 sg_vma_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 1238 if ((NULL == vma) || (!(sfp = (Sg_fd *) vma->vm_private_data))) 1247 sa = vma->vm_start; 1249 for (k = 0; k < rsv_schp->k_use_sg && sa < vma->vm_end; k++) { 1250 len = vma->vm_end - sa; 1271 sg_mmap(struct file *filp, struct vm_area_struct *vma) argument 1278 if ((!filp) || (!vma) || (!(sfp = (Sg_fd *) filp->private_data))) 1280 req_sz = vma->vm_end - vma [all...] |
/drivers/char/ |
H A D | mbcs.c | 500 static int mbcs_gscr_mmap(struct file *fp, struct vm_area_struct *vma) argument 505 if (vma->vm_pgoff != 0) 508 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); 511 if (remap_pfn_range(vma, 512 vma->vm_start, 515 vma->vm_page_prot))
|
/drivers/gpu/drm/ast/ |
H A D | ast_ttm.c | 424 int ast_mmap(struct file *filp, struct vm_area_struct *vma) argument 429 if (unlikely(vma->vm_pgoff < DRM_FILE_PAGE_OFFSET)) 434 return ttm_bo_mmap(filp, vma, &ast->ttm.bdev);
|
/drivers/gpu/drm/bochs/ |
H A D | bochs_mm.c | 336 int bochs_mmap(struct file *filp, struct vm_area_struct *vma) argument 341 if (unlikely(vma->vm_pgoff < DRM_FILE_PAGE_OFFSET)) 346 return ttm_bo_mmap(filp, vma, &bochs->ttm.bdev);
|
H A D | bochs.h | 139 int bochs_mmap(struct file *filp, struct vm_area_struct *vma);
|
/drivers/gpu/drm/cirrus/ |
H A D | cirrus_ttm.c | 408 int cirrus_mmap(struct file *filp, struct vm_area_struct *vma) argument 413 if (unlikely(vma->vm_pgoff < DRM_FILE_PAGE_OFFSET)) 418 return ttm_bo_mmap(filp, vma, &cirrus->ttm.bdev);
|
/drivers/gpu/drm/mgag200/ |
H A D | mgag200_ttm.c | 425 int mgag200_mmap(struct file *filp, struct vm_area_struct *vma) argument 430 if (unlikely(vma->vm_pgoff < DRM_FILE_PAGE_OFFSET)) 435 return ttm_bo_mmap(filp, vma, &mdev->ttm.bdev);
|
/drivers/md/ |
H A D | dm-io.c | 468 flush_kernel_vmap_range(io_req->mem.ptr.vma, size); 470 dp->vma_invalidate_address = io_req->mem.ptr.vma; 473 vm_dp_init(dp, io_req->mem.ptr.vma);
|
/drivers/pci/ |
H A D | proc.c | 230 static int proc_bus_pci_mmap(struct file *file, struct vm_area_struct *vma) argument 241 if (pci_mmap_fits(dev, i, vma, PCI_MMAP_PROCFS)) 248 ret = pci_mmap_page_range(dev, vma,
|
/drivers/gpu/drm/nouveau/core/include/subdev/ |
H A D | fb.h | 31 struct nouveau_vma vma[2]; member in struct:nouveau_mem
|
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_dma.h | 143 nvif_wr32(chan, chan->user_put, ((val) << 2) + chan->push.vma.offset); \
|