Home
last modified time | relevance | path

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

/arch/x86/entry/vdso/
Dvma.c41 struct vm_area_struct *vma, struct vm_fault *vmf) in vdso_fault() argument
45 if (!image || (vmf->pgoff << PAGE_SHIFT) >= image->size) in vdso_fault()
48 vmf->page = virt_to_page(image->data + (vmf->pgoff << PAGE_SHIFT)); in vdso_fault()
49 get_page(vmf->page); in vdso_fault()
89 struct vm_area_struct *vma, struct vm_fault *vmf) in vvar_fault() argument
98 sym_offset = (long)(vmf->pgoff << PAGE_SHIFT) + in vvar_fault()
112 ret = vm_insert_pfn(vma, (unsigned long)vmf->virtual_address, in vvar_fault()
120 (unsigned long)vmf->virtual_address, in vvar_fault()
/arch/powerpc/kvm/
Dbook3s_64_vio.c105 static int kvm_spapr_tce_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in kvm_spapr_tce_fault() argument
110 if (vmf->pgoff >= kvmppc_tce_pages(stt->size)) in kvm_spapr_tce_fault()
113 page = stt->pages[vmf->pgoff]; in kvm_spapr_tce_fault()
115 vmf->page = page; in kvm_spapr_tce_fault()
Dpowerpc.c1301 int kvm_arch_vcpu_fault(struct kvm_vcpu *vcpu, struct vm_fault *vmf) in kvm_arch_vcpu_fault() argument
/arch/powerpc/platforms/cell/spufs/
Dfile.c236 spufs_mem_mmap_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in spufs_mem_mmap_fault() argument
239 unsigned long address = (unsigned long)vmf->virtual_address; in spufs_mem_mmap_fault()
242 offset = vmf->pgoff << PAGE_SHIFT; in spufs_mem_mmap_fault()
316 struct vm_fault *vmf, in spufs_ps_fault() argument
321 unsigned long area, offset = vmf->pgoff << PAGE_SHIFT; in spufs_ps_fault()
358 vm_insert_pfn(vma, (unsigned long)vmf->virtual_address, in spufs_ps_fault()
373 struct vm_fault *vmf) in spufs_cntl_mmap_fault() argument
375 return spufs_ps_fault(vma, vmf, 0x4000, SPUFS_CNTL_MAP_SIZE); in spufs_cntl_mmap_fault()
1072 spufs_signal1_mmap_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in spufs_signal1_mmap_fault() argument
1075 return spufs_ps_fault(vma, vmf, 0x14000, SPUFS_SIGNAL_MAP_SIZE); in spufs_signal1_mmap_fault()
[all …]
/arch/s390/kvm/
Dkvm-s390.c3243 int kvm_arch_vcpu_fault(struct kvm_vcpu *vcpu, struct vm_fault *vmf) in kvm_arch_vcpu_fault() argument
3246 if ((vmf->pgoff == KVM_S390_SIE_PAGE_OFFSET) in kvm_arch_vcpu_fault()
3248 vmf->page = virt_to_page(vcpu->arch.sie_block); in kvm_arch_vcpu_fault()
3249 get_page(vmf->page); in kvm_arch_vcpu_fault()
/arch/arm/kvm/
Darm.c166 int kvm_arch_vcpu_fault(struct kvm_vcpu *vcpu, struct vm_fault *vmf) in kvm_arch_vcpu_fault() argument
/arch/mips/kvm/
Dmips.c1273 int kvm_arch_vcpu_fault(struct kvm_vcpu *vcpu, struct vm_fault *vmf) in kvm_arch_vcpu_fault() argument
/arch/x86/kvm/
Dx86.c3638 int kvm_arch_vcpu_fault(struct kvm_vcpu *vcpu, struct vm_fault *vmf) in kvm_arch_vcpu_fault() argument