Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/kernel/
Despfix_64.c136 pmd_t pmd, *pmd_p; in init_espfix_ap() local
169 pmd_p = (pmd_t *)page_address(page); in init_espfix_ap()
170 pud = __pud(__pa(pmd_p) | (PGTABLE_PROT & ptemask)); in init_espfix_ap()
171 paravirt_alloc_pmd(&init_mm, __pa(pmd_p) >> PAGE_SHIFT); in init_espfix_ap()
176 pmd_p = pmd_offset(&pud, addr); in init_espfix_ap()
177 pmd = *pmd_p; in init_espfix_ap()
185 set_pmd(&pmd_p[n], pmd); in init_espfix_ap()
Dhead64.c337 pmdval_t *pmd_p; in __early_make_pgtable() local
385 pmd_p = (pmdval_t *)((pud & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in __early_make_pgtable()
392 pmd_p = (pmdval_t *)early_dynamic_pgts[next_early_pgt++]; in __early_make_pgtable()
393 memset(pmd_p, 0, sizeof(*pmd_p) * PTRS_PER_PMD); in __early_make_pgtable()
394 *pud_p = (pudval_t)pmd_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
396 pmd_p[pmd_index(address)] = pmd; in __early_make_pgtable()
/linux-6.1.9/arch/s390/mm/
Dgmap.c969 int pmd_p = pmd_val(*pmdp) & _SEGMENT_ENTRY_PROTECT; in gmap_protect_pmd() local
973 if ((pmd_i && (prot != PROT_NONE)) || (pmd_p && (prot == PROT_WRITE))) in gmap_protect_pmd()
981 if (prot == PROT_READ && !pmd_p) { in gmap_protect_pmd()