Home
last modified time | relevance | path

Searched refs:pudp (Results 1 – 25 of 37) sorted by relevance

12

/arch/s390/mm/
Dhugetlbpage.c69 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()
Dgup.c102 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()
Dpageattr.c16 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/
Dpgtable_64.c86 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 …]
Dgup.c86 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/
Dpgtable-3level.h113 #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); \
Dpgtable-2level.h153 #define pud_clear(pudp) do { } while (0) argument
154 #define set_pud(pud,pudp) do { } while (0) argument
Dtlb.h224 #define pud_free_tlb(tlb, pudp, addr) pud_free((tlb)->mm, pudp) argument
/arch/x86/include/asm/
Dpgtable-3level.h98 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()
Dpgtable_64.h98 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/
Dcache.c177 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/
Dpgtable-ppc64.h169 #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/
Dgup.c93 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()
Dfault_64.c93 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/
Dgup.c141 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/
Dtlb.h114 #define pud_free_tlb(tlb, pudp, addr) __pud_free_tlb(tlb, pudp, addr) argument
/arch/sh/include/asm/
Dtlb.h104 #define pud_free_tlb(tlb, pudp, addr) pud_free((tlb)->mm, pudp) argument
/arch/mips/mm/
Dgup.c170 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()
Dc-r3k.c244 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()
Dc-tx39.c174 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()
Dtlb-r4k.c285 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/
Dpgtable_64.h75 static inline void pud_clear(pud_t *pudp) in pud_clear() argument
77 __pte_clear(&pudp->pgd); in pud_clear()
/arch/x86/mm/
Dgup.c219 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/
Dpgtable_64.h623 #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/
Dtlb.h277 #define pud_free_tlb(tlb, pudp, address) \ argument
280 __pud_free_tlb(tlb, pudp, address); \

12