Home
last modified time | relevance | path

Searched refs:pudval_t (Results 1 – 16 of 16) sorted by relevance

/linux/arch/arm64/include/asm/
H A Dpgtable-hwdef.h119 #define PUD_TYPE_TABLE (_AT(pudval_t, 3) << 0)
120 #define PUD_TABLE_BIT (_AT(pudval_t, 1) << 1)
121 #define PUD_TYPE_MASK (_AT(pudval_t, 3) << 0)
122 #define PUD_TYPE_SECT (_AT(pudval_t, 1) << 0)
123 #define PUD_SECT_RDONLY (_AT(pudval_t, 1) << 7) /* AP[2] */
124 #define PUD_TABLE_PXN (_AT(pudval_t, 1) << 59)
125 #define PUD_TABLE_UXN (_AT(pudval_t, 1) << 60)
H A Dpgalloc.h24 static inline void __pud_populate(pud_t *pudp, phys_addr_t pmdp, pudval_t prot) in __pud_populate()
31 pudval_t pudval = PUD_TYPE_TABLE; in pud_populate()
37 static inline void __pud_populate(pud_t *pudp, phys_addr_t pmdp, pudval_t prot) in __pud_populate()
H A Dpgtable-types.h16 typedef u64 pudval_t; typedef
34 typedef struct { pudval_t pud; } pud_t;
/linux/arch/x86/include/asm/
H A Dpgtable_types.h344 static inline p4d_t native_make_p4d(pudval_t val) in native_make_p4d()
356 static inline p4d_t native_make_p4d(pudval_t val) in native_make_p4d()
368 typedef struct { pudval_t pud; } pud_t;
375 static inline pudval_t native_pud_val(pud_t pud) in native_pud_val()
382 static inline pud_t native_make_pud(pudval_t val) in native_make_pud()
387 static inline pudval_t native_pud_val(pud_t pud) in native_pud_val()
433 static inline pudval_t pud_pfn_mask(pud_t pud) in pud_pfn_mask()
441 static inline pudval_t pud_flags_mask(pud_t pud) in pud_flags_mask()
446 static inline pudval_t pud_flags(pud_t pud) in pud_flags()
H A Dpgtable-2level_types.h10 typedef unsigned long pudval_t; typedef
H A Dparavirt.h461 static inline pud_t __pud(pudval_t val) in __pud()
463 pudval_t ret; in __pud()
465 ret = PVOP_ALT_CALLEE1(pudval_t, mmu.make_pud, val, in __pud()
471 static inline pudval_t pud_val(pud_t pud) in pud_val()
473 return PVOP_ALT_CALLEE1(pudval_t, mmu.pud_val, pud.pud, in pud_val()
H A Dpgtable-3level_types.h10 typedef u64 pudval_t; typedef
H A Dpgtable.h137 static inline pud_t pud_set_flags(pud_t pud, pudval_t set) in pud_set_flags()
139 pudval_t v = native_pud_val(pud); in pud_set_flags()
144 static inline pud_t pud_clear_flags(pud_t pud, pudval_t clear) in pud_clear_flags()
146 pudval_t v = native_pud_val(pud); in pud_clear_flags()
639 pudval_t v = native_pud_val(pud); in pud_mksaveddirty()
648 pudval_t v = native_pud_val(pud); in pud_clear_saveddirty()
880 pudval_t val = pud_val(pud), oldval = val; in pud_modify()
H A Dpgtable-2level.h70 return __pud(xchg((pudval_t *)xp, 0)); in native_pudp_get_and_clear()
H A Dpgtable_64_types.h16 typedef unsigned long pudval_t; typedef
/linux/arch/x86/kernel/
H A Dhead64.c151 pudval_t *pud; in __startup_64()
224 pud[(i + 0) % PTRS_PER_PUD] = (pudval_t)pmd + pgtable_flags; in __startup_64()
225 pud[(i + 1) % PTRS_PER_PUD] = (pudval_t)pmd + pgtable_flags; in __startup_64()
287 pudval_t pud, *pud_p; in __early_make_pgtable()
321 pud_p = (pudval_t *)((p4d & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in __early_make_pgtable()
328 pud_p = (pudval_t *)early_dynamic_pgts[next_early_pgt++]; in __early_make_pgtable()
345 *pud_p = (pudval_t)pmd_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
/linux/include/trace/events/
H A Dxen.h204 TRACE_DEFINE_SIZEOF(pudval_t);
211 __field(pudval_t, pudval)
217 (int)sizeof(pudval_t) * 2, (unsigned long long)pud_val(native_make_pud(__entry->pudval)),
218 (int)sizeof(pudval_t) * 2, (unsigned long long)__entry->pudval)
246 __field(pudval_t, pudval)
252 (int)sizeof(pudval_t) * 2, (unsigned long long)pgd_val(native_make_pgd(__entry->pudval)),
253 (int)sizeof(pudval_t) * 2, (unsigned long long)__entry->pudval)
/linux/arch/x86/xen/
H A Dmmu_pv.c94 pudval_t xen_pud_val(pud_t pud);
99 pud_t xen_make_pud(pudval_t pud);
447 __visible pudval_t xen_pud_val(pud_t pud) in xen_pud_val()
453 __visible pud_t xen_make_pud(pudval_t pud) in xen_make_pud()
/linux/arch/x86/mm/
H A Dkasan_init_64.c294 pudval_t pud_val = __pa_nodebug(kasan_early_shadow_pmd) | _KERNPG_TABLE; in kasan_early_init()
/linux/Documentation/mm/
H A Dpage_tables.rst105 - **pud**, `pud_t`, `pudval_t` = **Page Upper Directory** was introduced after
/linux/arch/arm64/mm/
H A Dmmu.c291 pudval_t pudval = PUD_TYPE_TABLE | PUD_TABLE_UXN; in alloc_init_cont_pmd()