/arch/sh/include/asm/ |
D | pgtable-3level.h | 36 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/ |
D | pgtable-3level.h | 56 #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))
|
D | pgtable.h | 108 #define pud_newpage(x) (pud_val(x) & _PAGE_NEWPAGE) 109 #define pud_mkuptodate(x) (pud_val(x) &= ~_PAGE_NEWPAGE)
|
/arch/tile/include/asm/ |
D | pgtable_64.h | 75 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/ |
D | pgtable-64.h | 211 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/ |
D | pgtable-3level.h | 142 #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/ |
D | pgtable-types.h | 49 #define pud_val(x) ((x).pud) macro 75 #define pud_val(x) (x) macro
|
D | pgtable.h | 322 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/ |
D | pgtable-ppc64.h | 160 #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()
|
D | page.h | 322 #define pud_val(x) ((x).pud) macro 361 #define pud_val(x) (x) macro
|
D | pgtable-ppc64-4k.h | 81 pr_err("%s:%d: bad pud %08lx.\n", __FILE__, __LINE__, pud_val(e))
|
/arch/ia64/include/asm/ |
D | pgtable.h | 184 #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))
|
D | pgalloc.h | 57 pud_val(*pud_entry) = __pa(pmd); in pud_populate()
|
/arch/x86/mm/ |
D | kasan_init_64.c | 74 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()
|
D | dump_pagetables.c | 323 #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/ |
D | page_64.h | 68 #define pud_val(x) ((x).pud) macro 91 #define pud_val(x) (x) macro
|
D | pgtable_64.h | 103 __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/ |
D | hugetlbpage.c | 73 return (pud_val(pud) & _PAGE_HUGE) != 0; in pud_huge()
|
/arch/s390/include/asm/ |
D | pgtable.h | 95 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 …]
|
D | page.h | 82 #define pud_val(x) ((x).pud) macro
|
/arch/mn10300/mm/ |
D | cache-inv-icache.c | 48 if (!pud || !pud_val(*pud)) in flush_icache_page_range()
|
D | cache-flush-icache.c | 70 if (!pud || !pud_val(*pud)) in flush_icache_page_range()
|
/arch/frv/include/asm/ |
D | page.h | 32 #define pud_val(x) ((x).pue[0]) macro
|
/arch/arm/mm/ |
D | idmap.c | 27 if (pud_none_or_clear_bad(pud) || (pud_val(*pud) & L_PGD_SWAPPER)) { in idmap_add_pmd()
|
/arch/arm64/mm/ |
D | hugetlbpage.c | 38 return pud_val(pud) && !(pud_val(pud) & PUD_TABLE_BIT); in pud_huge()
|