Searched refs:pgdval_t (Results 1 – 14 of 14) sorted by relevance
/arch/x86/kernel/ |
D | head64.c | 55 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/ |
D | pgtable-3level-types.h | 27 typedef u64 pgdval_t; typedef 38 typedef struct { pgdval_t pgd; } pgd_t; 55 typedef pgdval_t pgd_t;
|
D | pgtable-3level-hwdef.h | 37 #define PMD_APTABLE (_AT(pgdval_t, 3) << PGD_APTABLE_SHIFT) 38 #define PMD_PXNTABLE (_AT(pgdval_t, 1) << 59)
|
D | pgtable-3level.h | 117 #define L_PGD_SWAPPER (_AT(pgdval_t, 1) << 55) /* swapper_pg_dir entry */
|
/arch/arm64/include/asm/ |
D | pgtable-types.h | 28 typedef u64 pgdval_t; typedef 49 typedef struct { pgdval_t pgd; } pgd_t;
|
D | pgalloc.h | 74 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()
|
D | pgtable-hwdef.h | 119 #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/ |
D | pgtable-2level_types.h | 12 typedef unsigned long pgdval_t; typedef
|
D | paravirt.h | 390 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 …]
|
D | pgtable-3level_types.h | 12 typedef u64 pgdval_t; typedef
|
D | pgtable_types.h | 268 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()
|
D | pgtable_64_types.h | 18 typedef unsigned long pgdval_t; typedef
|
/arch/x86/mm/ |
D | mem_encrypt.c | 285 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/ |
D | mmu_pv.c | 365 __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()
|