Lines Matching refs:ptep

1001 	pte_t *ptep;  in hash_page_mm()  local
1072 ptep = __find_linux_pte_or_hugepte(pgdir, ea, &is_thp, &hugeshift); in hash_page_mm()
1073 if (ptep == NULL || !pte_present(*ptep)) { in hash_page_mm()
1085 if (access & ~pte_val(*ptep)) { in hash_page_mm()
1093 rc = __hash_page_thp(ea, access, vsid, (pmd_t *)ptep, in hash_page_mm()
1097 rc = __hash_page_huge(ea, access, vsid, ptep, trap, in hash_page_mm()
1116 DBG_LOW(" i-pte: %016lx\n", pte_val(*ptep)); in hash_page_mm()
1118 DBG_LOW(" i-pte: %016lx %016lx\n", pte_val(*ptep), in hash_page_mm()
1119 pte_val(*(ptep + PTRS_PER_PTE))); in hash_page_mm()
1124 if ((pte_val(*ptep) & _PAGE_4K_PFN) && psize == MMU_PAGE_64K) { in hash_page_mm()
1133 (pte_val(*ptep) & _PAGE_NO_CACHE)) { in hash_page_mm()
1157 rc = __hash_page_64K(ea, access, vsid, ptep, trap, in hash_page_mm()
1166 rc = __hash_page_4K(ea, access, vsid, ptep, trap, in hash_page_mm()
1175 psize, pte_val(*ptep)); in hash_page_mm()
1177 DBG_LOW(" o-pte: %016lx\n", pte_val(*ptep)); in hash_page_mm()
1179 DBG_LOW(" o-pte: %016lx %016lx\n", pte_val(*ptep), in hash_page_mm()
1180 pte_val(*(ptep + PTRS_PER_PTE))); in hash_page_mm()
1212 pte_t *ptep; in hash_preload() local
1247 ptep = find_linux_pte_or_hugepte(pgdir, ea, NULL, &hugepage_shift); in hash_preload()
1248 if (!ptep) in hash_preload()
1259 if (pte_val(*ptep) & (_PAGE_4K_PFN | _PAGE_NO_CACHE)) in hash_preload()
1270 rc = __hash_page_64K(ea, access, vsid, ptep, trap, in hash_preload()
1274 rc = __hash_page_4K(ea, access, vsid, ptep, trap, update_flags, in hash_preload()
1284 pte_val(*ptep)); in hash_preload()