Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/kernel/
Dhead64.c119 pgdval_t *pgd; in __startup_64()
190 pgd[i + 0] = (pgdval_t)p4d + pgtable_flags; in __startup_64()
191 pgd[i + 1] = (pgdval_t)p4d + pgtable_flags; in __startup_64()
194 p4d[i + 0] = (pgdval_t)pud + pgtable_flags; in __startup_64()
195 p4d[i + 1] = (pgdval_t)pud + pgtable_flags; in __startup_64()
198 pgd[i + 0] = (pgdval_t)pud + pgtable_flags; in __startup_64()
199 pgd[i + 1] = (pgdval_t)pud + pgtable_flags; in __startup_64()
283 pgdval_t pgd, *pgd_p; in __early_make_pgtable()
313 *pgd_p = (pgdval_t)p4d_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
/Linux-v4.19/arch/arm/include/asm/
Dpgtable-3level-types.h27 typedef u64 pgdval_t; typedef
38 typedef struct { pgdval_t pgd; } pgd_t;
55 typedef pgdval_t pgd_t;
Dpgtable-3level-hwdef.h37 #define PMD_APTABLE (_AT(pgdval_t, 3) << PGD_APTABLE_SHIFT)
38 #define PMD_PXNTABLE (_AT(pgdval_t, 1) << 59)
Dpgtable-3level.h117 #define L_PGD_SWAPPER (_AT(pgdval_t, 1) << 55) /* swapper_pg_dir entry */
/Linux-v4.19/arch/arm64/include/asm/
Dpgtable-types.h28 typedef u64 pgdval_t; typedef
49 typedef struct { pgdval_t pgd; } pgd_t;
Dpgalloc.h74 static inline void __pgd_populate(pgd_t *pgdp, phys_addr_t pudp, pgdval_t prot) in __pgd_populate()
84 static inline void __pgd_populate(pgd_t *pgdp, phys_addr_t pudp, pgdval_t prot) in __pgd_populate()
/Linux-v4.19/arch/x86/include/asm/
Dparavirt.h395 static inline pgd_t __pgd(pgdval_t val) in __pgd()
397 pgdval_t ret; in __pgd()
399 if (sizeof(pgdval_t) > sizeof(long)) in __pgd()
400 ret = PVOP_CALLEE2(pgdval_t, pv_mmu_ops.make_pgd, in __pgd()
403 ret = PVOP_CALLEE1(pgdval_t, pv_mmu_ops.make_pgd, in __pgd()
409 static inline pgdval_t pgd_val(pgd_t pgd) in pgd_val()
411 pgdval_t ret; in pgd_val()
413 if (sizeof(pgdval_t) > sizeof(long)) in pgd_val()
414 ret = PVOP_CALLEE2(pgdval_t, pv_mmu_ops.pgd_val, in pgd_val()
417 ret = PVOP_CALLEE1(pgdval_t, pv_mmu_ops.pgd_val, in pgd_val()
Dpgtable_types.h268 typedef struct { pgdval_t pgd; } pgd_t;
293 static inline pgd_t native_make_pgd(pgdval_t val) in native_make_pgd()
298 static inline pgdval_t native_pgd_val(pgd_t pgd) in native_pgd_val()
303 static inline pgdval_t pgd_flags(pgd_t pgd) in pgd_flags()
325 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
Dpgtable_64_types.h18 typedef unsigned long pgdval_t; typedef
/Linux-v4.19/arch/x86/xen/
Dmmu_pv.c375 __visible pgdval_t xen_pgd_val(pgd_t pgd) in xen_pgd_val()
389 __visible pgd_t xen_make_pgd(pgdval_t pgd) in xen_make_pgd()