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()
126 pte_t *pte; in arch_exit_mmap() local
128 pte = virt_to_pte(mm, STUB_CODE); in arch_exit_mmap()
129 if (pte != NULL) in arch_exit_mmap()
130 pte_clear(mm, STUB_CODE, pte); in arch_exit_mmap()
132 pte = virt_to_pte(mm, STUB_DATA); in arch_exit_mmap()
133 if (pte == NULL) in arch_exit_mmap()
136 pte_clear(mm, STUB_DATA, pte); in arch_exit_mmap()