Lines Matching refs:old_pmd
28 unsigned long old_pmd, new_pmd; in __hash_page_thp() local
38 old_pmd = pmd_val(pmd); in __hash_page_thp()
40 if (unlikely(old_pmd & H_PAGE_BUSY)) in __hash_page_thp()
43 if (unlikely(!check_pte_access(access, old_pmd))) in __hash_page_thp()
49 new_pmd = old_pmd | H_PAGE_BUSY | _PAGE_ACCESSED; in __hash_page_thp()
52 } while (!pmd_xchg(pmdp, __pmd(old_pmd), __pmd(new_pmd))); in __hash_page_thp()
57 if (!(old_pmd & (H_PAGE_THP_HUGE | _PAGE_DEVMAP))) in __hash_page_thp()
87 if ((old_pmd & H_PAGE_HASHPTE) && !(old_pmd & H_PAGE_COMBO)) { in __hash_page_thp()
133 pa = pmd_pfn(__pmd(old_pmd)) << PAGE_SHIFT; in __hash_page_thp()
165 *pmdp = __pmd(old_pmd); in __hash_page_thp()
167 psize, lpsize, old_pmd); in __hash_page_thp()