/arch/s390/mm/ |
D | hugetlbpage.c | 69 pud_t *pudp; in huge_pte_alloc() local 73 pudp = pud_alloc(mm, pgdp, addr); in huge_pte_alloc() 74 if (pudp) in huge_pte_alloc() 75 pmdp = pmd_alloc(mm, pudp, addr); in huge_pte_alloc() 82 pud_t *pudp; in huge_pte_offset() local 87 pudp = pud_offset(pgdp, addr); in huge_pte_offset() 88 if (pud_present(*pudp)) in huge_pte_offset() 89 pmdp = pmd_offset(pudp, addr); in huge_pte_offset()
|
D | gup.c | 102 static inline int gup_pmd_range(pud_t *pudp, pud_t pud, unsigned long addr, in gup_pmd_range() argument 108 pmdp = (pmd_t *) pudp; in gup_pmd_range() 136 pud_t *pudp, pud; in gup_pud_range() local 138 pudp = (pud_t *) pgdp; in gup_pud_range() 141 pudp = (pud_t *) pgd_deref(pgd); in gup_pud_range() 142 pudp += pud_index(addr); in gup_pud_range() 145 pud = *pudp; in gup_pud_range() 150 if (!gup_pmd_range(pudp, pud, addr, next, write, pages, nr)) in gup_pud_range() 152 } while (pudp++, addr = next, addr != end); in gup_pud_range()
|
D | pageattr.c | 16 pud_t *pudp; in change_page_attr() local 22 pudp = pud_offset(pgdp, addr); in change_page_attr() 23 pmdp = pmd_offset(pudp, addr); in change_page_attr()
|
/arch/powerpc/mm/ |
D | pgtable_64.c | 86 pud_t *pudp; in map_kernel_page() local 92 pudp = pud_alloc(&init_mm, pgdp, ea); in map_kernel_page() 93 if (!pudp) in map_kernel_page() 95 pmdp = pmd_alloc(&init_mm, pudp, ea); in map_kernel_page() 112 pudp = early_alloc_pgtable(PUD_TABLE_SIZE); in map_kernel_page() 113 BUG_ON(pudp == NULL); in map_kernel_page() 114 pgd_populate(&init_mm, pgdp, pudp); in map_kernel_page() 117 pudp = pud_offset(pgdp, ea); in map_kernel_page() 118 if (pud_none(*pudp)) { in map_kernel_page() 121 pud_populate(&init_mm, pudp, pmdp); in map_kernel_page() [all …]
|
D | gup.c | 86 pud_t *pudp; in gup_pud_range() local 88 pudp = pud_offset(&pgd, addr); in gup_pud_range() 90 pud_t pud = *pudp; in gup_pud_range() 95 if (is_hugepd(pudp)) { in gup_pud_range() 96 if (!gup_hugepd((hugepd_t *)pudp, PUD_SHIFT, in gup_pud_range() 101 } while (pudp++, addr = next, addr != end); in gup_pud_range()
|
/arch/arm/include/asm/ |
D | pgtable-3level.h | 113 #define pud_clear(pudp) \ argument 115 *pudp = __pud(0); \ 116 clean_pmd_entry(pudp); \ 119 #define set_pud(pudp, pud) \ argument 121 *pudp = pud; \ 122 flush_pmd_entry(pudp); \
|
D | pgtable-2level.h | 153 #define pud_clear(pudp) do { } while (0) argument 154 #define set_pud(pud,pudp) do { } while (0) argument
|
D | tlb.h | 224 #define pud_free_tlb(tlb, pudp, addr) pud_free((tlb)->mm, pudp) argument
|
/arch/x86/include/asm/ |
D | pgtable-3level.h | 98 static inline void native_set_pud(pud_t *pudp, pud_t pud) in native_set_pud() argument 100 set_64bit((unsigned long long *)(pudp), native_pud_val(pud)); in native_set_pud() 124 static inline void pud_clear(pud_t *pudp) in pud_clear() argument 126 set_pud(pudp, __pud(0)); in pud_clear()
|
D | pgtable_64.h | 98 static inline void native_set_pud(pud_t *pudp, pud_t pud) in native_set_pud() argument 100 *pudp = pud; in native_set_pud()
|
/arch/score/mm/ |
D | cache.c | 177 pud_t *pudp; in flush_cache_range() local 185 pudp = pud_offset(pgdp, start); in flush_cache_range() 186 pmdp = pmd_offset(pudp, start); in flush_cache_range() 192 pudp = pud_offset(pgdp, start); in flush_cache_range() 193 pmdp = pmd_offset(pudp, start); in flush_cache_range()
|
/arch/powerpc/include/asm/ |
D | pgtable-ppc64.h | 169 #define pud_set(pudp, pudval) (pud_val(*(pudp)) = (pudval)) argument 174 #define pud_clear(pudp) (pud_val(*(pudp)) = 0) argument 178 #define pgd_set(pgdp, pudp) ({pgd_val(*(pgdp)) = (unsigned long)(pudp);}) argument 189 #define pmd_offset(pudp,addr) \ argument 190 (((pmd_t *) pud_page_vaddr(*(pudp))) + (((addr) >> PMD_SHIFT) & (PTRS_PER_PMD - 1)))
|
/arch/sparc/mm/ |
D | gup.c | 93 pud_t *pudp; in gup_pud_range() local 95 pudp = pud_offset(&pgd, addr); in gup_pud_range() 97 pud_t pud = *pudp; in gup_pud_range() 104 } while (pudp++, addr = next, addr != end); in gup_pud_range()
|
D | fault_64.c | 93 pud_t *pudp; in get_user_insn() local 102 pudp = pud_offset(pgdp, tpc); in get_user_insn() 103 if (pud_none(*pudp)) in get_user_insn() 105 pmdp = pmd_offset(pudp, tpc); in get_user_insn()
|
/arch/sh/mm/ |
D | gup.c | 141 pud_t *pudp; in gup_pud_range() local 143 pudp = pud_offset(&pgd, addr); in gup_pud_range() 145 pud_t pud = *pudp; in gup_pud_range() 152 } while (pudp++, addr = next, addr != end); in gup_pud_range()
|
/arch/um/include/asm/ |
D | tlb.h | 114 #define pud_free_tlb(tlb, pudp, addr) __pud_free_tlb(tlb, pudp, addr) argument
|
/arch/sh/include/asm/ |
D | tlb.h | 104 #define pud_free_tlb(tlb, pudp, addr) pud_free((tlb)->mm, pudp) argument
|
/arch/mips/mm/ |
D | gup.c | 170 pud_t *pudp; in gup_pud_range() local 172 pudp = pud_offset(&pgd, addr); in gup_pud_range() 174 pud_t pud = *pudp; in gup_pud_range() 186 } while (pudp++, addr = next, addr != end); in gup_pud_range()
|
D | c-r3k.c | 244 pud_t *pudp; in r3k_flush_cache_page() local 256 pudp = pud_offset(pgdp, addr); in r3k_flush_cache_page() 257 pmdp = pmd_offset(pudp, addr); in r3k_flush_cache_page()
|
D | c-tx39.c | 174 pud_t *pudp; in tx39_flush_cache_page() local 187 pudp = pud_offset(pgdp, page); in tx39_flush_cache_page() 188 pmdp = pmd_offset(pudp, page); in tx39_flush_cache_page()
|
D | tlb-r4k.c | 285 pud_t *pudp; in __update_tlb() local 305 pudp = pud_offset(pgdp, address); in __update_tlb() 306 pmdp = pmd_offset(pudp, address); in __update_tlb()
|
/arch/tile/include/asm/ |
D | pgtable_64.h | 75 static inline void pud_clear(pud_t *pudp) in pud_clear() argument 77 __pte_clear(&pudp->pgd); in pud_clear()
|
/arch/x86/mm/ |
D | gup.c | 219 pud_t *pudp; in gup_pud_range() local 221 pudp = pud_offset(&pgd, addr); in gup_pud_range() 223 pud_t pud = *pudp; in gup_pud_range() 235 } while (pudp++, addr = next, addr != end); in gup_pud_range()
|
/arch/sparc/include/asm/ |
D | pgtable_64.h | 623 #define pud_set(pudp, pmdp) \ argument 624 (pud_val(*(pudp)) = (__pa((unsigned long) (pmdp)) >> 11UL)) 638 #define pud_clear(pudp) (pud_val(*(pudp)) = 0U) argument 651 #define pmd_offset(pudp, address) \ argument 652 ((pmd_t *) pud_page_vaddr(*(pudp)) + \
|
/arch/ia64/include/asm/ |
D | tlb.h | 277 #define pud_free_tlb(tlb, pudp, address) \ argument 280 __pud_free_tlb(tlb, pudp, address); \
|