Lines Matching refs:new_pte
46 unsigned long old_pte, new_pte, subpg_pte; in __hash_page_4K() local
68 new_pte = old_pte | H_PAGE_BUSY | _PAGE_ACCESSED | H_PAGE_COMBO; in __hash_page_4K()
70 new_pte |= _PAGE_DIRTY; in __hash_page_4K()
71 } while (!pte_xchg(ptep, __pte(old_pte), __pte(new_pte))); in __hash_page_4K()
76 subpg_pte = new_pte & ~subpg_prot; in __hash_page_4K()
109 new_pte &= ~H_PAGE_HASHPTE; in __hash_page_4K()
131 *ptep = __pte(new_pte & ~H_PAGE_BUSY); in __hash_page_4K()
218 new_pte |= pte_set_hidx(ptep, rpte, subpg_index, slot, PTRS_PER_PTE); in __hash_page_4K()
219 new_pte |= H_PAGE_HASHPTE; in __hash_page_4K()
224 *ptep = __pte(new_pte & ~H_PAGE_BUSY); in __hash_page_4K()
235 unsigned long old_pte, new_pte; in __hash_page_64K() local
263 new_pte = old_pte | H_PAGE_BUSY | _PAGE_ACCESSED; in __hash_page_64K()
265 new_pte |= _PAGE_DIRTY; in __hash_page_64K()
266 } while (!pte_xchg(ptep, __pte(old_pte), __pte(new_pte))); in __hash_page_64K()
268 rflags = htab_convert_pte_flags(new_pte, flags); in __hash_page_64K()
333 new_pte = (new_pte & ~_PAGE_HPTEFLAGS) | H_PAGE_HASHPTE; in __hash_page_64K()
334 new_pte |= pte_set_hidx(ptep, rpte, 0, slot, PTRS_PER_PTE); in __hash_page_64K()
340 *ptep = __pte(new_pte & ~H_PAGE_BUSY); in __hash_page_64K()