Home
last modified time | relevance | path

Searched refs:p4d_val (Results 1 – 23 of 23) sorted by relevance

/Linux-v5.4/arch/s390/include/asm/
Dpgtable.h75 printk("%s:%d: bad p4d %p.\n", __FILE__, __LINE__, (void *) p4d_val(e))
634 return (p4d_val(p4d) & _REGION_ENTRY_TYPE_MASK) < _REGION_ENTRY_TYPE_R2; in p4d_folded()
641 return (p4d_val(p4d) & _REGION_ENTRY_ORIGIN) != 0UL; in p4d_present()
648 return p4d_val(p4d) == _REGION2_ENTRY_EMPTY; in p4d_none()
656 return (p4d_val(p4d) & origin_mask) >> PAGE_SHIFT; in p4d_pfn()
724 unsigned long type = p4d_val(p4d) & _REGION_ENTRY_TYPE_MASK; in p4d_bad()
730 return (p4d_val(p4d) & ~_REGION_ENTRY_BITS) != 0; in p4d_bad()
892 if ((p4d_val(*p4d) & _REGION_ENTRY_TYPE_MASK) == _REGION_ENTRY_TYPE_R2) in p4d_clear()
893 p4d_val(*p4d) = _REGION2_ENTRY_EMPTY; in p4d_clear()
1215 #define p4d_deref(pud) (p4d_val(pud) & _REGION_ENTRY_ORIGIN)
[all …]
Dpgalloc.h97 p4d_val(*p4d) = _REGION2_ENTRY | __pa(pud); in p4d_populate()
Dpage.h91 #define p4d_val(x) ((x).p4d) macro
/Linux-v5.4/arch/x86/mm/
Dkasan_init_64.c272 p4dval_t p4d_val = __pa_nodebug(kasan_early_shadow_pud) | _KERNPG_TABLE; in kasan_early_init() local
278 p4d_val &= __default_kernel_pte_mask; in kasan_early_init()
290 kasan_early_shadow_p4d[i] = __p4d(p4d_val); in kasan_early_init()
Ddump_pagetables.c466 #define walk_pud_level(m,s,a,e,p) walk_pmd_level(m,s,__pud(p4d_val(a)),e,p)
467 #define p4d_large(a) pud_large(__pud(p4d_val(a)))
468 #define p4d_none(a) pud_none(__pud(p4d_val(a)))
Dfault.c445 pr_cont("P4D %lx ", p4d_val(*p4d)); in dump_pagetable()
/Linux-v5.4/include/asm-generic/
Dpgtable-nop4d.h41 #define p4d_val(x) (pgd_val((x).pgd)) macro
Dpgtable-nopud.h50 #define pud_val(x) (p4d_val((x).p4d))
D5level-fixup.h42 #define p4d_val(p4d) pgd_val(p4d) macro
Dpgtable.h392 return p4d_val(p4d_a) == p4d_val(p4d_b); in p4d_same()
/Linux-v5.4/arch/x86/power/
Dhibernate.c230 set_p4d(p4d, __p4d(p4d_val(*p4d) & ~_PAGE_NX)); in relocate_restore_code()
/Linux-v5.4/arch/x86/include/asm/
Dpgtable_64.h47 __FILE__, __LINE__, &(e), p4d_val(e))
Dpgtable.h99 #define p4d_val(x) native_p4d_val(x) macro
234 return (p4d_val(p4d) & p4d_pfn_mask(p4d)) >> PAGE_SHIFT; in p4d_pfn()
912 return (unsigned long)__va(p4d_val(p4d) & p4d_pfn_mask(p4d)); in p4d_page_vaddr()
Dparavirt.h534 static inline p4dval_t p4d_val(p4d_t p4d) in p4d_val() function
536 return PVOP_CALLEE1(p4dval_t, mmu.p4d_val, p4d.p4d); in p4d_val()
Dparavirt_types.h285 struct paravirt_callee_save p4d_val; member
/Linux-v5.4/arch/x86/entry/vsyscall/
Dvsyscall_64.c368 set_p4d(p4d, __p4d(p4d_val(*p4d) | _PAGE_USER)); in set_vsyscall_pgtable_user_bits()
/Linux-v5.4/arch/s390/mm/
Dpage-states.c154 page = virt_to_page(p4d_val(*p4d)); in mark_kernel_p4d()
Ddump_pagetables.c189 if ((p4d_val(*p4d) & PAGE_MASK) == __pa(kasan_early_shadow_pud)) { in walk_pud_level()
Dkasan_init.c288 p4d_val(p4d_z)); in kasan_early_init()
/Linux-v5.4/arch/x86/kernel/
Dparavirt.c411 .mmu.p4d_val = PTE_IDENT,
/Linux-v5.4/mm/
Dgup.c478 if (is_hugepd(__hugepd(p4d_val(*p4d)))) { in follow_p4d_mask()
480 __hugepd(p4d_val(*p4d)), flags, in follow_p4d_mask()
2257 if (unlikely(is_hugepd(__hugepd(p4d_val(p4d))))) { in gup_p4d_range()
2258 if (!gup_huge_pd(__hugepd(p4d_val(p4d)), addr, in gup_p4d_range()
/Linux-v5.4/include/trace/events/
Dxen.h249 __entry->p4dval = p4d_val(p4dval)),
/Linux-v5.4/arch/x86/xen/
Dmmu_pv.c1189 pa = p4d_val(*p4d) & PHYSICAL_PAGE_MASK; in xen_cleanmfnmap_p4d()
2442 .p4d_val = PV_CALLEE_SAVE(xen_p4d_val),