Home
last modified time | relevance | path

Searched refs:pte_p (Results 1 – 3 of 3) sorted by relevance

/arch/x86/kernel/
Despfix_64.c145 pte_t pte, *pte_p; in init_espfix_ap() local
189 pte_p = (pte_t *)page_address(page); in init_espfix_ap()
190 pmd = __pmd(__pa(pte_p) | (PGTABLE_PROT & ptemask)); in init_espfix_ap()
191 paravirt_alloc_pte(&init_mm, __pa(pte_p) >> PAGE_SHIFT); in init_espfix_ap()
196 pte_p = pte_offset_kernel(&pmd, addr); in init_espfix_ap()
200 set_pte(&pte_p[n*PTE_STRIDE], pte); in init_espfix_ap()
/arch/x86/mm/
Dmem_encrypt.c348 pte_t *pte_p; in sme_populate_pgd() local
359 pte_p = (pte_t *)(native_pmd_val(*pmd_p) & ~PTE_FLAGS_MASK); in sme_populate_pgd()
363 pte_p = ppd->pgtable_area; in sme_populate_pgd()
364 memset(pte_p, 0, sizeof(*pte_p) * PTRS_PER_PTE); in sme_populate_pgd()
365 ppd->pgtable_area += sizeof(*pte_p) * PTRS_PER_PTE; in sme_populate_pgd()
367 pmd = native_make_pmd((pteval_t)pte_p + PMD_FLAGS); in sme_populate_pgd()
371 pte_p += pte_index(ppd->vaddr); in sme_populate_pgd()
372 if (!native_pte_val(*pte_p)) in sme_populate_pgd()
373 native_set_pte(pte_p, native_make_pte(ppd->paddr | ppd->pte_flags)); in sme_populate_pgd()
/arch/s390/mm/
Dpgtable.c568 int pte_i, pte_p, nodat; in ptep_force_prot() local
574 pte_p = pte_val(entry) & _PAGE_PROTECT; in ptep_force_prot()
576 (pte_p && (prot & PROT_WRITE))) { in ptep_force_prot()
587 if (prot == PROT_READ && !pte_p) { in ptep_force_prot()