Searched refs:pgdval_t (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.4/arch/x86/kernel/ |
D | head64.c | 119 pgdval_t *pgd; in __startup_64() 191 pgd[i + 0] = (pgdval_t)p4d + pgtable_flags; in __startup_64() 192 pgd[i + 1] = (pgdval_t)p4d + pgtable_flags; in __startup_64() 195 p4d[(i + 0) % PTRS_PER_P4D] = (pgdval_t)pud + pgtable_flags; in __startup_64() 196 p4d[(i + 1) % PTRS_PER_P4D] = (pgdval_t)pud + pgtable_flags; in __startup_64() 199 pgd[i + 0] = (pgdval_t)pud + pgtable_flags; in __startup_64() 200 pgd[i + 1] = (pgdval_t)pud + pgtable_flags; in __startup_64() 303 pgdval_t pgd, *pgd_p; in __early_make_pgtable() 333 *pgd_p = (pgdval_t)p4d_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
|
/Linux-v5.4/arch/arm/include/asm/ |
D | pgtable-3level-types.h | 15 typedef u64 pgdval_t; typedef 26 typedef struct { pgdval_t pgd; } pgd_t; 43 typedef pgdval_t pgd_t;
|
D | pgtable-3level-hwdef.h | 25 #define PMD_APTABLE (_AT(pgdval_t, 3) << PGD_APTABLE_SHIFT) 26 #define PMD_PXNTABLE (_AT(pgdval_t, 1) << 59)
|
D | pgtable-3level.h | 105 #define L_PGD_SWAPPER (_AT(pgdval_t, 1) << 55) /* swapper_pg_dir entry */
|
/Linux-v5.4/arch/arm64/include/asm/ |
D | pgtable-types.h | 17 typedef u64 pgdval_t; typedef 38 typedef struct { pgdval_t pgd; } pgd_t;
|
D | pgalloc.h | 76 static inline void __pgd_populate(pgd_t *pgdp, phys_addr_t pudp, pgdval_t prot) in __pgd_populate() 86 static inline void __pgd_populate(pgd_t *pgdp, phys_addr_t pudp, pgdval_t prot) in __pgd_populate()
|
/Linux-v5.4/arch/x86/include/asm/ |
D | paravirt.h | 387 static inline pgd_t __pgd(pgdval_t val) in __pgd() 389 pgdval_t ret; in __pgd() 391 if (sizeof(pgdval_t) > sizeof(long)) in __pgd() 392 ret = PVOP_CALLEE2(pgdval_t, mmu.make_pgd, val, (u64)val >> 32); in __pgd() 394 ret = PVOP_CALLEE1(pgdval_t, mmu.make_pgd, val); in __pgd() 399 static inline pgdval_t pgd_val(pgd_t pgd) in pgd_val() 401 pgdval_t ret; in pgd_val() 403 if (sizeof(pgdval_t) > sizeof(long)) in pgd_val() 404 ret = PVOP_CALLEE2(pgdval_t, mmu.pgd_val, in pgd_val() 407 ret = PVOP_CALLEE1(pgdval_t, mmu.pgd_val, pgd.pgd); in pgd_val()
|
D | pgtable_types.h | 267 typedef struct { pgdval_t pgd; } pgd_t; 292 static inline pgd_t native_make_pgd(pgdval_t val) in native_make_pgd() 297 static inline pgdval_t native_pgd_val(pgd_t pgd) in native_pgd_val() 302 static inline pgdval_t pgd_flags(pgd_t pgd) in pgd_flags() 324 return (p4d_t) { .pgd = native_make_pgd((pgdval_t)val) }; in native_make_p4d()
|
D | pgtable-2level_types.h | 12 typedef unsigned long pgdval_t; typedef
|
D | pgtable-3level_types.h | 12 typedef u64 pgdval_t; typedef
|
D | pgtable_64_types.h | 18 typedef unsigned long pgdval_t; typedef
|
/Linux-v5.4/arch/x86/xen/ |
D | mmu_pv.c | 383 __visible pgdval_t xen_pgd_val(pgd_t pgd) in xen_pgd_val() 397 __visible pgd_t xen_make_pgd(pgdval_t pgd) in xen_make_pgd()
|