Home
last modified time | relevance | path

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

/linux-5.19.10/arch/arm64/include/asm/
Dpgtable-hwdef.h103 #define PUD_TYPE_TABLE (_AT(pudval_t, 3) << 0)
104 #define PUD_TABLE_BIT (_AT(pudval_t, 1) << 1)
105 #define PUD_TYPE_MASK (_AT(pudval_t, 3) << 0)
106 #define PUD_TYPE_SECT (_AT(pudval_t, 1) << 0)
107 #define PUD_SECT_RDONLY (_AT(pudval_t, 1) << 7) /* AP[2] */
108 #define PUD_TABLE_PXN (_AT(pudval_t, 1) << 59)
109 #define PUD_TABLE_UXN (_AT(pudval_t, 1) << 60)
Dpgalloc.h23 static inline void __pud_populate(pud_t *pudp, phys_addr_t pmdp, pudval_t prot) in __pud_populate()
30 pudval_t pudval = PUD_TYPE_TABLE; in pud_populate()
36 static inline void __pud_populate(pud_t *pudp, phys_addr_t pmdp, pudval_t prot) in __pud_populate()
Dpgtable-types.h16 typedef u64 pudval_t; typedef
34 typedef struct { pudval_t pud; } pud_t;
/linux-5.19.10/arch/x86/include/asm/
Dpgtable_types.h333 static inline p4d_t native_make_p4d(pudval_t val) in native_make_p4d()
345 static inline p4d_t native_make_p4d(pudval_t val) in native_make_p4d()
357 typedef struct { pudval_t pud; } pud_t;
364 static inline pudval_t native_pud_val(pud_t pud) in native_pud_val()
371 static inline pud_t native_make_pud(pudval_t val) in native_make_pud()
376 static inline pudval_t native_pud_val(pud_t pud) in native_pud_val()
424 static inline pudval_t pud_pfn_mask(pud_t pud) in pud_pfn_mask()
432 static inline pudval_t pud_flags_mask(pud_t pud) in pud_flags_mask()
437 static inline pudval_t pud_flags(pud_t pud) in pud_flags()
Dpgtable-2level_types.h10 typedef unsigned long pudval_t; typedef
Dparavirt.h467 static inline pud_t __pud(pudval_t val) in __pud()
469 pudval_t ret; in __pud()
471 ret = PVOP_ALT_CALLEE1(pudval_t, mmu.make_pud, val, in __pud()
477 static inline pudval_t pud_val(pud_t pud) in pud_val()
479 return PVOP_ALT_CALLEE1(pudval_t, mmu.pud_val, pud.pud, in pud_val()
Dpgtable-3level_types.h10 typedef u64 pudval_t; typedef
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.h444 static inline pud_t pud_set_flags(pud_t pud, pudval_t set) in pud_set_flags()
446 pudval_t v = native_pud_val(pud); in pud_set_flags()
451 static inline pud_t pud_clear_flags(pud_t pud, pudval_t clear) in pud_clear_flags()
453 pudval_t v = native_pud_val(pud); in pud_clear_flags()
/linux-5.19.10/arch/x86/kernel/
Dhead64.c186 pudval_t *pud; in __startup_64()
266 pud[(i + 0) % PTRS_PER_PUD] = (pudval_t)pmd + pgtable_flags; in __startup_64()
267 pud[(i + 1) % PTRS_PER_PUD] = (pudval_t)pmd + pgtable_flags; in __startup_64()
336 pudval_t pud, *pud_p; in __early_make_pgtable()
370 pud_p = (pudval_t *)((p4d & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in __early_make_pgtable()
377 pud_p = (pudval_t *)early_dynamic_pgts[next_early_pgt++]; in __early_make_pgtable()
394 *pud_p = (pudval_t)pmd_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
/linux-5.19.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-5.19.10/arch/x86/mm/
Dkasan_init_64.c294 pudval_t pud_val = __pa_nodebug(kasan_early_shadow_pmd) | _KERNPG_TABLE; in kasan_early_init()
/linux-5.19.10/arch/x86/xen/
Dmmu_pv.c432 __visible pudval_t xen_pud_val(pud_t pud) in xen_pud_val()
438 __visible pud_t xen_make_pud(pudval_t pud) in xen_make_pud()
/linux-5.19.10/arch/arm64/mm/
Dmmu.c271 pudval_t pudval = PUD_TYPE_TABLE | PUD_TABLE_UXN; in alloc_init_cont_pmd()