Home
last modified time | relevance | path

Searched refs:vmf (Results 1 – 17 of 17) sorted by relevance

/drivers/gpu/drm/
Ddrm_vm.c90 static int drm_do_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_do_vm_fault() argument
118 unsigned long offset = (unsigned long)vmf->virtual_address - in drm_do_vm_fault()
149 vmf->page = page; in drm_do_vm_fault()
161 static int drm_do_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_do_vm_fault() argument
177 static int drm_do_vm_shm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_do_vm_shm_fault() argument
187 offset = (unsigned long)vmf->virtual_address - vma->vm_start; in drm_do_vm_shm_fault()
193 vmf->page = page; in drm_do_vm_shm_fault()
289 static int drm_do_vm_dma_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_do_vm_dma_fault() argument
303 offset = (unsigned long)vmf->virtual_address - vma->vm_start; /* vm_[pg]off[set] should be 0 */ in drm_do_vm_dma_fault()
308 vmf->page = page; in drm_do_vm_dma_fault()
[all …]
/drivers/ieee1394/
Ddma.c235 struct vm_fault *vmf) in dma_region_pagefault() argument
242 if (vmf->pgoff >= dma->n_pages) in dma_region_pagefault()
245 vmf->page = vmalloc_to_page(dma->kvirt + (vmf->pgoff << PAGE_SHIFT)); in dma_region_pagefault()
246 get_page(vmf->page); in dma_region_pagefault()
/drivers/video/
Dfb_defio.c42 struct vm_fault *vmf) in fb_deferred_io_fault() argument
48 offset = vmf->pgoff << PAGE_SHIFT; in fb_deferred_io_fault()
64 page->index = vmf->pgoff; in fb_deferred_io_fault()
66 vmf->page = page; in fb_deferred_io_fault()
/drivers/char/agp/
Dalpha-agp.c15 struct vm_fault *vmf) in alpha_core_agp_vm_fault() argument
22 dma_addr = (unsigned long)vmf->virtual_address - vma->vm_start in alpha_core_agp_vm_fault()
34 vmf->page = page; in alpha_core_agp_vm_fault()
/drivers/char/
Dmspec.c201 mspec_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in mspec_fault() argument
205 pgoff_t index = vmf->pgoff; in mspec_fault()
237 vm_insert_pfn(vma, (unsigned long)vmf->virtual_address, pfn); in mspec_fault()
/drivers/media/video/
Dvideobuf-dma-sg.c382 videobuf_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in videobuf_vm_fault() argument
387 (unsigned long)vmf->virtual_address,vma->vm_start,vma->vm_end); in videobuf_vm_fault()
391 clear_user_highpage(page, (unsigned long)vmf->virtual_address); in videobuf_vm_fault()
392 vmf->page = page; in videobuf_vm_fault()
/drivers/uio/
Duio.c613 static int uio_vma_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in uio_vma_fault() argument
627 offset = (vmf->pgoff - mi) << PAGE_SHIFT; in uio_vma_fault()
635 vmf->page = page; in uio_vma_fault()
/drivers/usb/mon/
Dmon_bin.c1081 static int mon_bin_vma_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in mon_bin_vma_fault() argument
1087 offset = vmf->pgoff << PAGE_SHIFT; in mon_bin_vma_fault()
1093 vmf->page = pageptr; in mon_bin_vma_fault()
/drivers/misc/sgi-gru/
Dgrumain.c760 int gru_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in gru_fault() argument
765 vaddr = (unsigned long)vmf->virtual_address; in gru_fault()
Dgrutables.h600 extern int gru_fault(struct vm_area_struct *, struct vm_fault *vmf);
/drivers/net/wireless/ath9k/
Dmac.c425 u32 vmf) in ath9k_hw_set11n_virtualmorefrag() argument
429 if (vmf) in ath9k_hw_set11n_virtualmorefrag()
Dath9k.h1036 u32 vmf);
/drivers/staging/go7007/
Dgo7007-v4l2.c1708 static int go7007_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in go7007_vm_fault() argument
1715 clear_user_highpage(page, (unsigned long)vmf->virtual_address); in go7007_vm_fault()
1716 vmf->page = page; in go7007_vm_fault()
/drivers/gpu/drm/i915/
Di915_gem.c557 int i915_gem_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in i915_gem_fault() argument
566 bool write = !!(vmf->flags & FAULT_FLAG_WRITE); in i915_gem_fault()
569 page_offset = ((unsigned long)vmf->virtual_address - vma->vm_start) >> in i915_gem_fault()
597 ret = vm_insert_pfn(vma, (unsigned long)vmf->virtual_address, pfn); in i915_gem_fault()
Di915_drv.h627 int i915_gem_fault(struct vm_area_struct *vma, struct vm_fault *vmf);
/drivers/infiniband/hw/ipath/
Dipath_file_ops.c1141 struct vm_fault *vmf) in ipath_file_vma_fault() argument
1145 page = vmalloc_to_page((void *)(vmf->pgoff << PAGE_SHIFT)); in ipath_file_vma_fault()
1149 vmf->page = page; in ipath_file_vma_fault()
/drivers/scsi/
Dsg.c1171 sg_vma_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in sg_vma_fault() argument
1181 offset = vmf->pgoff << PAGE_SHIFT; in sg_vma_fault()
1195 vmf->page = page; in sg_vma_fault()