/drivers/gpu/drm/gma500/ |
H A D | gem.c | 160 * @vmf: fault detail 174 int psb_gem_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 206 because vmf->pgoff is the fake GEM offset */ 207 page_offset = ((unsigned long) vmf->virtual_address - vma->vm_start) 215 ret = vm_insert_pfn(vma, (unsigned long)vmf->virtual_address, pfn);
|
H A D | framebuffer.c | 114 static int psbfb_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 128 address = (unsigned long)vmf->virtual_address - (vmf->pgoff << PAGE_SHIFT);
|
/drivers/char/agp/ |
H A D | alpha-agp.c | 15 struct vm_fault *vmf) 22 dma_addr = (unsigned long)vmf->virtual_address - vma->vm_start 34 vmf->page = page; 14 alpha_core_agp_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument
|
/drivers/gpu/drm/ttm/ |
H A D | ttm_bo_vm.c | 46 struct vm_fault *vmf) 64 if (vmf->flags & FAULT_FLAG_ALLOW_RETRY) { 66 if (vmf->flags & FAULT_FLAG_RETRY_NOWAIT) 86 static int ttm_bo_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 98 unsigned long address = (unsigned long)vmf->virtual_address; 115 if (vmf->flags & FAULT_FLAG_ALLOW_RETRY) { 116 if (!(vmf->flags & FAULT_FLAG_RETRY_NOWAIT)) { 160 ret = ttm_bo_vm_fault_idle(bo, vma, vmf); 44 ttm_bo_vm_fault_idle(struct ttm_buffer_object *bo, struct vm_area_struct *vma, struct vm_fault *vmf) argument
|
/drivers/gpu/drm/udl/ |
H A D | udl_gem.c | 83 int udl_gem_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 90 page_offset = ((unsigned long)vmf->virtual_address - vma->vm_start) >> 97 ret = vm_insert_page(vma, (unsigned long)vmf->virtual_address, page);
|
/drivers/video/fbdev/core/ |
H A D | fb_defio.c | 41 struct vm_fault *vmf) 47 offset = vmf->pgoff << PAGE_SHIFT; 63 page->index = vmf->pgoff; 65 vmf->page = page; 94 struct vm_fault *vmf) 96 struct page *page = vmf->page; 40 fb_deferred_io_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 93 fb_deferred_io_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf) argument
|
/drivers/char/ |
H A D | mspec.c | 200 mspec_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 204 pgoff_t index = vmf->pgoff; 236 vm_insert_pfn(vma, (unsigned long)vmf->virtual_address, pfn);
|
/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 20 unsigned long addr = (unsigned long)vmf->virtual_address;
|
/drivers/gpu/drm/ |
H A D | drm_vm.c | 98 static int drm_do_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 126 resource_size_t offset = (unsigned long)vmf->virtual_address - 157 vmf->page = page; 171 static int drm_do_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 187 static int drm_do_vm_shm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 197 offset = (unsigned long)vmf->virtual_address - vma->vm_start; 203 vmf->page = page; 289 static int drm_do_vm_dma_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 303 offset = (unsigned long)vmf->virtual_address - vma->vm_start; /* vm_[pg]off[set] should be 0 */ 304 page_nr = offset >> PAGE_SHIFT; /* page_nr could just be vmf 323 drm_do_vm_sg_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 349 drm_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 354 drm_vm_shm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 359 drm_vm_dma_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 364 drm_vm_sg_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument [all...] |
/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_gem.c | 595 int exynos_drm_gem_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 603 page_offset = ((unsigned long)vmf->virtual_address - 605 f_vaddr = (unsigned long)vmf->virtual_address;
|
/drivers/media/v4l2-core/ |
H A D | videobuf-dma-sg.c | 440 static int videobuf_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 445 (unsigned long)vmf->virtual_address, 451 clear_user_highpage(page, (unsigned long)vmf->virtual_address); 452 vmf->page = page;
|
/drivers/staging/lustre/lustre/llite/ |
H A D | llite_mmap.c | 288 * \param vmf - structure which describe type and address where hit fault 294 static int ll_fault0(struct vm_area_struct *vma, struct vm_fault *vmf) argument 305 io = ll_fault_io_init(vma, &env, &nest, vmf->pgoff, &ra_flags); 314 vio->u.fault.fault.ft_vmf = vmf; 328 vmf->page = NULL; 343 static int ll_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 356 result = ll_fault0(vma, vmf); 359 struct page *vmpage = vmf->page; 366 vmf->page = NULL; 384 static int ll_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf) argument [all...] |
H A D | vvp_io.c | 615 struct vm_fault *vmf = cfio->fault.ft_vmf; local 617 cfio->fault.ft_flags = filemap_fault(cfio->ft_vma, vmf); 620 if (vmf->page) { 623 vmf->page, vmf->page->mapping, vmf->page->index, 624 (long)vmf->page->flags, page_count(vmf->page), 625 page_private(vmf->page), vmf [all...] |
/drivers/gpu/drm/msm/ |
H A D | msm_gem.c | 187 int msm_gem_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 210 /* We don't use vmf->pgoff since that has the fake offset: */ 211 pgoff = ((unsigned long)vmf->virtual_address - 216 VERB("Inserting %p pfn %lx, pa %lx", vmf->virtual_address, 219 ret = vm_insert_mixed(vma, (unsigned long)vmf->virtual_address, pfn);
|
/drivers/gpu/drm/qxl/ |
H A D | qxl_ttm.c | 109 static int qxl_ttm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 117 r = ttm_vm_ops->fault(vma, vmf);
|
/drivers/xen/ |
H A D | privcmd.c | 550 static int privcmd_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 554 vmf->pgoff, vmf->virtual_address);
|
/drivers/misc/sgi-gru/ |
H A D | grumain.c | 929 int gru_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 934 vaddr = (unsigned long)vmf->virtual_address;
|
/drivers/gpu/drm/omapdrm/ |
H A D | omap_gem.c | 367 struct vm_area_struct *vma, struct vm_fault *vmf) 373 /* We don't use vmf->pgoff since that has the fake offset: */ 374 pgoff = ((unsigned long)vmf->virtual_address - 385 VERB("Inserting %p pfn %lx, pa %lx", vmf->virtual_address, 388 return vm_insert_mixed(vma, (unsigned long)vmf->virtual_address, pfn); 393 struct vm_area_struct *vma, struct vm_fault *vmf) 420 /* We don't use vmf->pgoff since that has the fake offset: */ 421 pgoff = ((unsigned long)vmf->virtual_address - 433 vaddr = vmf->virtual_address - ((pgoff - base_pgoff) << PAGE_SHIFT); 477 VERB("Inserting %p pfn %lx, pa %lx", vmf 366 fault_1d(struct drm_gem_object *obj, struct vm_area_struct *vma, struct vm_fault *vmf) argument 392 fault_2d(struct drm_gem_object *obj, struct vm_area_struct *vma, struct vm_fault *vmf) argument 505 omap_gem_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument [all...] |
/drivers/gpu/drm/radeon/ |
H A D | radeon_ttm.c | 942 static int radeon_ttm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 954 r = ttm_vm_ops->fault(vma, vmf);
|
/drivers/target/ |
H A D | target_core_user.c | 691 static int tcmu_vma_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 707 offset = (vmf->pgoff - mi) << PAGE_SHIFT; 715 vmf->page = page;
|
/drivers/uio/ |
H A D | uio.c | 591 static int uio_vma_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 606 offset = (vmf->pgoff - mi) << PAGE_SHIFT; 614 vmf->page = page;
|
/drivers/infiniband/hw/ipath/ |
H A D | ipath_file_ops.c | 1145 struct vm_fault *vmf) 1149 page = vmalloc_to_page((void *)(vmf->pgoff << PAGE_SHIFT)); 1153 vmf->page = page; 1144 ipath_file_vma_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument
|
/drivers/infiniband/hw/qib/ |
H A D | qib_file_ops.c | 891 static int qib_file_vma_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 895 page = vmalloc_to_page((void *)(vmf->pgoff << PAGE_SHIFT)); 900 vmf->page = page;
|
/drivers/staging/android/ion/ |
H A D | ion.c | 950 static int ion_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 957 ion_buffer_page_dirty(buffer->pages + vmf->pgoff); 958 BUG_ON(!buffer->pages || !buffer->pages[vmf->pgoff]); 960 pfn = page_to_pfn(ion_buffer_page(buffer->pages[vmf->pgoff])); 961 ret = vm_insert_pfn(vma, (unsigned long)vmf->virtual_address, pfn);
|
/drivers/usb/mon/ |
H A D | mon_bin.c | 1224 static int mon_bin_vma_fault(struct vm_area_struct *vma, struct vm_fault *vmf) argument 1230 offset = vmf->pgoff << PAGE_SHIFT; 1236 vmf->page = pageptr;
|