Home
last modified time | relevance | path

Searched refs:pgdval_t (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/arch/x86/kernel/
Dhead64.c149 pgdval_t *pgd; in __startup_64()
185 pgd[pgd_index(__START_KERNEL_map)] = (pgdval_t)p4d | _PAGE_TABLE; in __startup_64()
211 pgd[i + 0] = (pgdval_t)p4d + pgtable_flags; in __startup_64()
212 pgd[i + 1] = (pgdval_t)p4d + pgtable_flags; in __startup_64()
215 p4d[(i + 0) % PTRS_PER_P4D] = (pgdval_t)pud + pgtable_flags; in __startup_64()
216 p4d[(i + 1) % PTRS_PER_P4D] = (pgdval_t)pud + pgtable_flags; in __startup_64()
219 pgd[i + 0] = (pgdval_t)pud + pgtable_flags; in __startup_64()
220 pgd[i + 1] = (pgdval_t)pud + pgtable_flags; in __startup_64()
285 pgdval_t pgd, *pgd_p; in __early_make_pgtable()
315 *pgd_p = (pgdval_t)p4d_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
/linux-6.12.1/arch/arm/include/asm/
Dpgtable-3level-types.h15 typedef u64 pgdval_t; typedef
26 typedef struct { pgdval_t pgd; } pgd_t;
43 typedef pgdval_t pgd_t;
Dpgtable-3level-hwdef.h26 #define PMD_APTABLE (_AT(pgdval_t, 3) << PGD_APTABLE_SHIFT)
27 #define PMD_PXNTABLE (_AT(pgdval_t, 1) << 59)
Dpgtable-3level.h110 #define L_PGD_SWAPPER (_AT(pgdval_t, 1) << 55) /* swapper_pg_dir entry */
/linux-6.12.1/arch/arm64/include/asm/
Dpgtable-hwdef.h99 #define PGD_TYPE_TABLE (_AT(pgdval_t, 3) << 0)
100 #define PGD_TABLE_BIT (_AT(pgdval_t, 1) << 1)
101 #define PGD_TYPE_MASK (_AT(pgdval_t, 3) << 0)
102 #define PGD_TABLE_PXN (_AT(pgdval_t, 1) << 59)
103 #define PGD_TABLE_UXN (_AT(pgdval_t, 1) << 60)
Dpgalloc.h74 static inline void __pgd_populate(pgd_t *pgdp, phys_addr_t p4dp, pgdval_t prot) in __pgd_populate()
82 pgdval_t pgdval = PGD_TYPE_TABLE; in pgd_populate()
107 static inline void __pgd_populate(pgd_t *pgdp, phys_addr_t p4dp, pgdval_t prot) in __pgd_populate()
Dpgtable-types.h18 typedef u64 pgdval_t; typedef
45 typedef struct { pgdval_t pgd; } pgd_t;
/linux-6.12.1/arch/x86/include/asm/
Dpgtable_types.h295 typedef struct { pgdval_t pgd; } pgd_t;
326 static inline pgd_t native_make_pgd(pgdval_t val) in native_make_pgd()
331 static inline pgdval_t native_pgd_val(pgd_t pgd) in native_pgd_val()
336 static inline pgdval_t pgd_flags(pgd_t pgd) in pgd_flags()
358 return (p4d_t) { .pgd = native_make_pgd((pgdval_t)val) }; in native_make_p4d()
Dpgtable-2level_types.h12 typedef unsigned long pgdval_t; typedef
Dpgtable-3level_types.h12 typedef u64 pgdval_t; typedef
Dparavirt.h404 static inline pgd_t __pgd(pgdval_t val) in __pgd()
406 return (pgd_t) { PVOP_ALT_CALLEE1(pgdval_t, mmu.make_pgd, val, in __pgd()
410 static inline pgdval_t pgd_val(pgd_t pgd) in pgd_val()
412 return PVOP_ALT_CALLEE1(pgdval_t, mmu.pgd_val, pgd.pgd, in pgd_val()
Dpgtable_64_types.h18 typedef unsigned long pgdval_t; typedef
/linux-6.12.1/arch/x86/xen/
Dmmu_pv.c92 pgdval_t xen_pgd_val(pgd_t pgd);
97 pgd_t xen_make_pgd(pgdval_t pgd);
381 __visible pgdval_t xen_pgd_val(pgd_t pgd) in xen_pgd_val()
395 __visible pgd_t xen_make_pgd(pgdval_t pgd) in xen_make_pgd()
/linux-6.12.1/Documentation/mm/
Dpage_tables.rst116 - **pgd**, `pgd_t`, `pgdval_t` = **Page Global Directory** - the Linux kernel
/linux-6.12.1/arch/arm64/mm/
Dmmu.c394 pgdval_t pgdval = PGD_TYPE_TABLE | PGD_TABLE_UXN; in alloc_init_p4d()