Home
last modified time | relevance | path

Searched refs:pud (Results 1 – 25 of 164) sorted by relevance

1234567

/arch/tile/include/asm/
Dpgtable_64.h71 #define pud_pte(pud) ((pud).pgd) argument
73 static inline int pud_none(pud_t pud) in pud_none() argument
75 return pud_val(pud) == 0; in pud_none()
78 static inline int pud_present(pud_t pud) in pud_present() argument
80 return pud_val(pud) & _PAGE_PRESENT; in pud_present()
83 static inline int pud_huge_page(pud_t pud) in pud_huge_page() argument
85 return pud_val(pud) & _PAGE_HUGE_PAGE; in pud_huge_page()
96 static inline int pud_bad(pud_t pud) in pud_bad() argument
98 return ((pud_val(pud) & _PAGE_ALL) != _PAGE_TABLE); in pud_bad()
102 #define pud_ptfn(pud) hv_pte_get_ptfn((pud).pgd) argument
[all …]
/arch/arm/boot/dts/
Ds3c64xx-pinctrl.dtsi142 samsung,pin-pud = <PIN_PULL_NONE>;
148 samsung,pin-pud = <PIN_PULL_NONE>;
154 samsung,pin-pud = <PIN_PULL_NONE>;
160 samsung,pin-pud = <PIN_PULL_NONE>;
166 samsung,pin-pud = <PIN_PULL_NONE>;
172 samsung,pin-pud = <PIN_PULL_NONE>;
178 samsung,pin-pud = <PIN_PULL_NONE>;
184 samsung,pin-pud = <PIN_PULL_NONE>;
190 samsung,pin-pud = <PIN_PULL_NONE>;
196 samsung,pin-pud = <PIN_PULL_NONE>;
[all …]
Ds5pv210-pinctrl.dtsi274 samsung,pin-pud = <0>;
281 samsung,pin-pud = <0>;
288 samsung,pin-pud = <0>;
295 samsung,pin-pud = <0>;
302 samsung,pin-pud = <0>;
309 samsung,pin-pud = <0>;
316 samsung,pin-pud = <0>;
323 samsung,pin-pud = <0>;
330 samsung,pin-pud = <2>;
337 samsung,pin-pud = <2>;
[all …]
Dexynos4415-pinctrl.dtsi98 samsung,pin-pud = <0>;
105 samsung,pin-pud = <0>;
112 samsung,pin-pud = <0>;
119 samsung,pin-pud = <0>;
126 samsung,pin-pud = <0>;
133 samsung,pin-pud = <0>;
140 samsung,pin-pud = <0>;
147 samsung,pin-pud = <3>;
154 samsung,pin-pud = <3>;
161 samsung,pin-pud = <3>;
[all …]
Dexynos5420-pinctrl.dtsi65 samsung,pin-pud = <0>;
157 samsung,pin-pud = <0>;
164 samsung,pin-pud = <0>;
171 samsung,pin-pud = <3>;
178 samsung,pin-pud = <3>;
185 samsung,pin-pud = <3>;
192 samsung,pin-pud = <3>;
199 samsung,pin-pud = <0>;
206 samsung,pin-pud = <1>;
213 samsung,pin-pud = <0>;
[all …]
Dexynos4210-pinctrl.dtsi150 samsung,pin-pud = <0>;
157 samsung,pin-pud = <0>;
164 samsung,pin-pud = <0>;
171 samsung,pin-pud = <0>;
178 samsung,pin-pud = <3>;
185 samsung,pin-pud = <0>;
192 samsung,pin-pud = <0>;
199 samsung,pin-pud = <0>;
206 samsung,pin-pud = <3>;
213 samsung,pin-pud = <0>;
[all …]
Dexynos4x12-pinctrl.dtsi28 samsung,pin-pud-pdn = <PIN_PULL_ ##_pull>; \
140 samsung,pin-pud = <0>;
147 samsung,pin-pud = <0>;
154 samsung,pin-pud = <0>;
161 samsung,pin-pud = <0>;
168 samsung,pin-pud = <3>;
175 samsung,pin-pud = <0>;
182 samsung,pin-pud = <0>;
189 samsung,pin-pud = <0>;
196 samsung,pin-pud = <3>;
[all …]
Dexynos5250-pinctrl.dtsi204 samsung,pin-pud = <0>;
211 samsung,pin-pud = <0>;
218 samsung,pin-pud = <3>;
225 samsung,pin-pud = <3>;
232 samsung,pin-pud = <0>;
239 samsung,pin-pud = <0>;
246 samsung,pin-pud = <3>;
253 samsung,pin-pud = <3>;
260 samsung,pin-pud = <0>;
267 samsung,pin-pud = <3>;
[all …]
Dexynos3250-pinctrl.dtsi28 samsung,pin-pud-pdn = <PIN_PULL_ ##_pull>; \
91 samsung,pin-pud = <0>;
98 samsung,pin-pud = <0>;
105 samsung,pin-pud = <0>;
112 samsung,pin-pud = <0>;
119 samsung,pin-pud = <3>;
126 samsung,pin-pud = <3>;
133 samsung,pin-pud = <3>;
140 samsung,pin-pud = <3>;
147 samsung,pin-pud = <3>;
[all …]
Dexynos5260-pinctrl.dtsi191 samsung,pin-pud = <PIN_PULL_NONE>;
198 samsung,pin-pud = <PIN_PULL_NONE>;
205 samsung,pin-pud = <PIN_PULL_NONE>;
212 samsung,pin-pud = <PIN_PULL_NONE>;
219 samsung,pin-pud = <PIN_PULL_NONE>;
226 samsung,pin-pud = <PIN_PULL_UP>;
233 samsung,pin-pud = <PIN_PULL_UP>;
240 samsung,pin-pud = <PIN_PULL_NONE>;
248 samsung,pin-pud = <PIN_PULL_NONE>;
256 samsung,pin-pud = <PIN_PULL_NONE>;
[all …]
/arch/mips/mm/
Dhugetlbpage.c28 pud_t *pud; in huge_pte_alloc() local
32 pud = pud_alloc(mm, pgd, addr); in huge_pte_alloc()
33 if (pud) in huge_pte_alloc()
34 pte = (pte_t *)pmd_alloc(mm, pud, addr); in huge_pte_alloc()
42 pud_t *pud; in huge_pte_offset() local
47 pud = pud_offset(pgd, addr); in huge_pte_offset()
48 if (pud_present(*pud)) in huge_pte_offset()
49 pmd = pmd_offset(pud, addr); in huge_pte_offset()
71 int pud_huge(pud_t pud) in pud_huge() argument
73 return (pud_val(pud) & _PAGE_HUGE) != 0; in pud_huge()
/arch/sh/mm/
Dhugetlbpage.c28 pud_t *pud; in huge_pte_alloc() local
34 pud = pud_alloc(mm, pgd, addr); in huge_pte_alloc()
35 if (pud) { in huge_pte_alloc()
36 pmd = pmd_alloc(mm, pud, addr); in huge_pte_alloc()
48 pud_t *pud; in huge_pte_offset() local
54 pud = pud_offset(pgd, addr); in huge_pte_offset()
55 if (pud) { in huge_pte_offset()
56 pmd = pmd_offset(pud, addr); in huge_pte_offset()
70 int pud_huge(pud_t pud) in pud_huge() argument
/arch/arm/mm/
Didmap.c21 static void idmap_add_pmd(pud_t *pud, unsigned long addr, unsigned long end, in idmap_add_pmd() argument
27 if (pud_none_or_clear_bad(pud) || (pud_val(*pud) & L_PGD_SWAPPER)) { in idmap_add_pmd()
37 if (!pud_none(*pud)) in idmap_add_pmd()
38 memcpy(pmd, pmd_offset(pud, 0), in idmap_add_pmd()
40 pud_populate(&init_mm, pud, pmd); in idmap_add_pmd()
43 pmd = pmd_offset(pud, addr); in idmap_add_pmd()
52 static void idmap_add_pmd(pud_t *pud, unsigned long addr, unsigned long end, in idmap_add_pmd() argument
55 pmd_t *pmd = pmd_offset(pud, addr); in idmap_add_pmd()
68 pud_t *pud = pud_offset(pgd, addr); in idmap_add_pud() local
73 idmap_add_pmd(pud, addr, next, prot); in idmap_add_pud()
[all …]
Dpgd.c122 pud_t *pud; in pgd_free() local
133 pud = pud_offset(pgd, 0); in pgd_free()
134 if (pud_none_or_clear_bad(pud)) in pgd_free()
137 pmd = pmd_offset(pud, 0); in pgd_free()
146 pud_clear(pud); in pgd_free()
151 pud_free(mm, pud); in pgd_free()
162 pud = pud_offset(pgd, 0); in pgd_free()
163 if (pud_none_or_clear_bad(pud)) in pgd_free()
165 pmd = pmd_offset(pud, 0); in pgd_free()
166 pud_clear(pud); in pgd_free()
[all …]
/arch/arm64/include/asm/
Dpgalloc.h45 static inline void __pud_populate(pud_t *pud, phys_addr_t pmd, pudval_t prot) in __pud_populate() argument
47 set_pud(pud, __pud(pmd | prot)); in __pud_populate()
50 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate() argument
52 __pud_populate(pud, __pa(pmd), PMD_TYPE_TABLE); in pud_populate()
55 static inline void __pud_populate(pud_t *pud, phys_addr_t pmd, pudval_t prot) in __pud_populate() argument
68 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free() argument
70 BUG_ON((unsigned long)pud & (PAGE_SIZE-1)); in pud_free()
71 free_page((unsigned long)pud); in pud_free()
74 static inline void __pgd_populate(pgd_t *pgdp, phys_addr_t pud, pgdval_t prot) in __pgd_populate() argument
76 set_pgd(pgdp, __pgd(pud | prot)); in __pgd_populate()
[all …]
/arch/x86/mm/
Dinit_64.c76 pud_t *pud = pud_page + pud_index(addr); in ident_pud_init() local
83 if (pud_present(*pud)) { in ident_pud_init()
84 pmd = pmd_offset(pud, 0); in ident_pud_init()
92 set_pud(pud, __pud(__pa(pmd) | _KERNPG_TABLE)); in ident_pud_init()
107 pud_t *pud; in kernel_ident_mapping_init() local
114 pud = pud_offset(pgd, 0); in kernel_ident_mapping_init()
115 result = ident_pud_init(info, pud, addr, next); in kernel_ident_mapping_init()
121 pud = (pud_t *)info->alloc_pgt_page(info->context); in kernel_ident_mapping_init()
122 if (!pud) in kernel_ident_mapping_init()
124 result = ident_pud_init(info, pud, addr, next); in kernel_ident_mapping_init()
[all …]
Dkaiser.c67 pud_t *pud; in get_pa_from_mapping() local
83 pud = pud_offset(pgd, vaddr); in get_pa_from_mapping()
84 if (pud_none(*pud)) { in get_pa_from_mapping()
89 if (pud_large(*pud)) in get_pa_from_mapping()
90 return (pud_pfn(*pud) << PAGE_SHIFT) | (vaddr & ~PUD_PAGE_MASK); in get_pa_from_mapping()
92 pmd = pmd_offset(pud, vaddr); in get_pa_from_mapping()
119 pud_t *pud; in kaiser_pagetable_walk() local
141 pud = pud_offset(pgd, address); in kaiser_pagetable_walk()
143 if (pud_large(*pud)) { in kaiser_pagetable_walk()
147 if (pud_none(*pud)) { in kaiser_pagetable_walk()
[all …]
/arch/arm64/boot/dts/exynos/
Dexynos7-pinctrl.dtsi179 samsung,pin-pud = <3>;
186 samsung,pin-pud = <3>;
193 samsung,pin-pud = <3>;
200 samsung,pin-pud = <0>;
207 samsung,pin-pud = <0>;
214 samsung,pin-pud = <0>;
221 samsung,pin-pud = <3>;
228 samsung,pin-pud = <0>;
235 samsung,pin-pud = <0>;
242 samsung,pin-pud = <3>;
[all …]
/arch/arm64/mm/
Dhugetlbpage.c35 int pud_huge(pud_t pud) in pud_huge() argument
38 return pud_val(pud) && !(pud_val(pud) & PUD_TABLE_BIT); in pud_huge()
48 pud_t *pud; in find_num_contig() local
58 pud = pud_offset(pgd, addr); in find_num_contig()
59 if (!pud_present(*pud)) { in find_num_contig()
60 VM_BUG_ON(!pud_present(*pud)); in find_num_contig()
63 pmd = pmd_offset(pud, addr); in find_num_contig()
105 pud_t *pud; in huge_pte_alloc() local
110 pud = pud_alloc(mm, pgd, addr); in huge_pte_alloc()
111 if (!pud) in huge_pte_alloc()
[all …]
Dmmu.c180 static void alloc_init_pmd(pud_t *pud, unsigned long addr, unsigned long end, in alloc_init_pmd() argument
190 if (pud_none(*pud) || pud_sect(*pud)) { in alloc_init_pmd()
195 if (pud_sect(*pud)) { in alloc_init_pmd()
200 split_pud(pud, pmd); in alloc_init_pmd()
202 __pud_populate(pud, pmd_phys, PUD_TYPE_TABLE); in alloc_init_pmd()
206 BUG_ON(pud_bad(*pud)); in alloc_init_pmd()
208 pmd = pmd_set_fixmap_offset(pud, addr); in alloc_init_pmd()
254 pud_t *pud; in alloc_init_pud() local
265 pud = pud_set_fixmap_offset(pgd, addr); in alloc_init_pud()
274 pud_t old_pud = *pud; in alloc_init_pud()
[all …]
/arch/um/include/asm/
Dpgtable-3level.h59 #define pud_populate(mm, pud, pmd) \ argument
60 set_pud(pud, __pud(_PAGE_TABLE + __pa(pmd)))
84 static inline void pud_clear (pud_t *pud) in pud_clear() argument
86 set_pud(pud, __pud(_PAGE_NEWPAGE)); in pud_clear()
89 #define pud_page(pud) phys_to_page(pud_val(pud) & PAGE_MASK) argument
90 #define pud_page_vaddr(pud) ((unsigned long) __va(pud_val(pud) & PAGE_MASK)) argument
93 #define pmd_offset(pud, address) ((pmd_t *) pud_page_vaddr(*(pud)) + \ argument
/arch/x86/include/asm/
Dpgalloc.h112 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate() argument
115 set_pud(pud, __pud(_PAGE_TABLE | __pa(pmd))); in pud_populate()
120 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, pud_t *pud) in pgd_populate() argument
122 paravirt_alloc_pud(mm, __pa(pud) >> PAGE_SHIFT); in pgd_populate()
123 set_pgd(pgd, __pgd(_PAGE_TABLE | __pa(pud))); in pgd_populate()
131 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free() argument
133 BUG_ON((unsigned long)pud & (PAGE_SIZE-1)); in pud_free()
134 free_page((unsigned long)pud); in pud_free()
137 extern void ___pud_free_tlb(struct mmu_gather *tlb, pud_t *pud);
139 static inline void __pud_free_tlb(struct mmu_gather *tlb, pud_t *pud, in __pud_free_tlb() argument
[all …]
/arch/mips/include/asm/
Dpgtable-64.h209 static inline int pud_none(pud_t pud) in pud_none() argument
211 return pud_val(pud) == (unsigned long) invalid_pmd_table; in pud_none()
214 static inline int pud_bad(pud_t pud) in pud_bad() argument
216 return pud_val(pud) & ~PAGE_MASK; in pud_bad()
219 static inline int pud_present(pud_t pud) in pud_present() argument
221 return pud_val(pud) != (unsigned long) invalid_pmd_table; in pud_present()
255 static inline unsigned long pud_page_vaddr(pud_t pud) in pud_page_vaddr() argument
257 return pud_val(pud); in pud_page_vaddr()
259 #define pud_phys(pud) virt_to_phys((void *)pud_val(pud)) argument
260 #define pud_page(pud) (pfn_to_page(pud_phys(pud) >> PAGE_SHIFT)) argument
[all …]
/arch/arm/include/asm/
Dpgtable-3level.h142 #define pud_none(pud) (!pud_val(pud)) argument
143 #define pud_bad(pud) (!(pud_val(pud) & 2)) argument
144 #define pud_present(pud) (pud_val(pud)) argument
157 #define set_pud(pudp, pud) \ argument
159 *pudp = pud; \
163 static inline pmd_t *pud_page_vaddr(pud_t pud) in pud_page_vaddr() argument
165 return __va(pud_val(pud) & PHYS_MASK & (s32)PAGE_MASK); in pud_page_vaddr()
170 static inline pmd_t *pmd_offset(pud_t *pud, unsigned long addr) in pmd_offset() argument
172 return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(addr); in pmd_offset()
228 #define pud_page(pud) pmd_page(__pmd(pud_val(pud))) argument
[all …]
/arch/sparc/include/asm/
Dpgalloc_64.h18 static inline void __pgd_populate(pgd_t *pgd, pud_t *pud) in __pgd_populate() argument
20 pgd_set(pgd, pud); in __pgd_populate()
35 static inline void __pud_populate(pud_t *pud, pmd_t *pmd) in __pud_populate() argument
37 pud_set(pud, pmd); in __pud_populate()
48 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free() argument
50 kmem_cache_free(pgtable_cache, pud); in pud_free()
117 #define __pud_free_tlb(tlb, pud, addr) \ argument
118 pgtable_free_tlb(tlb, pud, false)

1234567