Searched refs:HPTE_V_HVLOCK (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/arch/powerpc/kvm/ |
D | book3s_hv_rm_mmu.c | 217 pteh &= ~(HPTE_V_HVLOCK | HPTE_V_ABSENT | HPTE_V_VALID); in kvmppc_do_h_enter() 310 try_lock_hpte(hpte, HPTE_V_HVLOCK | HPTE_V_VALID | in kvmppc_do_h_enter() 325 while (!try_lock_hpte(hpte, HPTE_V_HVLOCK)) in kvmppc_do_h_enter() 339 if (!try_lock_hpte(hpte, HPTE_V_HVLOCK | HPTE_V_VALID | in kvmppc_do_h_enter() 344 while (!try_lock_hpte(hpte, HPTE_V_HVLOCK)) in kvmppc_do_h_enter() 499 while (!try_lock_hpte(hpte, HPTE_V_HVLOCK)) in kvmppc_do_h_remove() 515 v = pte & ~HPTE_V_HVLOCK; in kvmppc_do_h_remove() 593 if (!try_lock_hpte(hp, HPTE_V_HVLOCK)) { in kvmppc_h_bulk_remove() 596 while (!try_lock_hpte(hp, HPTE_V_HVLOCK)) in kvmppc_h_bulk_remove() 622 hp[0] &= ~cpu_to_be64(HPTE_V_HVLOCK); in kvmppc_h_bulk_remove() [all …]
|
D | book3s_64_mmu_hv.c | 375 v = orig_v = be64_to_cpu(hptep[0]) & ~HPTE_V_HVLOCK; in kvmppc_mmu_book3s_64_hv_xlate() 542 while (!try_lock_hpte(hptep, HPTE_V_HVLOCK)) in kvmppc_book3s_hv_page_fault() 544 hpte[0] = be64_to_cpu(hptep[0]) & ~HPTE_V_HVLOCK; in kvmppc_book3s_hv_page_fault() 666 while (!try_lock_hpte(hptep, HPTE_V_HVLOCK)) in kvmppc_book3s_hv_page_fault() 684 if ((hnow_v & ~HPTE_V_HVLOCK) != hpte[0] || hnow_r != hpte[1] || in kvmppc_book3s_hv_page_fault() 828 if (!try_lock_hpte(hptep, HPTE_V_HVLOCK)) { in kvm_unmap_rmapp() 831 while (be64_to_cpu(hptep[0]) & HPTE_V_HVLOCK) in kvm_unmap_rmapp() 914 if (!try_lock_hpte(hptep, HPTE_V_HVLOCK)) { in kvm_age_rmapp() 917 while (be64_to_cpu(hptep[0]) & HPTE_V_HVLOCK) in kvm_age_rmapp() 1060 if (!try_lock_hpte(hptep, HPTE_V_HVLOCK)) { in kvm_test_clear_dirty_npages() [all …]
|
/linux-5.19.10/arch/powerpc/include/asm/ |
D | kvm_book3s_64.h | 161 #define HPTE_V_HVLOCK 0x40UL macro 183 be_lockbit = cpu_to_be64(HPTE_V_HVLOCK); in try_lock_hpte() 202 hpte_v &= ~HPTE_V_HVLOCK; in unlock_hpte() 210 hpte_v &= ~HPTE_V_HVLOCK; in __unlock_hpte()
|