Home
last modified time | relevance | path

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

/linux/arch/powerpc/mm/book3s64/
H A Dhash_native.c283 if (! (be64_to_cpu(hptep->v) & HPTE_V_VALID)) { in native_hpte_insert()
286 if (! (be64_to_cpu(hptep->v) & HPTE_V_VALID)) in native_hpte_insert()
299 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in native_hpte_insert()
347 if ((hpte_v & HPTE_V_VALID) && !(hpte_v & HPTE_V_BOLTED)) { in native_hpte_remove()
351 if ((hpte_v & HPTE_V_VALID) in native_hpte_remove()
398 if (!HPTE_V_COMPARE(hpte_v, want_v) || !(hpte_v & HPTE_V_VALID)) { in native_hpte_updatepp()
406 !(hpte_v & HPTE_V_VALID))) { in native_hpte_updatepp()
442 if (HPTE_V_COMPARE(hpte_v, want_v) && (hpte_v & HPTE_V_VALID)) in __native_hpte_find()
570 if (HPTE_V_COMPARE(hpte_v, want_v) && (hpte_v & HPTE_V_VALID)) { in native_hpte_invalidate()
575 if (HPTE_V_COMPARE(hpte_v, want_v) && (hpte_v & HPTE_V_VALID)) { in native_hpte_invalidate()
[all …]
/linux/arch/powerpc/kvm/
H A Dbook3s_hv_rm_mmu.c217 pteh &= ~(HPTE_V_HVLOCK | HPTE_V_ABSENT | HPTE_V_VALID); in kvmppc_do_h_enter()
283 pteh |= HPTE_V_VALID; in kvmppc_do_h_enter()
309 if ((be64_to_cpu(*hpte) & HPTE_V_VALID) == 0 && in kvmppc_do_h_enter()
310 try_lock_hpte(hpte, HPTE_V_HVLOCK | HPTE_V_VALID | in kvmppc_do_h_enter()
328 if (!(pte & (HPTE_V_VALID | HPTE_V_ABSENT))) in kvmppc_do_h_enter()
339 if (!try_lock_hpte(hpte, HPTE_V_HVLOCK | HPTE_V_VALID | in kvmppc_do_h_enter()
347 if (pte & (HPTE_V_VALID | HPTE_V_ABSENT)) { in kvmppc_do_h_enter()
364 if (pteh & HPTE_V_VALID) { in kvmppc_do_h_enter()
372 pteh &= ~HPTE_V_VALID; in kvmppc_do_h_enter()
507 if ((pte & (HPTE_V_ABSENT | HPTE_V_VALID)) == 0 || in kvmppc_do_h_remove()
[all …]
H A Dbook3s_64_mmu_hv.c370 HPTE_V_VALID | HPTE_V_ABSENT); in kvmppc_mmu_book3s_64_hv_xlate()
703 hpte[0] = (hpte[0] & ~HPTE_V_ABSENT) | HPTE_V_VALID; in kvmppc_book3s_hv_page_fault()
720 if (be64_to_cpu(hptep[0]) & HPTE_V_VALID) { in kvmppc_book3s_hv_page_fault()
804 if ((be64_to_cpu(hptep[0]) & HPTE_V_VALID) && in kvmppc_unmap_hpte()
938 if ((be64_to_cpu(hptep[0]) & HPTE_V_VALID) && in kvm_age_rmapp()
1072 if (!(hptep[0] & cpu_to_be64(HPTE_V_VALID))) { in kvm_test_clear_dirty_npages()
1095 v |= HPTE_V_VALID; in kvm_test_clear_dirty_npages()
1236 if (!(vpte & HPTE_V_VALID) && !(vpte & HPTE_V_ABSENT)) in resize_hpt_rehash_hpte()
1245 if (!(vpte & HPTE_V_VALID) && !(vpte & HPTE_V_ABSENT)) in resize_hpt_rehash_hpte()
1263 if (vpte & HPTE_V_VALID) { in resize_hpt_rehash_hpte()
[all …]
H A Dbook3s_pr_papr.c60 if ((be64_to_cpu(*hpte) & HPTE_V_VALID) == 0) in kvmppc_h_pr_enter()
66 if (*hpte & HPTE_V_VALID) in kvmppc_h_pr_enter()
104 if ((pte[0] & HPTE_V_VALID) == 0 || in kvmppc_h_pr_remove()
189 if ((pte[0] & HPTE_V_VALID) == 0 || in kvmppc_h_pr_bulk_remove()
232 if ((pte[0] & HPTE_V_VALID) == 0 || in kvmppc_h_pr_protect()
H A Dbook3s_64_mmu.c237 v_val |= HPTE_V_VALID; in kvmppc_mmu_book3s_64_xlate()
239 v_mask = SLB_VSID_B | HPTE_V_AVPN | HPTE_V_LARGE | HPTE_V_VALID | in kvmppc_mmu_book3s_64_xlate()
/linux/arch/powerpc/platforms/ps3/
H A Dhtab.c52 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in ps3_hpte_insert()
132 if (!HPTE_V_COMPARE(hpte_v, want_v) || !(hpte_v & HPTE_V_VALID)) { in ps3_hpte_updatepp()
/linux/arch/powerpc/mm/ptdump/
H A Dhashpagetable.c73 .mask = HPTE_V_VALID,
74 .val = HPTE_V_VALID,
228 if (HPTE_V_COMPARE(hpte_v, want_v) && (hpte_v & HPTE_V_VALID)) { in native_find()
268 (ptes[j].v & HPTE_V_VALID)) { in pseries_find()
/linux/arch/powerpc/platforms/pseries/
H A Dlpar.c771 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in pSeries_lpar_hpte_insert()
873 if (ptes[j].pteh & HPTE_V_VALID) in manual_hpte_clear_all()
978 (ptes[j].pteh & HPTE_V_VALID)) in __pSeries_lpar_hpte_find()
/linux/arch/powerpc/include/asm/book3s/64/
H A Dmmu-hash.h79 #define HPTE_V_VALID ASM_CONST(0x0000000000000001) macro