Searched refs:pudval_t (Results 1 – 14 of 14) sorted by relevance
/Linux-v5.4/arch/arm64/include/asm/ |
D | pgtable-hwdef.h | 109 #define PUD_TYPE_TABLE (_AT(pudval_t, 3) << 0) 110 #define PUD_TABLE_BIT (_AT(pudval_t, 1) << 1) 111 #define PUD_TYPE_MASK (_AT(pudval_t, 3) << 0) 112 #define PUD_TYPE_SECT (_AT(pudval_t, 1) << 0) 184 #define PUD_S2_RDONLY (_AT(pudval_t, 1) << 6) /* HAP[2:1] */ 185 #define PUD_S2_RDWR (_AT(pudval_t, 3) << 6) /* HAP[2:1] */ 186 #define PUD_S2_XN (_AT(pudval_t, 2) << 53) /* XN[1:0] */
|
D | pgtable-types.h | 16 typedef u64 pudval_t; typedef 33 typedef struct { pudval_t pud; } pud_t;
|
D | pgalloc.h | 47 static inline void __pud_populate(pud_t *pudp, phys_addr_t pmdp, pudval_t prot) in __pud_populate() 57 static inline void __pud_populate(pud_t *pudp, phys_addr_t pmdp, pudval_t prot) in __pud_populate()
|
/Linux-v5.4/arch/x86/kernel/ |
D | head64.c | 121 pudval_t *pud; in __startup_64() 204 pud[(i + 0) % PTRS_PER_PUD] = (pudval_t)pmd + pgtable_flags; in __startup_64() 205 pud[(i + 1) % PTRS_PER_PUD] = (pudval_t)pmd + pgtable_flags; in __startup_64() 305 pudval_t pud, *pud_p; in __early_make_pgtable() 339 pud_p = (pudval_t *)((p4d & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in __early_make_pgtable() 346 pud_p = (pudval_t *)early_dynamic_pgts[next_early_pgt++]; in __early_make_pgtable() 363 *pud_p = (pudval_t)pmd_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
|
/Linux-v5.4/arch/x86/include/asm/ |
D | pgtable_types.h | 310 static inline p4d_t native_make_p4d(pudval_t val) in native_make_p4d() 322 static inline p4d_t native_make_p4d(pudval_t val) in native_make_p4d() 334 typedef struct { pudval_t pud; } pud_t; 341 static inline pudval_t native_pud_val(pud_t pud) in native_pud_val() 348 static inline pud_t native_make_pud(pudval_t val) in native_make_pud() 353 static inline pudval_t native_pud_val(pud_t pud) in native_pud_val() 401 static inline pudval_t pud_pfn_mask(pud_t pud) in pud_pfn_mask() 409 static inline pudval_t pud_flags_mask(pud_t pud) in pud_flags_mask() 414 static inline pudval_t pud_flags(pud_t pud) in pud_flags()
|
D | pgtable-2level_types.h | 10 typedef unsigned long pudval_t; typedef
|
D | paravirt.h | 491 pudval_t val = native_pud_val(pud); in set_pud() 493 if (sizeof(pudval_t) > sizeof(long)) in set_pud() 499 static inline pud_t __pud(pudval_t val) in __pud() 501 pudval_t ret; in __pud() 503 ret = PVOP_CALLEE1(pudval_t, mmu.make_pud, val); in __pud() 508 static inline pudval_t pud_val(pud_t pud) in pud_val() 510 return PVOP_CALLEE1(pudval_t, mmu.pud_val, pud.pud); in pud_val()
|
D | pgtable-3level_types.h | 10 typedef u64 pudval_t; typedef
|
D | pgtable_64_types.h | 16 typedef unsigned long pudval_t; typedef
|
D | pgtable-2level.h | 70 return __pud(xchg((pudval_t *)xp, 0)); in native_pudp_get_and_clear()
|
D | pgtable.h | 432 static inline pud_t pud_set_flags(pud_t pud, pudval_t set) in pud_set_flags() 434 pudval_t v = native_pud_val(pud); in pud_set_flags() 439 static inline pud_t pud_clear_flags(pud_t pud, pudval_t clear) in pud_clear_flags() 441 pudval_t v = native_pud_val(pud); in pud_clear_flags()
|
/Linux-v5.4/include/trace/events/ |
D | xen.h | 220 TRACE_DEFINE_SIZEOF(pudval_t); 227 __field(pudval_t, pudval) 233 (int)sizeof(pudval_t) * 2, (unsigned long long)pud_val(native_make_pud(__entry->pudval)), 234 (int)sizeof(pudval_t) * 2, (unsigned long long)__entry->pudval) 262 __field(pudval_t, pudval) 268 (int)sizeof(pudval_t) * 2, (unsigned long long)pgd_val(native_make_pgd(__entry->pudval)), 269 (int)sizeof(pudval_t) * 2, (unsigned long long)__entry->pudval)
|
/Linux-v5.4/arch/x86/mm/ |
D | kasan_init_64.c | 271 pudval_t pud_val = __pa_nodebug(kasan_early_shadow_pmd) | _KERNPG_TABLE; in kasan_early_init()
|
/Linux-v5.4/arch/x86/xen/ |
D | mmu_pv.c | 470 __visible pudval_t xen_pud_val(pud_t pud) in xen_pud_val() 476 __visible pud_t xen_make_pud(pudval_t pud) in xen_make_pud()
|