Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/kernel/
Despfix_64.c130 pmd_t pmd, *pmd_p; in init_espfix_ap() local
167 pmd_p = (pmd_t *)page_address(page); in init_espfix_ap()
168 pud = __pud(__pa(pmd_p) | (PGTABLE_PROT & ptemask)); in init_espfix_ap()
169 paravirt_alloc_pmd(&init_mm, __pa(pmd_p) >> PAGE_SHIFT); in init_espfix_ap()
174 pmd_p = pmd_offset(&pud, addr); in init_espfix_ap()
175 pmd = *pmd_p; in init_espfix_ap()
183 set_pmd(&pmd_p[n], pmd); in init_espfix_ap()
Dhead64.c288 pmdval_t *pmd_p; in __early_make_pgtable() local
336 pmd_p = (pmdval_t *)((pud & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in __early_make_pgtable()
343 pmd_p = (pmdval_t *)early_dynamic_pgts[next_early_pgt++]; in __early_make_pgtable()
344 memset(pmd_p, 0, sizeof(*pmd_p) * PTRS_PER_PMD); in __early_make_pgtable()
345 *pud_p = (pudval_t)pmd_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
347 pmd_p[pmd_index(address)] = pmd; in __early_make_pgtable()
/linux-6.12.1/arch/s390/mm/
Dgmap.c982 int pmd_p = pmd_val(*pmdp) & _SEGMENT_ENTRY_PROTECT; in gmap_protect_pmd() local
986 if ((pmd_i && (prot != PROT_NONE)) || (pmd_p && (prot == PROT_WRITE))) in gmap_protect_pmd()
994 if (prot == PROT_READ && !pmd_p) { in gmap_protect_pmd()