Home
last modified time | relevance | path

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

/arch/x86/entry/vdso/
Dvma.c43 struct vm_area_struct *vma, struct vm_fault *vmf) in vdso_fault() argument
47 if (!image || (vmf->pgoff << PAGE_SHIFT) >= image->size) in vdso_fault()
50 vmf->page = virt_to_page(image->data + (vmf->pgoff << PAGE_SHIFT)); in vdso_fault()
51 get_page(vmf->page); in vdso_fault()
88 struct vm_area_struct *vma, struct vm_fault *vmf) in vvar_fault() argument
97 sym_offset = (long)(vmf->pgoff << PAGE_SHIFT) + in vvar_fault()
111 ret = vm_insert_pfn(vma, vmf->address, in vvar_fault()
119 vmf->address, in vvar_fault()
126 ret = vm_insert_pfn(vma, vmf->address, in vvar_fault()
/arch/s390/kernel/
Dvdso.c54 struct vm_area_struct *vma, struct vm_fault *vmf) in vdso_fault() argument
68 if (vmf->pgoff >= vdso_pages) in vdso_fault()
71 vmf->page = vdso_pagelist[vmf->pgoff]; in vdso_fault()
72 get_page(vmf->page); in vdso_fault()
/arch/powerpc/platforms/cell/spufs/
Dfile.c236 spufs_mem_mmap_fault(struct vm_fault *vmf) in spufs_mem_mmap_fault() argument
238 struct vm_area_struct *vma = vmf->vma; in spufs_mem_mmap_fault()
242 offset = vmf->pgoff << PAGE_SHIFT; in spufs_mem_mmap_fault()
247 vmf->address, offset); in spufs_mem_mmap_fault()
259 vm_insert_pfn(vma, vmf->address, pfn); in spufs_mem_mmap_fault()
315 static int spufs_ps_fault(struct vm_fault *vmf, in spufs_ps_fault() argument
319 struct spu_context *ctx = vmf->vma->vm_file->private_data; in spufs_ps_fault()
320 unsigned long area, offset = vmf->pgoff << PAGE_SHIFT; in spufs_ps_fault()
357 vm_insert_pfn(vmf->vma, vmf->address, (area + offset) >> PAGE_SHIFT); in spufs_ps_fault()
370 static int spufs_cntl_mmap_fault(struct vm_fault *vmf) in spufs_cntl_mmap_fault() argument
[all …]
/arch/powerpc/kvm/
Dbook3s_64_vio.c239 static int kvm_spapr_tce_fault(struct vm_fault *vmf) in kvm_spapr_tce_fault() argument
241 struct kvmppc_spapr_tce_table *stt = vmf->vma->vm_file->private_data; in kvm_spapr_tce_fault()
244 if (vmf->pgoff >= kvmppc_tce_pages(stt->size)) in kvm_spapr_tce_fault()
247 page = stt->pages[vmf->pgoff]; in kvm_spapr_tce_fault()
249 vmf->page = page; in kvm_spapr_tce_fault()
Dpowerpc.c1676 int kvm_arch_vcpu_fault(struct kvm_vcpu *vcpu, struct vm_fault *vmf) in kvm_arch_vcpu_fault() argument
/arch/s390/kvm/
Dkvm-s390.c3877 int kvm_arch_vcpu_fault(struct kvm_vcpu *vcpu, struct vm_fault *vmf) in kvm_arch_vcpu_fault() argument
3880 if ((vmf->pgoff == KVM_S390_SIE_PAGE_OFFSET) in kvm_arch_vcpu_fault()
3882 vmf->page = virt_to_page(vcpu->arch.sie_block); in kvm_arch_vcpu_fault()
3883 get_page(vmf->page); in kvm_arch_vcpu_fault()
/arch/mips/kvm/
Dmips.c1058 int kvm_arch_vcpu_fault(struct kvm_vcpu *vcpu, struct vm_fault *vmf) in kvm_arch_vcpu_fault() argument
/arch/x86/kvm/
Dx86.c3927 int kvm_arch_vcpu_fault(struct kvm_vcpu *vcpu, struct vm_fault *vmf) in kvm_arch_vcpu_fault() argument