Home
last modified time | relevance | path

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

/linux-6.1.9/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.h25 #define PMD_APTABLE (_AT(pgdval_t, 3) << PGD_APTABLE_SHIFT)
26 #define PMD_PXNTABLE (_AT(pgdval_t, 1) << 59)
Dpgtable-3level.h107 #define L_PGD_SWAPPER (_AT(pgdval_t, 1) << 55) /* swapper_pg_dir entry */
/linux-6.1.9/arch/x86/kernel/
Dhead64.c184 pgdval_t *pgd; in __startup_64()
253 pgd[i + 0] = (pgdval_t)p4d + pgtable_flags; in __startup_64()
254 pgd[i + 1] = (pgdval_t)p4d + pgtable_flags; in __startup_64()
257 p4d[(i + 0) % PTRS_PER_P4D] = (pgdval_t)pud + pgtable_flags; in __startup_64()
258 p4d[(i + 1) % PTRS_PER_P4D] = (pgdval_t)pud + pgtable_flags; in __startup_64()
261 pgd[i + 0] = (pgdval_t)pud + pgtable_flags; in __startup_64()
262 pgd[i + 1] = (pgdval_t)pud + pgtable_flags; in __startup_64()
334 pgdval_t pgd, *pgd_p; in __early_make_pgtable()
364 *pgd_p = (pgdval_t)p4d_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
/linux-6.1.9/arch/arm64/include/asm/
Dpgtable-types.h18 typedef u64 pgdval_t; typedef
39 typedef struct { pgdval_t pgd; } pgd_t;
/linux-6.1.9/arch/x86/include/asm/
Dpgtable_types.h265 typedef struct { pgdval_t pgd; } pgd_t;
296 static inline pgd_t native_make_pgd(pgdval_t val) in native_make_pgd()
301 static inline pgdval_t native_pgd_val(pgd_t pgd) in native_pgd_val()
306 static inline pgdval_t pgd_flags(pgd_t pgd) in pgd_flags()
328 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.h408 static inline pgd_t __pgd(pgdval_t val) in __pgd()
410 return (pgd_t) { PVOP_ALT_CALLEE1(pgdval_t, mmu.make_pgd, val, in __pgd()
415 static inline pgdval_t pgd_val(pgd_t pgd) in pgd_val()
417 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.1.9/arch/x86/xen/
Dmmu_pv.c366 __visible pgdval_t xen_pgd_val(pgd_t pgd) in xen_pgd_val()
380 __visible pgd_t xen_make_pgd(pgdval_t pgd) in xen_make_pgd()