Lines Matching refs:pte
23 pte_t *pte; in init_stub_pte() local
34 pte = pte_alloc_map(mm, NULL, pmd, proc); in init_stub_pte()
35 if (!pte) in init_stub_pte()
38 *pte = mk_pte(virt_to_page(kernel), __pgprot(_PAGE_PRESENT)); in init_stub_pte()
39 *pte = pte_mkread(*pte); in init_stub_pte()
124 pte_t *pte; in arch_exit_mmap() local
126 pte = virt_to_pte(mm, STUB_CODE); in arch_exit_mmap()
127 if (pte != NULL) in arch_exit_mmap()
128 pte_clear(mm, STUB_CODE, pte); in arch_exit_mmap()
130 pte = virt_to_pte(mm, STUB_DATA); in arch_exit_mmap()
131 if (pte == NULL) in arch_exit_mmap()
134 pte_clear(mm, STUB_DATA, pte); in arch_exit_mmap()