Home
last modified time | relevance | path

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

/Linux-v5.10/arch/x86/include/asm/
Dpgtable_types.h335 static inline p4d_t native_make_p4d(pudval_t val) in native_make_p4d()
347 static inline p4d_t native_make_p4d(pudval_t val) in native_make_p4d()
359 typedef struct { pudval_t pud; } pud_t;
366 static inline pudval_t native_pud_val(pud_t pud) in native_pud_val()
373 static inline pud_t native_make_pud(pudval_t val) in native_make_pud()
378 static inline pudval_t native_pud_val(pud_t pud) in native_pud_val()
426 static inline pudval_t pud_pfn_mask(pud_t pud) in pud_pfn_mask()
434 static inline pudval_t pud_flags_mask(pud_t pud) in pud_flags_mask()
439 static inline pudval_t pud_flags(pud_t pud) in pud_flags()
Dpgtable-2level_types.h10 typedef unsigned long pudval_t; typedef
Dpgtable-3level_types.h10 typedef u64 pudval_t; typedef
Dparavirt.h435 static inline pud_t __pud(pudval_t val) in __pud()
437 pudval_t ret; in __pud()
439 ret = PVOP_CALLEE1(pudval_t, mmu.make_pud, val); in __pud()
444 static inline pudval_t pud_val(pud_t pud) in pud_val()
446 return PVOP_CALLEE1(pudval_t, mmu.pud_val, pud.pud); in pud_val()
Dpgtable_64_types.h16 typedef unsigned long pudval_t; typedef
Dpgtable-2level.h70 return __pud(xchg((pudval_t *)xp, 0)); in native_pudp_get_and_clear()
Dpgtable.h470 static inline pud_t pud_set_flags(pud_t pud, pudval_t set) in pud_set_flags()
472 pudval_t v = native_pud_val(pud); in pud_set_flags()
477 static inline pud_t pud_clear_flags(pud_t pud, pudval_t clear) in pud_clear_flags()
479 pudval_t v = native_pud_val(pud); in pud_clear_flags()
/Linux-v5.10/arch/arm64/include/asm/
Dpgtable-hwdef.h99 #define PUD_TYPE_TABLE (_AT(pudval_t, 3) << 0)
100 #define PUD_TABLE_BIT (_AT(pudval_t, 1) << 1)
101 #define PUD_TYPE_MASK (_AT(pudval_t, 3) << 0)
102 #define PUD_TYPE_SECT (_AT(pudval_t, 1) << 0)
103 #define PUD_SECT_RDONLY (_AT(pudval_t, 1) << 7) /* AP[2] */
Dpgtable-types.h16 typedef u64 pudval_t; typedef
34 typedef struct { pudval_t pud; } pud_t;
Dpgalloc.h23 static inline void __pud_populate(pud_t *pudp, phys_addr_t pmdp, pudval_t prot) in __pud_populate()
33 static inline void __pud_populate(pud_t *pudp, phys_addr_t pmdp, pudval_t prot) in __pud_populate()
/Linux-v5.10/arch/x86/kernel/
Dhead64.c144 pudval_t *pud; in __startup_64()
227 pud[(i + 0) % PTRS_PER_PUD] = (pudval_t)pmd + pgtable_flags; in __startup_64()
228 pud[(i + 1) % PTRS_PER_PUD] = (pudval_t)pmd + pgtable_flags; in __startup_64()
328 pudval_t pud, *pud_p; in __early_make_pgtable()
362 pud_p = (pudval_t *)((p4d & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in __early_make_pgtable()
369 pud_p = (pudval_t *)early_dynamic_pgts[next_early_pgt++]; in __early_make_pgtable()
386 *pud_p = (pudval_t)pmd_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
/Linux-v5.10/include/trace/events/
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-v5.10/arch/x86/mm/
Dkasan_init_64.c296 pudval_t pud_val = __pa_nodebug(kasan_early_shadow_pmd) | _KERNPG_TABLE; in kasan_early_init()
/Linux-v5.10/arch/x86/xen/
Dmmu_pv.c428 __visible pudval_t xen_pud_val(pud_t pud) in xen_pud_val()
434 __visible pud_t xen_make_pud(pudval_t pud) in xen_make_pud()