Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/include/asm/book3s/64/
Dmmu-hash.h234 #define VPN_SHIFT 12 macro
329 v = (vpn >> (23 - VPN_SHIFT)) & ~(mmu_psize_defs[psize].avpnm); in hpte_encode_avpn()
418 mask = (1ul << (s_shift - VPN_SHIFT)) - 1; in hpt_vpn()
419 return (vsid << (s_shift - VPN_SHIFT)) | ((ea >> VPN_SHIFT) & mask); in hpt_vpn()
433 mask = (1ul << (SID_SHIFT - VPN_SHIFT)) - 1; in hpt_hash()
434 hash = (vpn >> (SID_SHIFT - VPN_SHIFT)) ^ in hpt_hash()
435 ((vpn & mask) >> (shift - VPN_SHIFT)); in hpt_hash()
437 mask = (1ul << (SID_SHIFT_1T - VPN_SHIFT)) - 1; in hpt_hash()
438 vsid = vpn >> (SID_SHIFT_1T - VPN_SHIFT); in hpt_hash()
440 ((vpn & mask) >> (shift - VPN_SHIFT)) ; in hpt_hash()
Dhash-64k.h134 unsigned long __end = vpn + (1UL << (PAGE_SHIFT - VPN_SHIFT)); \
139 vpn += (1L << (shift - VPN_SHIFT))) { \
/Linux-v4.19/arch/powerpc/mm/
Dhash_native_64.c161 va = vpn << VPN_SHIFT; in ___tlbie()
228 va = vpn << VPN_SHIFT; in __tlbiel()
709 *vpn = vsid << (SID_SHIFT - VPN_SHIFT) | seg_off >> VPN_SHIFT; in hpte_decode()
719 *vpn = vsid << (SID_SHIFT_1T - VPN_SHIFT) | seg_off >> VPN_SHIFT; in hpte_decode()
/Linux-v4.19/arch/powerpc/include/asm/
Dkvm_book3s_32.h45 #define VPN_SHIFT 12 macro
/Linux-v4.19/arch/powerpc/kvm/
Dbook3s_32_mmu_host.c179 vpn = (vsid << (SID_SHIFT - VPN_SHIFT)) | in kvmppc_mmu_map_page()
180 ((eaddr & ~ESID_MASK) >> VPN_SHIFT); in kvmppc_mmu_map_page()
Dbook3s_64_mmu.c102 return (eaddr >> VPN_SHIFT) | in kvmppc_slb_calc_vpn()
103 ((slb->vsid) << (kvmppc_slb_sid_shift(slb) - VPN_SHIFT)); in kvmppc_slb_calc_vpn()