gaddr 112 arch/s390/include/asm/gmap.h unsigned long __gmap_translate(struct gmap *, unsigned long gaddr); gaddr 113 arch/s390/include/asm/gmap.h unsigned long gmap_translate(struct gmap *, unsigned long gaddr); gaddr 114 arch/s390/include/asm/gmap.h int __gmap_link(struct gmap *gmap, unsigned long gaddr, unsigned long vmaddr); gaddr 115 arch/s390/include/asm/gmap.h int gmap_fault(struct gmap *, unsigned long gaddr, unsigned int fault_flags); gaddr 117 arch/s390/include/asm/gmap.h void __gmap_zap(struct gmap *, unsigned long gaddr); gaddr 120 arch/s390/include/asm/gmap.h int gmap_read_table(struct gmap *gmap, unsigned long gaddr, unsigned long *val); gaddr 146 arch/s390/include/asm/gmap.h unsigned long gaddr, unsigned long vmaddr); gaddr 1144 arch/s390/include/asm/pgtable.h int ptep_force_prot(struct mm_struct *mm, unsigned long gaddr, gaddr 580 arch/s390/kvm/kvm-s390.c unsigned long gaddr, vmaddr; gaddr 588 arch/s390/kvm/kvm-s390.c gaddr = gfn_to_gpa(cur_gfn); gaddr 594 arch/s390/kvm/kvm-s390.c gmap_sync_dirty_log_pmd(gmap, bitmap, gaddr, vmaddr); gaddr 4282 arch/s390/kvm/kvm-s390.c r = check_gva_range(vcpu, mop->gaddr, mop->ar, gaddr 4286 arch/s390/kvm/kvm-s390.c r = read_guest(vcpu, mop->gaddr, mop->ar, tmpbuf, mop->size); gaddr 4294 arch/s390/kvm/kvm-s390.c r = check_gva_range(vcpu, mop->gaddr, mop->ar, gaddr 4302 arch/s390/kvm/kvm-s390.c r = write_guest(vcpu, mop->gaddr, mop->ar, tmpbuf, mop->size); gaddr 248 arch/s390/kvm/priv.c unsigned long gaddr, vmaddr; gaddr 265 arch/s390/kvm/priv.c gaddr = vcpu->run->s.regs.gprs[reg2] & PAGE_MASK; gaddr 266 arch/s390/kvm/priv.c gaddr = kvm_s390_logical_to_effective(vcpu, gaddr); gaddr 267 arch/s390/kvm/priv.c gaddr = kvm_s390_real_to_abs(vcpu, gaddr); gaddr 268 arch/s390/kvm/priv.c vmaddr = gfn_to_hva(vcpu->kvm, gpa_to_gfn(gaddr)); gaddr 296 arch/s390/kvm/priv.c unsigned long vmaddr, gaddr; gaddr 312 arch/s390/kvm/priv.c gaddr = vcpu->run->s.regs.gprs[reg2] & PAGE_MASK; gaddr 313 arch/s390/kvm/priv.c gaddr = kvm_s390_logical_to_effective(vcpu, gaddr); gaddr 314 arch/s390/kvm/priv.c gaddr = kvm_s390_real_to_abs(vcpu, gaddr); gaddr 315 arch/s390/kvm/priv.c vmaddr = gfn_to_hva(vcpu->kvm, gpa_to_gfn(gaddr)); gaddr 306 arch/s390/mm/gmap.c unsigned long init, unsigned long gaddr) gaddr 322 arch/s390/mm/gmap.c page->index = gaddr; gaddr 379 arch/s390/mm/gmap.c static int __gmap_unmap_by_gaddr(struct gmap *gmap, unsigned long gaddr) gaddr 384 arch/s390/mm/gmap.c gaddr >> PMD_SHIFT); gaddr 474 arch/s390/mm/gmap.c unsigned long __gmap_translate(struct gmap *gmap, unsigned long gaddr) gaddr 479 arch/s390/mm/gmap.c radix_tree_lookup(&gmap->guest_to_host, gaddr >> PMD_SHIFT); gaddr 481 arch/s390/mm/gmap.c return vmaddr ? (vmaddr | (gaddr & ~PMD_MASK)) : -EFAULT; gaddr 494 arch/s390/mm/gmap.c unsigned long gmap_translate(struct gmap *gmap, unsigned long gaddr) gaddr 499 arch/s390/mm/gmap.c rc = __gmap_translate(gmap, gaddr); gaddr 527 arch/s390/mm/gmap.c unsigned long gaddr); gaddr 540 arch/s390/mm/gmap.c int __gmap_link(struct gmap *gmap, unsigned long gaddr, unsigned long vmaddr) gaddr 556 arch/s390/mm/gmap.c table += (gaddr & _REGION1_INDEX) >> _REGION1_SHIFT; gaddr 559 arch/s390/mm/gmap.c gaddr & _REGION1_MASK)) gaddr 564 arch/s390/mm/gmap.c table += (gaddr & _REGION2_INDEX) >> _REGION2_SHIFT; gaddr 567 arch/s390/mm/gmap.c gaddr & _REGION2_MASK)) gaddr 572 arch/s390/mm/gmap.c table += (gaddr & _REGION3_INDEX) >> _REGION3_SHIFT; gaddr 575 arch/s390/mm/gmap.c gaddr & _REGION3_MASK)) gaddr 579 arch/s390/mm/gmap.c table += (gaddr & _SEGMENT_INDEX) >> _SEGMENT_SHIFT; gaddr 619 arch/s390/mm/gmap.c gmap_pmdp_xchg(gmap, (pmd_t *)table, __pmd(unprot), gaddr); gaddr 636 arch/s390/mm/gmap.c int gmap_fault(struct gmap *gmap, unsigned long gaddr, gaddr 647 arch/s390/mm/gmap.c vmaddr = __gmap_translate(gmap, gaddr); gaddr 664 arch/s390/mm/gmap.c rc = __gmap_link(gmap, gaddr, vmaddr); gaddr 674 arch/s390/mm/gmap.c void __gmap_zap(struct gmap *gmap, unsigned long gaddr) gaddr 682 arch/s390/mm/gmap.c gaddr >> PMD_SHIFT); gaddr 684 arch/s390/mm/gmap.c vmaddr |= gaddr & ~PMD_MASK; gaddr 696 arch/s390/mm/gmap.c unsigned long gaddr, vmaddr, size; gaddr 700 arch/s390/mm/gmap.c for (gaddr = from; gaddr < to; gaddr 701 arch/s390/mm/gmap.c gaddr = (gaddr + PMD_SIZE) & PMD_MASK) { gaddr 705 arch/s390/mm/gmap.c gaddr >> PMD_SHIFT); gaddr 708 arch/s390/mm/gmap.c vmaddr |= gaddr & ~PMD_MASK; gaddr 719 arch/s390/mm/gmap.c size = min(to - gaddr, PMD_SIZE - (gaddr & ~PMD_MASK)); gaddr 788 arch/s390/mm/gmap.c unsigned long gaddr, int level) gaddr 799 arch/s390/mm/gmap.c gaddr & (-1UL << (31 + (asce_type >> 2) * 11))) gaddr 805 arch/s390/mm/gmap.c table += (gaddr & _REGION1_INDEX) >> _REGION1_SHIFT; gaddr 813 arch/s390/mm/gmap.c table += (gaddr & _REGION2_INDEX) >> _REGION2_SHIFT; gaddr 821 arch/s390/mm/gmap.c table += (gaddr & _REGION3_INDEX) >> _REGION3_SHIFT; gaddr 829 arch/s390/mm/gmap.c table += (gaddr & _SEGMENT_INDEX) >> _SEGMENT_SHIFT; gaddr 835 arch/s390/mm/gmap.c table += (gaddr & _PAGE_INDEX) >> _PAGE_SHIFT; gaddr 849 arch/s390/mm/gmap.c static pte_t *gmap_pte_op_walk(struct gmap *gmap, unsigned long gaddr, gaddr 856 arch/s390/mm/gmap.c table = gmap_table_walk(gmap, gaddr, 1); /* get segment pointer */ gaddr 859 arch/s390/mm/gmap.c return pte_alloc_map_lock(gmap->mm, (pmd_t *) table, gaddr, ptl); gaddr 873 arch/s390/mm/gmap.c static int gmap_pte_op_fixup(struct gmap *gmap, unsigned long gaddr, gaddr 888 arch/s390/mm/gmap.c return __gmap_link(gmap, gaddr, vmaddr); gaddr 909 arch/s390/mm/gmap.c static inline pmd_t *gmap_pmd_op_walk(struct gmap *gmap, unsigned long gaddr) gaddr 914 arch/s390/mm/gmap.c pmdp = (pmd_t *) gmap_table_walk(gmap, gaddr, 1); gaddr 959 arch/s390/mm/gmap.c static int gmap_protect_pmd(struct gmap *gmap, unsigned long gaddr, gaddr 972 arch/s390/mm/gmap.c gmap_pmdp_xchg(gmap, pmdp, new, gaddr); gaddr 978 arch/s390/mm/gmap.c gmap_pmdp_xchg(gmap, pmdp, new, gaddr); gaddr 1004 arch/s390/mm/gmap.c static int gmap_protect_pte(struct gmap *gmap, unsigned long gaddr, gaddr 1015 arch/s390/mm/gmap.c ptep = pte_alloc_map_lock(gmap->mm, pmdp, gaddr, &ptl); gaddr 1022 arch/s390/mm/gmap.c rc = ptep_force_prot(gmap->mm, gaddr, ptep, prot, pbits); gaddr 1040 arch/s390/mm/gmap.c static int gmap_protect_range(struct gmap *gmap, unsigned long gaddr, gaddr 1050 arch/s390/mm/gmap.c pmdp = gmap_pmd_op_walk(gmap, gaddr); gaddr 1053 arch/s390/mm/gmap.c rc = gmap_protect_pte(gmap, gaddr, pmdp, prot, gaddr 1057 arch/s390/mm/gmap.c gaddr += PAGE_SIZE; gaddr 1060 arch/s390/mm/gmap.c rc = gmap_protect_pmd(gmap, gaddr, pmdp, prot, gaddr 1063 arch/s390/mm/gmap.c dist = HPAGE_SIZE - (gaddr & ~HPAGE_MASK); gaddr 1065 arch/s390/mm/gmap.c gaddr = (gaddr & HPAGE_MASK) + HPAGE_SIZE; gaddr 1075 arch/s390/mm/gmap.c vmaddr = __gmap_translate(gmap, gaddr); gaddr 1078 arch/s390/mm/gmap.c rc = gmap_pte_op_fixup(gmap, gaddr, vmaddr, prot); gaddr 1100 arch/s390/mm/gmap.c int gmap_mprotect_notify(struct gmap *gmap, unsigned long gaddr, gaddr 1105 arch/s390/mm/gmap.c if ((gaddr & ~PAGE_MASK) || (len & ~PAGE_MASK) || gmap_is_shadow(gmap)) gaddr 1110 arch/s390/mm/gmap.c rc = gmap_protect_range(gmap, gaddr, len, prot, GMAP_NOTIFY_MPROT); gaddr 1129 arch/s390/mm/gmap.c int gmap_read_table(struct gmap *gmap, unsigned long gaddr, unsigned long *val) gaddr 1141 arch/s390/mm/gmap.c ptep = gmap_pte_op_walk(gmap, gaddr, &ptl); gaddr 1146 arch/s390/mm/gmap.c address += gaddr & ~PAGE_MASK; gaddr 1156 arch/s390/mm/gmap.c vmaddr = __gmap_translate(gmap, gaddr); gaddr 1161 arch/s390/mm/gmap.c rc = gmap_pte_op_fixup(gmap, gaddr, vmaddr, PROT_READ); gaddr 2174 arch/s390/mm/gmap.c unsigned long gaddr) gaddr 2189 arch/s390/mm/gmap.c if (!(sg->orig_asce & _ASCE_REAL_SPACE) && gaddr >= start && gaddr 2190 arch/s390/mm/gmap.c gaddr < end) { gaddr 2238 arch/s390/mm/gmap.c unsigned long offset, gaddr = 0; gaddr 2250 arch/s390/mm/gmap.c gaddr = __gmap_segment_gaddr(table) + offset; gaddr 2259 arch/s390/mm/gmap.c gmap_shadow_notify(sg, vmaddr, gaddr); gaddr 2263 arch/s390/mm/gmap.c gmap_call_notifier(gmap, gaddr, gaddr + PAGE_SIZE - 1); gaddr 2270 arch/s390/mm/gmap.c unsigned long gaddr) gaddr 2273 arch/s390/mm/gmap.c gmap_call_notifier(gmap, gaddr, gaddr + HPAGE_SIZE - 1); gaddr 2287 arch/s390/mm/gmap.c unsigned long gaddr) gaddr 2289 arch/s390/mm/gmap.c gaddr &= HPAGE_MASK; gaddr 2290 arch/s390/mm/gmap.c pmdp_notify_gmap(gmap, pmdp, gaddr); gaddr 2293 arch/s390/mm/gmap.c __pmdp_idte(gaddr, (pmd_t *)pmdp, IDTE_GUEST_ASCE, gmap->asce, gaddr 2296 arch/s390/mm/gmap.c __pmdp_idte(gaddr, (pmd_t *)pmdp, 0, 0, IDTE_GLOBAL); gaddr 2307 arch/s390/mm/gmap.c unsigned long gaddr; gaddr 2315 arch/s390/mm/gmap.c gaddr = __gmap_segment_gaddr((unsigned long *)pmdp); gaddr 2316 arch/s390/mm/gmap.c pmdp_notify_gmap(gmap, pmdp, gaddr); gaddr 2358 arch/s390/mm/gmap.c unsigned long *entry, gaddr; gaddr 2369 arch/s390/mm/gmap.c gaddr = __gmap_segment_gaddr(entry); gaddr 2370 arch/s390/mm/gmap.c pmdp_notify_gmap(gmap, pmdp, gaddr); gaddr 2374 arch/s390/mm/gmap.c __pmdp_idte(gaddr, pmdp, IDTE_GUEST_ASCE, gaddr 2377 arch/s390/mm/gmap.c __pmdp_idte(gaddr, pmdp, 0, 0, IDTE_LOCAL); gaddr 2393 arch/s390/mm/gmap.c unsigned long *entry, gaddr; gaddr 2404 arch/s390/mm/gmap.c gaddr = __gmap_segment_gaddr(entry); gaddr 2405 arch/s390/mm/gmap.c pmdp_notify_gmap(gmap, pmdp, gaddr); gaddr 2409 arch/s390/mm/gmap.c __pmdp_idte(gaddr, pmdp, IDTE_GUEST_ASCE, gaddr 2412 arch/s390/mm/gmap.c __pmdp_idte(gaddr, pmdp, 0, 0, IDTE_GLOBAL); gaddr 2433 arch/s390/mm/gmap.c unsigned long gaddr) gaddr 2445 arch/s390/mm/gmap.c gmap_protect_pmd(gmap, gaddr, pmdp, PROT_READ, 0); gaddr 2460 arch/s390/mm/gmap.c unsigned long gaddr, unsigned long vmaddr) gaddr 2467 arch/s390/mm/gmap.c pmdp = gmap_pmd_op_walk(gmap, gaddr); gaddr 2472 arch/s390/mm/gmap.c if (gmap_test_and_clear_dirty_pmd(gmap, pmdp, gaddr)) gaddr 2552 arch/x86/kvm/mmu.c gva_t gaddr, gaddr 2573 arch/x86/kvm/mmu.c quadrant = gaddr >> (PAGE_SHIFT + (PT64_PT_BITS * level)); gaddr 15 drivers/acpi/acpi_lpit.c struct acpi_generic_address gaddr; gaddr 33 drivers/acpi/acpi_lpit.c residency_info_mem.gaddr.bit_width); gaddr 41 drivers/acpi/acpi_lpit.c err = rdmsrl_safe(residency_info_ffh.gaddr.address, counter); gaddr 43 drivers/acpi/acpi_lpit.c u64 mask = GENMASK_ULL(residency_info_ffh.gaddr.bit_offset + gaddr 44 drivers/acpi/acpi_lpit.c residency_info_ffh.gaddr. bit_width - 1, gaddr 45 drivers/acpi/acpi_lpit.c residency_info_ffh.gaddr.bit_offset); gaddr 48 drivers/acpi/acpi_lpit.c *counter >>= residency_info_ffh.gaddr.bit_offset; gaddr 88 drivers/acpi/acpi_lpit.c if (!residency_info_mem.gaddr.address) gaddr 91 drivers/acpi/acpi_lpit.c *address = residency_info_mem.gaddr.address; gaddr 105 drivers/acpi/acpi_lpit.c info->gaddr = lpit_native->residency_counter; gaddr 106 drivers/acpi/acpi_lpit.c if (info->gaddr.space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) { gaddr 107 drivers/acpi/acpi_lpit.c info->iomem_addr = ioremap_nocache(info->gaddr.address, gaddr 108 drivers/acpi/acpi_lpit.c info->gaddr.bit_width / 8); gaddr 119 drivers/acpi/acpi_lpit.c } else if (info->gaddr.space_id == ACPI_ADR_SPACE_FIXED_HARDWARE) { gaddr 137 drivers/acpi/acpi_lpit.c !residency_info_mem.gaddr.address) { gaddr 140 drivers/acpi/acpi_lpit.c !residency_info_ffh.gaddr.address) { gaddr 332 drivers/macintosh/via-pmu.c u64 gaddr = OF_BAD_ADDR; gaddr 348 drivers/macintosh/via-pmu.c gaddr = of_translate_address(gpiop, reg); gaddr 349 drivers/macintosh/via-pmu.c if (gaddr != OF_BAD_ADDR) gaddr 350 drivers/macintosh/via-pmu.c gpio_reg = ioremap(gaddr, 0x10); gaddr 201 drivers/net/ethernet/freescale/fman/fman_dtsec.c u32 gaddr[8]; /* 0x0A0-0x0BC Group address registers 0-7 */ gaddr 516 drivers/net/ethernet/freescale/fman/fman_dtsec.c iowrite32be(0, ®s->gaddr[i]); gaddr 543 drivers/net/ethernet/freescale/fman/fman_dtsec.c reg = ®s->gaddr[reg_idx - 8]; gaddr 466 include/uapi/linux/kvm.h __u64 gaddr; /* the guest address */ gaddr 466 tools/include/uapi/linux/kvm.h __u64 gaddr; /* the guest address */ gaddr 57 tools/testing/selftests/kvm/s390x/memop.c ksmo.gaddr = addr_gva2gpa(vm, (uintptr_t)mem1); gaddr 75 tools/testing/selftests/kvm/s390x/memop.c ksmo.gaddr = (uintptr_t)mem2; gaddr 87 tools/testing/selftests/kvm/s390x/memop.c ksmo.gaddr = (uintptr_t)mem1; gaddr 97 tools/testing/selftests/kvm/s390x/memop.c ksmo.gaddr = (uintptr_t)mem1; gaddr 108 tools/testing/selftests/kvm/s390x/memop.c ksmo.gaddr = (uintptr_t)mem1; gaddr 118 tools/testing/selftests/kvm/s390x/memop.c ksmo.gaddr = (uintptr_t)mem1; gaddr 128 tools/testing/selftests/kvm/s390x/memop.c ksmo.gaddr = ~0xfffUL; gaddr 138 tools/testing/selftests/kvm/s390x/memop.c ksmo.gaddr = (uintptr_t)mem1; gaddr 152 tools/testing/selftests/kvm/s390x/memop.c ksmo.gaddr = (uintptr_t)mem1;