Home
last modified time | relevance | path

Searched refs:gaddr (Results 1 – 6 of 6) sorted by relevance

/arch/s390/mm/
Dgmap.c306 unsigned long init, unsigned long gaddr) in gmap_alloc_table() argument
322 page->index = gaddr; in gmap_alloc_table()
379 static int __gmap_unmap_by_gaddr(struct gmap *gmap, unsigned long gaddr) in __gmap_unmap_by_gaddr() argument
384 gaddr >> PMD_SHIFT); in __gmap_unmap_by_gaddr()
474 unsigned long __gmap_translate(struct gmap *gmap, unsigned long gaddr) in __gmap_translate() argument
479 radix_tree_lookup(&gmap->guest_to_host, gaddr >> PMD_SHIFT); in __gmap_translate()
481 return vmaddr ? (vmaddr | (gaddr & ~PMD_MASK)) : -EFAULT; in __gmap_translate()
494 unsigned long gmap_translate(struct gmap *gmap, unsigned long gaddr) in gmap_translate() argument
499 rc = __gmap_translate(gmap, gaddr); in gmap_translate()
527 unsigned long gaddr);
[all …]
/arch/s390/include/asm/
Dgmap.h112 unsigned long __gmap_translate(struct gmap *, unsigned long gaddr);
113 unsigned long gmap_translate(struct gmap *, unsigned long gaddr);
114 int __gmap_link(struct gmap *gmap, unsigned long gaddr, unsigned long vmaddr);
115 int gmap_fault(struct gmap *, unsigned long gaddr, unsigned int fault_flags);
117 void __gmap_zap(struct gmap *, unsigned long gaddr);
120 int gmap_read_table(struct gmap *gmap, unsigned long gaddr, unsigned long *val);
146 unsigned long gaddr, unsigned long vmaddr);
Dpgtable.h1144 int ptep_force_prot(struct mm_struct *mm, unsigned long gaddr,
/arch/s390/kvm/
Dpriv.c248 unsigned long gaddr, vmaddr; in handle_iske() local
265 gaddr = vcpu->run->s.regs.gprs[reg2] & PAGE_MASK; in handle_iske()
266 gaddr = kvm_s390_logical_to_effective(vcpu, gaddr); in handle_iske()
267 gaddr = kvm_s390_real_to_abs(vcpu, gaddr); in handle_iske()
268 vmaddr = gfn_to_hva(vcpu->kvm, gpa_to_gfn(gaddr)); in handle_iske()
296 unsigned long vmaddr, gaddr; in handle_rrbe() local
312 gaddr = vcpu->run->s.regs.gprs[reg2] & PAGE_MASK; in handle_rrbe()
313 gaddr = kvm_s390_logical_to_effective(vcpu, gaddr); in handle_rrbe()
314 gaddr = kvm_s390_real_to_abs(vcpu, gaddr); in handle_rrbe()
315 vmaddr = gfn_to_hva(vcpu->kvm, gpa_to_gfn(gaddr)); in handle_rrbe()
Dkvm-s390.c580 unsigned long gaddr, vmaddr; in kvm_s390_sync_dirty_log() local
588 gaddr = gfn_to_gpa(cur_gfn); in kvm_s390_sync_dirty_log()
594 gmap_sync_dirty_log_pmd(gmap, bitmap, gaddr, vmaddr); in kvm_s390_sync_dirty_log()
4287 r = check_gva_range(vcpu, mop->gaddr, mop->ar, in kvm_s390_guest_mem_op()
4291 r = read_guest(vcpu, mop->gaddr, mop->ar, tmpbuf, mop->size); in kvm_s390_guest_mem_op()
4299 r = check_gva_range(vcpu, mop->gaddr, mop->ar, in kvm_s390_guest_mem_op()
4307 r = write_guest(vcpu, mop->gaddr, mop->ar, tmpbuf, mop->size); in kvm_s390_guest_mem_op()
/arch/x86/kvm/
Dmmu.c2557 gva_t gaddr, in kvm_mmu_get_page() argument
2578 quadrant = gaddr >> (PAGE_SHIFT + (PT64_PT_BITS * level)); in kvm_mmu_get_page()