Searched refs:vma (Results 126 - 150 of 272) sorted by relevance

1234567891011

/drivers/misc/sgi-gru/
H A Dgrutables.h118 * |--> 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 D68328fb.c97 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 Dcontrolfb.c132 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 Dau1100fb.c362 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 Dsa1100fb.c561 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 Dmon_bin.c1209 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 Dalpha-agp.c14 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 Di915_gem_gtt.h131 /** 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 Dmsm_drv.h157 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 Dnv44.c87 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 Dnv41.c41 nv41_vm_map_sg(struct nouveau_vma *vma, struct nouveau_gpuobj *pgt, argument
/drivers/staging/android/ion/
H A Dion_cma_heap.c157 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 Darmada_gem.c17 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 Domap24xxcam.c1364 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 Dsg.c1231 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 Dmbcs.c500 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 Dast_ttm.c424 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 Dbochs_mm.c336 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 Dbochs.h139 int bochs_mmap(struct file *filp, struct vm_area_struct *vma);
/drivers/gpu/drm/cirrus/
H A Dcirrus_ttm.c408 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 Dmgag200_ttm.c425 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 Ddm-io.c468 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 Dproc.c230 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 Dfb.h31 struct nouveau_vma vma[2]; member in struct:nouveau_mem
/drivers/gpu/drm/nouveau/
H A Dnouveau_dma.h143 nvif_wr32(chan, chan->user_put, ((val) << 2) + chan->push.vma.offset); \

Completed in 8945 milliseconds

1234567891011