Home
last modified time | relevance | path

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

12

/arch/s390/mm/
Dhugetlbpage.c119 pud_t *pudp; in huge_pte_alloc() local
123 pudp = pud_alloc(mm, pgdp, addr); in huge_pte_alloc()
124 if (pudp) in huge_pte_alloc()
125 pmdp = pmd_alloc(mm, pudp, addr); in huge_pte_alloc()
132 pud_t *pudp; in huge_pte_offset() local
137 pudp = pud_offset(pgdp, addr); in huge_pte_offset()
138 if (pud_present(*pudp)) in huge_pte_offset()
139 pmdp = pmd_offset(pudp, addr); in huge_pte_offset()
Dgup.c107 static inline int gup_pmd_range(pud_t *pudp, pud_t pud, unsigned long addr, in gup_pmd_range() argument
113 pmdp = (pmd_t *) pudp; in gup_pmd_range()
155 pud_t *pudp, pud; in gup_pud_range() local
157 pudp = (pud_t *) pgdp; in gup_pud_range()
159 pudp = (pud_t *) pgd_deref(pgd); in gup_pud_range()
160 pudp += pud_index(addr); in gup_pud_range()
162 pud = *pudp; in gup_pud_range()
167 if (!gup_pmd_range(pudp, pud, addr, next, write, pages, nr)) in gup_pud_range()
169 } while (pudp++, addr = next, addr != end); in gup_pud_range()
Dpageattr.c46 pud_t *pudp; in walk_page_table() local
53 pudp = pud_offset(pgdp, addr); in walk_page_table()
54 if (pud_none(*pudp) || pud_large(*pudp)) in walk_page_table()
56 pmdp = pmd_offset(pudp, addr); in walk_page_table()
/arch/score/mm/
Dcache.c178 pud_t *pudp; in flush_cache_range() local
186 pudp = pud_offset(pgdp, start); in flush_cache_range()
187 pmdp = pmd_offset(pudp, start); in flush_cache_range()
193 pudp = pud_offset(pgdp, start); in flush_cache_range()
194 pmdp = pmd_offset(pudp, start); in flush_cache_range()
/arch/x86/include/asm/
Dpgtable-3level.h100 static inline void native_set_pud(pud_t *pudp, pud_t pud) in native_set_pud() argument
102 set_64bit((unsigned long long *)(pudp), native_pud_val(pud)); in native_set_pud()
126 static inline void pud_clear(pud_t *pudp) in pud_clear() argument
128 set_pud(pudp, __pud(0)); in pud_clear()
Dpgtable_64.h99 static inline void native_set_pud(pud_t *pudp, pud_t pud) in native_set_pud() argument
101 WRITE_ONCE(*pudp, pud); in native_set_pud()
/arch/arm64/include/asm/
Dtlb.h75 static inline void __pud_free_tlb(struct mmu_gather *tlb, pud_t *pudp, in __pud_free_tlb() argument
79 tlb_remove_entry(tlb, virt_to_page(pudp)); in __pud_free_tlb()
Dkvm_mmu.h217 #define kvm_pud_table_empty(kvm, pudp) (0) argument
219 #define kvm_pud_table_empty(kvm, pudp) \ argument
220 (kvm_page_empty(pudp) && (!(kvm) || KVM_PREALLOC_LEVEL < 1))
/arch/arm/include/asm/
Dpgtable-3level.h151 #define pud_clear(pudp) \ argument
153 *pudp = __pud(0); \
154 clean_pmd_entry(pudp); \
157 #define set_pud(pudp, pud) \ argument
159 *pudp = pud; \
160 flush_pmd_entry(pudp); \
Dpgtable-2level.h186 #define pud_clear(pudp) do { } while (0) argument
187 #define set_pud(pud,pudp) do { } while (0) argument
Dtlb.h270 #define pud_free_tlb(tlb, pudp, addr) pud_free((tlb)->mm, pudp) argument
/arch/powerpc/mm/
Dpgtable_64.c94 pud_t *pudp; in map_kernel_page() local
100 pudp = pud_alloc(&init_mm, pgdp, ea); in map_kernel_page()
101 if (!pudp) in map_kernel_page()
103 pmdp = pmd_alloc(&init_mm, pudp, ea); in map_kernel_page()
116 pudp = early_alloc_pgtable(PUD_TABLE_SIZE); in map_kernel_page()
117 BUG_ON(pudp == NULL); in map_kernel_page()
118 pgd_populate(&init_mm, pgdp, pudp); in map_kernel_page()
121 pudp = pud_offset(pgdp, ea); in map_kernel_page()
122 if (pud_none(*pudp)) { in map_kernel_page()
125 pud_populate(&init_mm, pudp, pmdp); in map_kernel_page()
[all …]
/arch/sh/mm/
Dgup.c143 pud_t *pudp; in gup_pud_range() local
145 pudp = pud_offset(&pgd, addr); in gup_pud_range()
147 pud_t pud = *pudp; in gup_pud_range()
154 } while (pudp++, addr = next, addr != end); in gup_pud_range()
/arch/powerpc/include/asm/
Dpgtable-ppc64.h160 #define pud_set(pudp, pudval) (pud_val(*(pudp)) = (pudval)) argument
165 #define pud_clear(pudp) (pud_val(*(pudp)) = 0) argument
180 #define pgd_set(pgdp, pudp) ({pgd_val(*(pgdp)) = (unsigned long)(pudp);}) argument
191 #define pmd_offset(pudp,addr) \ argument
192 (((pmd_t *) pud_page_vaddr(*(pudp))) + (((addr) >> PMD_SHIFT) & (PTRS_PER_PMD - 1)))
/arch/sparc/mm/
Dgup.c147 pud_t *pudp; in gup_pud_range() local
149 pudp = pud_offset(&pgd, addr); in gup_pud_range()
151 pud_t pud = *pudp; in gup_pud_range()
158 } while (pudp++, addr = next, addr != end); in gup_pud_range()
Dfault_64.c95 pud_t *pudp; in get_user_insn() local
103 pudp = pud_offset(pgdp, tpc); in get_user_insn()
104 if (pud_none(*pudp) || unlikely(pud_bad(*pudp))) in get_user_insn()
110 pmdp = pmd_offset(pudp, tpc); in get_user_insn()
/arch/mips/mm/
Dgup.c171 pud_t *pudp; in gup_pud_range() local
173 pudp = pud_offset(&pgd, addr); in gup_pud_range()
175 pud_t pud = *pudp; in gup_pud_range()
187 } while (pudp++, addr = next, addr != end); in gup_pud_range()
Dc-r3k.c243 pud_t *pudp; in r3k_flush_cache_page() local
255 pudp = pud_offset(pgdp, addr); in r3k_flush_cache_page()
256 pmdp = pmd_offset(pudp, addr); in r3k_flush_cache_page()
Dc-tx39.c172 pud_t *pudp; in tx39_flush_cache_page() local
185 pudp = pud_offset(pgdp, page); in tx39_flush_cache_page()
186 pmdp = pmd_offset(pudp, page); in tx39_flush_cache_page()
/arch/um/include/asm/
Dtlb.h140 #define pud_free_tlb(tlb, pudp, addr) __pud_free_tlb(tlb, pudp, addr) argument
/arch/tile/include/asm/
Dpgtable_64.h91 static inline void pud_clear(pud_t *pudp) in pud_clear() argument
93 __pte_clear(&pudp->pgd); in pud_clear()
/arch/x86/mm/
Dgup.c237 pud_t *pudp; in gup_pud_range() local
239 pudp = pud_offset(&pgd, addr); in gup_pud_range()
241 pud_t pud = *pudp; in gup_pud_range()
253 } while (pudp++, addr = next, addr != end); in gup_pud_range()
/arch/sh/include/asm/
Dtlb.h124 #define pud_free_tlb(tlb, pudp, addr) pud_free((tlb)->mm, pudp) argument
/arch/sparc/include/asm/
Dpgtable_64.h813 #define pud_set(pudp, pmdp) \ argument
814 (pud_val(*(pudp)) = (__pa((unsigned long) (pmdp))))
830 #define pud_clear(pudp) (pud_val(*(pudp)) = 0UL) argument
853 #define pgd_set(pgdp, pudp) \ argument
854 (pgd_val(*(pgdp)) = (__pa((unsigned long) (pudp))))
869 #define pmd_offset(pudp, address) \ argument
870 ((pmd_t *) pud_page_vaddr(*(pudp)) + \
/arch/ia64/include/asm/
Dtlb.h287 #define pud_free_tlb(tlb, pudp, address) \ argument
290 __pud_free_tlb(tlb, pudp, address); \

12