/drivers/gpu/drm/ |
D | drm_vm.c | 90 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/ |
D | dma.c | 235 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/ |
D | fb_defio.c | 42 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/ |
D | alpha-agp.c | 15 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/ |
D | mspec.c | 201 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/ |
D | videobuf-dma-sg.c | 382 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/ |
D | uio.c | 613 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/ |
D | mon_bin.c | 1081 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/ |
D | grumain.c | 760 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()
|
D | grutables.h | 600 extern int gru_fault(struct vm_area_struct *, struct vm_fault *vmf);
|
/drivers/net/wireless/ath9k/ |
D | mac.c | 425 u32 vmf) in ath9k_hw_set11n_virtualmorefrag() argument 429 if (vmf) in ath9k_hw_set11n_virtualmorefrag()
|
D | ath9k.h | 1036 u32 vmf);
|
/drivers/staging/go7007/ |
D | go7007-v4l2.c | 1708 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/ |
D | i915_gem.c | 557 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()
|
D | i915_drv.h | 627 int i915_gem_fault(struct vm_area_struct *vma, struct vm_fault *vmf);
|
/drivers/infiniband/hw/ipath/ |
D | ipath_file_ops.c | 1141 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/ |
D | sg.c | 1171 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()
|