Home
last modified time | relevance | path

Searched refs:hpte_r (Results 1 – 9 of 9) sorted by relevance

/arch/powerpc/platforms/ps3/
Dhtab.c40 u64 hpte_v, hpte_r; in ps3_hpte_insert() local
54 hpte_r = hpte_encode_r(ps3_mm_phys_to_lpar(pa), psize, apsize) | rflags; in ps3_hpte_insert()
60 hpte_v, hpte_r, in ps3_hpte_insert()
69 hpte_v, hpte_r); in ps3_hpte_insert()
/arch/powerpc/mm/book3s64/
Dhash_native.c342 unsigned long hpte_v, hpte_r; in native_hpte_insert() local
367 hpte_r = hpte_encode_r(pa, psize, apsize) | rflags; in native_hpte_insert()
371 i, hpte_v, hpte_r); in native_hpte_insert()
375 hpte_r = hpte_old_to_new_r(hpte_v, hpte_r); in native_hpte_insert()
379 hptep->r = cpu_to_be64(hpte_r); in native_hpte_insert()
692 unsigned long hpte_r = be64_to_cpu(hpte->r); in hpte_decode() local
696 unsigned int lp = (hpte_r >> LP_SHIFT) & ((1 << LP_BITS) - 1); in hpte_decode()
699 hpte_v = hpte_new_to_old_v(hpte_v, hpte_r); in hpte_decode()
700 hpte_r = hpte_new_to_old_r(hpte_r); in hpte_decode()
/arch/powerpc/kvm/
Dtrace_hv.h282 __field(unsigned long, hpte_r)
293 __entry->hpte_r = hptep[1];
303 __entry->hpte_v, __entry->hpte_r, __entry->gpte_r,
316 __field(unsigned long, hpte_r)
323 __entry->hpte_r = hptep[1];
329 __entry->hpte_v, __entry->hpte_r, __entry->ret)
Dbook3s_hv_rm_mmu.c162 unsigned long hpte_v, unsigned long hpte_r) in remove_revmap_chain() argument
171 rcbits = hpte_r & (HPTE_R_R | HPTE_R_C); in remove_revmap_chain()
193 kvmppc_actual_pgsz(hpte_v, hpte_r)); in remove_revmap_chain()
1231 r = cache_entry->hpte_r; in kvmppc_hpte_hv_fault()
1307 cache_entry->hpte_r = r; in kvmppc_hpte_hv_fault()
Dbook3s_64_mmu_hv.c1896 __be64 hpte_r; in kvm_htab_write() local
1900 __get_user(hpte_r, lbuf + 1)) in kvm_htab_write()
1903 r = be64_to_cpu(hpte_r); in kvm_htab_write()
/arch/powerpc/include/asm/
Dplpar_wrappers.h95 unsigned long hpte_r, unsigned long *slot) in plpar_pte_enter() argument
100 rc = plpar_hcall(H_ENTER, retbuf, flags, hpte_group, hpte_v, hpte_r); in plpar_pte_enter()
Dkvm_book3s_64.h464 static inline int hpte_get_skey_perm(unsigned long hpte_r, unsigned long amr) in hpte_get_skey_perm() argument
468 skey = ((hpte_r & HPTE_R_KEY_HI) >> 57) | in hpte_get_skey_perm()
469 ((hpte_r & HPTE_R_KEY_LO) >> 9); in hpte_get_skey_perm()
Dkvm_host.h473 unsigned long hpte_r; member
/arch/powerpc/platforms/pseries/
Dlpar.c715 unsigned long hpte_v, hpte_r; in pSeries_lpar_hpte_insert() local
723 hpte_r = hpte_encode_r(pa, psize, apsize) | rflags; in pSeries_lpar_hpte_insert()
726 pr_devel(" hpte_v=%016lx, hpte_r=%016lx\n", hpte_v, hpte_r); in pSeries_lpar_hpte_insert()
736 if (firmware_has_feature(FW_FEATURE_XCMO) && !(hpte_r & HPTE_R_N)) in pSeries_lpar_hpte_insert()
739 lpar_rc = plpar_pte_enter(flags, hpte_group, hpte_v, hpte_r, &slot); in pSeries_lpar_hpte_insert()