Searched refs:HPTE_V_VALID (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
D | book3s_hv_rm_mmu.c | 221 pteh &= ~(HPTE_V_HVLOCK | HPTE_V_ABSENT | HPTE_V_VALID); in kvmppc_do_h_enter() 287 pteh |= HPTE_V_VALID; in kvmppc_do_h_enter() 313 if ((be64_to_cpu(*hpte) & HPTE_V_VALID) == 0 && in kvmppc_do_h_enter() 314 try_lock_hpte(hpte, HPTE_V_HVLOCK | HPTE_V_VALID | in kvmppc_do_h_enter() 332 if (!(pte & (HPTE_V_VALID | HPTE_V_ABSENT))) in kvmppc_do_h_enter() 343 if (!try_lock_hpte(hpte, HPTE_V_HVLOCK | HPTE_V_VALID | in kvmppc_do_h_enter() 351 if (pte & (HPTE_V_VALID | HPTE_V_ABSENT)) { in kvmppc_do_h_enter() 368 if (pteh & HPTE_V_VALID) { in kvmppc_do_h_enter() 376 pteh &= ~HPTE_V_VALID; in kvmppc_do_h_enter() 510 if ((pte & (HPTE_V_ABSENT | HPTE_V_VALID)) == 0 || in kvmppc_do_h_remove() [all …]
|
D | book3s_64_mmu_hv.c | 360 HPTE_V_VALID | HPTE_V_ABSENT); in kvmppc_mmu_book3s_64_hv_xlate() 679 hpte[0] = (hpte[0] & ~HPTE_V_ABSENT) | HPTE_V_VALID; in kvmppc_book3s_hv_page_fault() 696 if (be64_to_cpu(hptep[0]) & HPTE_V_VALID) { in kvmppc_book3s_hv_page_fault() 825 if ((be64_to_cpu(hptep[0]) & HPTE_V_VALID) && in kvmppc_unmap_hpte() 954 if ((be64_to_cpu(hptep[0]) & HPTE_V_VALID) && in kvm_age_rmapp() 1086 if (!(hptep[0] & cpu_to_be64(HPTE_V_VALID))) { in kvm_test_clear_dirty_npages() 1109 v |= HPTE_V_VALID; in kvm_test_clear_dirty_npages() 1250 if (!(vpte & HPTE_V_VALID) && !(vpte & HPTE_V_ABSENT)) in resize_hpt_rehash_hpte() 1259 if (!(vpte & HPTE_V_VALID) && !(vpte & HPTE_V_ABSENT)) in resize_hpt_rehash_hpte() 1277 if (vpte & HPTE_V_VALID) { in resize_hpt_rehash_hpte() [all …]
|
D | book3s_pr_papr.c | 60 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()
|
D | book3s_64_mmu.c | 237 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()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/ |
D | hash_native.c | 359 if (! (be64_to_cpu(hptep->v) & HPTE_V_VALID)) { in native_hpte_insert() 362 if (! (be64_to_cpu(hptep->v) & HPTE_V_VALID)) in native_hpte_insert() 373 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in native_hpte_insert() 416 if ((hpte_v & HPTE_V_VALID) && !(hpte_v & HPTE_V_BOLTED)) { in native_hpte_remove() 420 if ((hpte_v & HPTE_V_VALID) in native_hpte_remove() 460 if (!HPTE_V_COMPARE(hpte_v, want_v) || !(hpte_v & HPTE_V_VALID)) { in native_hpte_updatepp() 468 !(hpte_v & HPTE_V_VALID))) { in native_hpte_updatepp() 502 if (HPTE_V_COMPARE(hpte_v, want_v) && (hpte_v & HPTE_V_VALID)) in __native_hpte_find() 619 if (HPTE_V_COMPARE(hpte_v, want_v) && (hpte_v & HPTE_V_VALID)) { in native_hpte_invalidate() 624 if (HPTE_V_COMPARE(hpte_v, want_v) && (hpte_v & HPTE_V_VALID)) in native_hpte_invalidate() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/ps3/ |
D | htab.c | 53 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in ps3_hpte_insert() 133 if (!HPTE_V_COMPARE(hpte_v, want_v) || !(hpte_v & HPTE_V_VALID)) { in ps3_hpte_updatepp()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/ptdump/ |
D | hashpagetable.c | 73 .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() 265 (ptes[j].v & HPTE_V_VALID)) { in pseries_find()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
D | lpar.c | 729 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in pSeries_lpar_hpte_insert() 830 if (ptes[j].pteh & HPTE_V_VALID) in manual_hpte_clear_all() 932 (ptes[j].pteh & HPTE_V_VALID)) in __pSeries_lpar_hpte_find()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/64/ |
D | mmu-hash.h | 79 #define HPTE_V_VALID ASM_CONST(0x0000000000000001) macro
|