Home
last modified time | relevance | path

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

/arch/x86/kernel/
Dhead64.c55 pgdval_t *pgd; in __startup_64()
117 pgd[i + 0] = (pgdval_t)p4d + pgtable_flags; in __startup_64()
118 pgd[i + 1] = (pgdval_t)p4d + pgtable_flags; in __startup_64()
121 p4d[(i + 0) % PTRS_PER_P4D] = (pgdval_t)pud + pgtable_flags; in __startup_64()
122 p4d[(i + 1) % PTRS_PER_P4D] = (pgdval_t)pud + pgtable_flags; in __startup_64()
125 pgd[i + 0] = (pgdval_t)pud + pgtable_flags; in __startup_64()
126 pgd[i + 1] = (pgdval_t)pud + pgtable_flags; in __startup_64()
212 pgdval_t pgd, *pgd_p; in __early_make_pgtable()
242 *pgd_p = (pgdval_t)p4d_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
/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 */
/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 pud, pgdval_t prot) in __pgd_populate()
84 static inline void __pgd_populate(pgd_t *pgdp, phys_addr_t pud, pgdval_t prot) in __pgd_populate()
Dpgtable-hwdef.h119 #define PUD_TABLE_BIT (_AT(pgdval_t, 1) << 1)
120 #define PUD_TYPE_MASK (_AT(pgdval_t, 3) << 0)
121 #define PUD_TYPE_SECT (_AT(pgdval_t, 1) << 0)
/arch/x86/include/asm/
Dpgtable-2level_types.h12 typedef unsigned long pgdval_t; typedef
Dparavirt.h390 static inline pgd_t __pgd(pgdval_t val) in __pgd()
392 pgdval_t ret; in __pgd()
394 if (sizeof(pgdval_t) > sizeof(long)) in __pgd()
395 ret = PVOP_CALLEE2(pgdval_t, pv_mmu_ops.make_pgd, in __pgd()
398 ret = PVOP_CALLEE1(pgdval_t, pv_mmu_ops.make_pgd, in __pgd()
404 static inline pgdval_t pgd_val(pgd_t pgd) in pgd_val()
406 pgdval_t ret; in pgd_val()
408 if (sizeof(pgdval_t) > sizeof(long)) in pgd_val()
409 ret = PVOP_CALLEE2(pgdval_t, pv_mmu_ops.pgd_val, in pgd_val()
412 ret = PVOP_CALLEE1(pgdval_t, pv_mmu_ops.pgd_val, in pgd_val()
[all …]
Dpgtable-3level_types.h12 typedef u64 pgdval_t; typedef
Dpgtable_types.h268 typedef struct { pgdval_t pgd; } pgd_t;
270 static inline pgd_t native_make_pgd(pgdval_t val) in native_make_pgd()
275 static inline pgdval_t native_pgd_val(pgd_t pgd) in native_pgd_val()
280 static inline pgdval_t pgd_flags(pgd_t pgd) in pgd_flags()
302 return (p4d_t) { .pgd = native_make_pgd((pgdval_t)val) }; in native_make_p4d()
Dpgtable_64_types.h18 typedef unsigned long pgdval_t; typedef
/arch/x86/mm/
Dmem_encrypt.c285 pgd = native_make_pgd((pgdval_t)p4d_p + PGD_FLAGS); in sme_prepare_pgd()
291 pgd = native_make_pgd((pgdval_t)pud_p + PGD_FLAGS); in sme_prepare_pgd()
/arch/x86/xen/
Dmmu_pv.c365 __visible pgdval_t xen_pgd_val(pgd_t pgd) in xen_pgd_val()
379 __visible pgd_t xen_make_pgd(pgdval_t pgd) in xen_make_pgd()