Home
last modified time | relevance | path

Searched refs:pud_val (Results 1 – 25 of 50) sorted by relevance

12

/arch/sh/include/asm/
Dpgtable-3level.h36 return pud_val(pud); in pud_page_vaddr()
45 #define pud_none(x) (!pud_val(x))
46 #define pud_present(x) (pud_val(x))
48 #define pud_bad(x) (pud_val(x) & ~PAGE_MASK)
/arch/um/include/asm/
Dpgtable-3level.h56 #define pud_none(x) (!(pud_val(x) & ~_PAGE_NEWPAGE))
57 #define pud_bad(x) ((pud_val(x) & (~PAGE_MASK & ~_PAGE_USER)) != _KERNPG_TABLE)
58 #define pud_present(x) (pud_val(x) & _PAGE_PRESENT)
63 #define set_pud(pudptr, pudval) set_64bit((u64 *) (pudptr), pud_val(pudval))
89 #define pud_page(pud) phys_to_page(pud_val(pud) & PAGE_MASK)
90 #define pud_page_vaddr(pud) ((unsigned long) __va(pud_val(pud) & PAGE_MASK))
Dpgtable.h108 #define pud_newpage(x) (pud_val(x) & _PAGE_NEWPAGE)
109 #define pud_mkuptodate(x) (pud_val(x) &= ~_PAGE_NEWPAGE)
/arch/tile/include/asm/
Dpgtable_64.h75 return pud_val(pud) == 0; in pud_none()
80 return pud_val(pud) & _PAGE_PRESENT; in pud_present()
85 return pud_val(pud) & _PAGE_HUGE_PAGE; in pud_huge_page()
98 return ((pud_val(pud) & _PAGE_ALL) != _PAGE_TABLE); in pud_bad()
/arch/mips/include/asm/
Dpgtable-64.h211 return pud_val(pud) == (unsigned long) invalid_pmd_table; in pud_none()
216 return pud_val(pud) & ~PAGE_MASK; in pud_bad()
221 return pud_val(pud) != (unsigned long) invalid_pmd_table; in pud_present()
226 pud_val(*pudp) = ((unsigned long) invalid_pmd_table); in pud_clear()
257 return pud_val(pud); in pud_page_vaddr()
259 #define pud_phys(pud) virt_to_phys((void *)pud_val(pud))
/arch/arm/include/asm/
Dpgtable-3level.h142 #define pud_none(pud) (!pud_val(pud))
143 #define pud_bad(pud) (!(pud_val(pud) & 2))
144 #define pud_present(pud) (pud_val(pud))
165 return __va(pud_val(pud) & PHYS_MASK & (s32)PAGE_MASK); in pud_page_vaddr()
228 #define pud_page(pud) pmd_page(__pmd(pud_val(pud)))
229 #define pud_write(pud) pmd_write(__pmd(pud_val(pud)))
/arch/arm64/include/asm/
Dpgtable-types.h49 #define pud_val(x) ((x).pud) macro
75 #define pud_val(x) (x) macro
Dpgtable.h322 return __pte(pud_val(pud)); in pud_pte()
327 return __pmd(pud_val(pud)); in pud_pmd()
381 #define pud_pfn(pud) (((pud_val(pud) & PUD_MASK) & PHYS_MASK) >> PAGE_SHIFT)
420 #define pud_sect(pud) ((pud_val(pud) & PUD_TYPE_MASK) == \
422 #define pud_table(pud) ((pud_val(pud) & PUD_TYPE_MASK) == \
473 #define pud_none(pud) (!pud_val(pud))
474 #define pud_bad(pud) (!(pud_val(pud) & 2))
475 #define pud_present(pud) (pud_val(pud))
491 return pud_val(pud) & PHYS_MASK & (s32)PAGE_MASK; in pud_page_paddr()
504 #define pud_page(pud) pfn_to_page(__phys_to_pfn(pud_val(pud) & PHYS_MASK))
[all …]
/arch/powerpc/include/asm/
Dpgtable-ppc64.h160 #define pud_set(pudp, pudval) (pud_val(*(pudp)) = (pudval))
161 #define pud_none(pud) (!pud_val(pud))
162 #define pud_bad(pud) (!is_kernel_addr(pud_val(pud)) \
163 || (pud_val(pud) & PUD_BAD_BITS))
164 #define pud_present(pud) (pud_val(pud) != 0)
165 #define pud_clear(pudp) (pud_val(*(pudp)) = 0)
166 #define pud_page_vaddr(pud) (pud_val(pud) & ~PUD_MASKED_BITS)
172 return __pte(pud_val(pud)); in pud_pte()
Dpage.h322 #define pud_val(x) ((x).pud) macro
361 #define pud_val(x) (x) macro
Dpgtable-ppc64-4k.h81 pr_err("%s:%d: bad pud %08lx.\n", __FILE__, __LINE__, pud_val(e))
/arch/ia64/include/asm/
Dpgtable.h184 #define pud_ERROR(e) printk("%s:%d: bad pud %016lx.\n", __FILE__, __LINE__, pud_val(e))
277 #define pud_none(pud) (!pud_val(pud))
278 #define pud_bad(pud) (!ia64_phys_addr_valid(pud_val(pud)))
279 #define pud_present(pud) (pud_val(pud) != 0UL)
280 #define pud_clear(pudp) (pud_val(*(pudp)) = 0UL)
281 #define pud_page_vaddr(pud) ((unsigned long) __va(pud_val(pud) & _PFN_MASK))
282 #define pud_page(pud) virt_to_page((pud_val(pud) + PAGE_OFFSET))
Dpgalloc.h57 pud_val(*pud_entry) = __pa(pmd); in pud_populate()
/arch/x86/mm/
Dkasan_init_64.c74 pudval_t pud_val = __pa_nodebug(kasan_zero_pmd) | _KERNPG_TABLE; in kasan_early_init() local
83 kasan_zero_pud[i] = __pud(pud_val); in kasan_early_init()
Ddump_pagetables.c323 #define walk_pmd_level(m,s,a,p) walk_pte_level(m,s,__pmd(pud_val(a)),p)
324 #define pud_large(a) pmd_large(__pmd(pud_val(a)))
325 #define pud_none(a) pmd_none(__pmd(pud_val(a)))
/arch/sparc/include/asm/
Dpage_64.h68 #define pud_val(x) ((x).pud) macro
91 #define pud_val(x) (x) macro
Dpgtable_64.h103 __FILE__, __LINE__, &(e), pud_val(e), __builtin_return_address(0))
787 #define pud_none(pud) (!pud_val(pud))
789 #define pud_bad(pud) (pud_val(pud) & ~PAGE_MASK)
814 (pud_val(*(pudp)) = (__pa((unsigned long) (pmdp))))
826 ((unsigned long) __va(pud_val(pud)))
829 #define pud_present(pud) (pud_val(pud) != 0U)
830 #define pud_clear(pudp) (pud_val(*(pudp)) = 0UL)
838 pte_t pte = __pte(pud_val(pud)); in pud_large()
845 pte_t pte = __pte(pud_val(pud)); in pud_pfn()
/arch/mips/mm/
Dhugetlbpage.c73 return (pud_val(pud) & _PAGE_HUGE) != 0; in pud_huge()
/arch/s390/include/asm/
Dpgtable.h95 printk("%s:%d: bad pud %p.\n", __FILE__, __LINE__, (void *) pud_val(e))
462 if ((pud_val(pud) & _REGION_ENTRY_TYPE_MASK) < _REGION_ENTRY_TYPE_R3) in pud_present()
464 return (pud_val(pud) & _REGION_ENTRY_ORIGIN) != 0UL; in pud_present()
469 if ((pud_val(pud) & _REGION_ENTRY_TYPE_MASK) < _REGION_ENTRY_TYPE_R3) in pud_none()
471 return (pud_val(pud) & _REGION_ENTRY_INVALID) != 0UL; in pud_none()
476 if ((pud_val(pud) & _REGION_ENTRY_TYPE_MASK) != _REGION_ENTRY_TYPE_R3) in pud_large()
478 return !!(pud_val(pud) & _REGION3_ENTRY_LARGE); in pud_large()
491 return (pud_val(pud) & mask) != 0; in pud_bad()
882 if ((pud_val(*pud) & _REGION_ENTRY_TYPE_MASK) == _REGION_ENTRY_TYPE_R3) in pud_clear()
883 pud_val(*pud) = _REGION3_ENTRY_EMPTY; in pud_clear()
[all …]
Dpage.h82 #define pud_val(x) ((x).pud) macro
/arch/mn10300/mm/
Dcache-inv-icache.c48 if (!pud || !pud_val(*pud)) in flush_icache_page_range()
Dcache-flush-icache.c70 if (!pud || !pud_val(*pud)) in flush_icache_page_range()
/arch/frv/include/asm/
Dpage.h32 #define pud_val(x) ((x).pue[0]) macro
/arch/arm/mm/
Didmap.c27 if (pud_none_or_clear_bad(pud) || (pud_val(*pud) & L_PGD_SWAPPER)) { in idmap_add_pmd()
/arch/arm64/mm/
Dhugetlbpage.c38 return pud_val(pud) && !(pud_val(pud) & PUD_TABLE_BIT); in pud_huge()

12