Lines Matching refs:vmf
347 struct vm_area_struct *vma, struct vm_fault *vmf) in omap_gem_fault_1d() argument
354 pgoff = (vmf->address - vma->vm_start) >> PAGE_SHIFT; in omap_gem_fault_1d()
364 VERB("Inserting %p pfn %lx, pa %lx", (void *)vmf->address, in omap_gem_fault_1d()
367 return vmf_insert_mixed(vma, vmf->address, in omap_gem_fault_1d()
373 struct vm_area_struct *vma, struct vm_fault *vmf) in omap_gem_fault_2d() argument
403 pgoff = (vmf->address - vma->vm_start) >> PAGE_SHIFT; in omap_gem_fault_2d()
414 vaddr = vmf->address - ((pgoff - base_pgoff) << PAGE_SHIFT); in omap_gem_fault_2d()
459 VERB("Inserting %p pfn %lx, pa %lx", (void *)vmf->address, in omap_gem_fault_2d()
490 static vm_fault_t omap_gem_fault(struct vm_fault *vmf) in omap_gem_fault() argument
492 struct vm_area_struct *vma = vmf->vma; in omap_gem_fault()
517 ret = omap_gem_fault_2d(obj, vma, vmf); in omap_gem_fault()
519 ret = omap_gem_fault_1d(obj, vma, vmf); in omap_gem_fault()