/linux/arch/arm/boot/dts/ |
A D | s3c64xx-pinctrl.dtsi | 137 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>; 143 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>; 149 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>; 155 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>; 161 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>; 203 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>; 210 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>; 216 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>; 228 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>; 264 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>; [all …]
|
A D | exynos4412-pinctrl.dtsi | 129 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 136 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 143 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 157 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 185 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 206 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 213 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 220 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 227 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 281 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; [all …]
|
A D | s5pv210-pinctrl.dtsi | 284 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>; 291 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>; 340 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>; 347 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>; 417 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>; 424 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>; 431 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>; 438 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>; 599 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>; 606 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>; [all …]
|
A D | exynos4210-pinctrl.dtsi | 148 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 155 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 162 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 176 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 204 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 225 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 232 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 239 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 246 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 300 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; [all …]
|
A D | exynos5250-pinctrl.dtsi | 203 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 217 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 224 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 251 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 258 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 272 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 279 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 286 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 293 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 347 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; [all …]
|
A D | exynos5420-pinctrl.dtsi | 64 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 71 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 177 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 184 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 191 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 198 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 226 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 233 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 240 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 247 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; [all …]
|
A D | exynos5260-pinctrl.dtsi | 237 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 244 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 281 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 288 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 295 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 302 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 309 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 316 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 323 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 330 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; [all …]
|
A D | exynos3250-pinctrl.dtsi | 26 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; \ 114 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 142 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 156 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 163 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 170 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 177 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 184 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 207 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 228 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; [all …]
|
A D | exynos5410-pinctrl.dtsi | 311 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 332 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 346 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 353 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 360 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 395 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 402 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 409 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 430 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 437 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; [all …]
|
/linux/arch/arm64/boot/dts/exynos/ |
A D | exynosautov9-pinctrl.dtsi | 61 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 67 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 107 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>; 113 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>; 119 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>; 125 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>; 131 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>; 221 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 244 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 267 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; [all …]
|
A D | exynos5433-pinctrl.dtsi | 135 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 186 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 193 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 278 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 285 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 292 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 313 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 320 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 327 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 334 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; [all …]
|
A D | exynos7-pinctrl.dtsi | 190 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 197 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 204 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 232 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 253 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 260 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 267 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 302 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 316 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 323 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; [all …]
|
/linux/mm/kasan/ |
A D | init.c | 153 pud_populate(&init_mm, pud, in zero_pud_populate() 161 if (pud_none(*pud)) { in zero_pud_populate() 188 pud_t *pud; in zero_p4d_populate() local 239 pud_t *pud; in kasan_populate_early_shadow() local 309 pud_clear(pud); in kasan_free_pmd() 314 pud_t *pud; in kasan_free_pud() local 318 pud = pud_start + i; in kasan_free_pud() 319 if (!pud_none(*pud)) in kasan_free_pud() 397 if (!pud_present(*pud)) in kasan_remove_pud_table() 403 pud_clear(pud); in kasan_remove_pud_table() [all …]
|
/linux/arch/riscv/include/asm/ |
A D | pgtable-64.h | 31 static inline int pud_present(pud_t pud) in pud_present() argument 33 return (pud_val(pud) & _PAGE_PRESENT); in pud_present() 36 static inline int pud_none(pud_t pud) in pud_none() argument 38 return (pud_val(pud) == 0); in pud_none() 41 static inline int pud_bad(pud_t pud) in pud_bad() argument 43 return !pud_present(pud); in pud_bad() 47 static inline int pud_leaf(pud_t pud) in pud_leaf() argument 49 return pud_present(pud) && (pud_val(pud) & _PAGE_LEAF); in pud_leaf() 54 *pudp = pud; in set_pud() 62 static inline pmd_t *pud_pgtable(pud_t pud) in pud_pgtable() argument [all …]
|
/linux/include/asm-generic/ |
A D | pgtable-nopmd.h | 18 typedef struct { pud_t pud; } pmd_t; member 30 static inline int pud_none(pud_t pud) { return 0; } in pud_none() argument 31 static inline int pud_bad(pud_t pud) { return 0; } in pud_bad() argument 32 static inline int pud_present(pud_t pud) { return 1; } in pud_present() argument 33 static inline void pud_clear(pud_t *pud) { } in pud_clear() argument 34 #define pmd_ERROR(pmd) (pud_ERROR((pmd).pud)) 44 static inline pmd_t * pmd_offset(pud_t * pud, unsigned long address) in pmd_offset() argument 46 return (pmd_t *)pud; in pmd_offset() 50 #define pmd_val(x) (pud_val((x).pud)) 53 #define pud_page(pud) (pmd_page((pmd_t){ pud })) argument [all …]
|
/linux/arch/x86/include/asm/ |
A D | pgtable.h | 86 # define set_pud(pudp, pud) native_set_pud(pudp, pud) argument 90 #define pud_clear(pud) native_pud_clear(pud) argument 146 return pud_flags(pud) & _PAGE_DIRTY; in pud_dirty() 199 phys_addr_t pfn = pud_val(pud); in pud_pfn() 443 pudval_t v = native_pud_val(pud); in pud_set_flags() 450 pudval_t v = native_pud_val(pud); in pud_clear_flags() 841 return (pmd_t *)__va(pud_val(pud) & pud_pfn_mask(pud)); in pud_pgtable() 848 #define pud_page(pud) pfn_to_page(pud_pfn(pud)) argument 1019 pud_t *pudp, pud_t pud) in set_pud_at() argument 1021 native_set_pud(pudp, pud); in set_pud_at() [all …]
|
/linux/arch/x86/mm/ |
A D | init_64.c | 89 DEFINE_ENTRY(pud, pud, init) 342 pud_t *pud; in populate_extra_pmd() local 366 pud_t *pud; in __init_extra_mapping() local 597 pud_t *pud; in phys_pud_init() local 690 pud_t *pud; in phys_p4d_init() local 1042 pud_t *pud; in free_pud_table() local 1156 pud_t *pud; in remove_pud_table() local 1315 if (!pud) in preallocate_vmalloc_pages() 1423 pud_t *pud; in kern_addr_valid() local 1542 pud_t *pud; in vmemmap_populate_hugepages() local [all …]
|
A D | ident_map.c | 27 pud_t *pud = pud_page + pud_index(addr); in ident_pud_init() local 37 if (pud_present(*pud)) in ident_pud_init() 42 set_pud(pud, pudval); in ident_pud_init() 46 if (pud_present(*pud)) { in ident_pud_init() 47 pmd = pmd_offset(pud, 0); in ident_pud_init() 69 pud_t *pud; in ident_p4d_init() local 76 pud = pud_offset(p4d, 0); in ident_p4d_init() 77 result = ident_pud_init(info, pud, addr, next); in ident_p4d_init() 84 if (!pud) in ident_p4d_init() 87 result = ident_pud_init(info, pud, addr, next); in ident_p4d_init() [all …]
|
/linux/arch/powerpc/include/asm/book3s/64/ |
A D | pgalloc.h | 90 *pgd = __p4d(__pgtable_ptr_val(pud) | PGD_VAL_BITS); in p4d_populate() 95 pud_t *pud; in pud_alloc_one() local 97 pud = kmem_cache_alloc(PGT_CACHE(PUD_CACHE_INDEX), in pud_alloc_one() 105 kmemleak_ignore(pud); in pud_alloc_one() 107 return pud; in pud_alloc_one() 110 static inline void __pud_free(pud_t *pud) in __pud_free() argument 112 struct page *page = virt_to_page(pud); in __pud_free() 121 kmem_cache_free(PGT_CACHE(PUD_CACHE_INDEX), pud); in __pud_free() 126 return __pud_free(pud); in pud_free() 131 *pud = __pud(__pgtable_ptr_val(pmd) | PUD_VAL_BITS); in pud_populate() [all …]
|
/linux/arch/sparc/mm/ |
A D | hugetlbpage.c | 285 pud_t *pud; in huge_pte_alloc() local 291 if (!pud) in huge_pte_alloc() 294 return (pte_t *)pud; in huge_pte_alloc() 308 pud_t *pud; in huge_pte_offset() local 318 if (pud_none(*pud)) in huge_pte_offset() 321 return (pte_t *)pud; in huge_pte_offset() 409 int pud_huge(pud_t pud) in pud_huge() argument 411 return !pud_none(pud) && in pud_huge() 457 pud_clear(pud); in hugetlb_free_pmd_range() 466 pud_t *pud; in hugetlb_free_pud_range() local [all …]
|
/linux/arch/mips/mm/ |
A D | hugetlbpage.c | 29 pud_t *pud; in huge_pte_alloc() local 34 pud = pud_alloc(mm, p4d, addr); in huge_pte_alloc() 35 if (pud) in huge_pte_alloc() 36 pte = (pte_t *)pmd_alloc(mm, pud, addr); in huge_pte_alloc() 46 pud_t *pud; in huge_pte_offset() local 53 pud = pud_offset(p4d, addr); in huge_pte_offset() 54 if (pud_present(*pud)) in huge_pte_offset() 55 pmd = pmd_offset(pud, addr); in huge_pte_offset() 66 int pud_huge(pud_t pud) in pud_huge() argument 68 return (pud_val(pud) & _PAGE_HUGE) != 0; in pud_huge()
|
/linux/arch/arm64/include/asm/ |
A D | pgtable.h | 477 #define pud_young(pud) pte_young(pud_pte(pud)) argument 478 #define pud_mkyoung(pud) pte_pud(pte_mkyoung(pud_pte(pud))) argument 479 #define pud_write(pud) pte_write(pud_pte(pud)) argument 483 #define __pud_to_phys(pud) __pte_to_phys(pud_pte(pud)) argument 548 #define pud_sect(pud) ((pud_val(pud) & PUD_TYPE_MASK) == \ argument 625 #define pud_none(pud) (!pud_val(pud)) argument 626 #define pud_bad(pud) (!pud_table(pud)) argument 627 #define pud_present(pud) pte_present(pud_pte(pud)) argument 628 #define pud_leaf(pud) pud_sect(pud) argument 629 #define pud_valid(pud) pte_valid(pud_pte(pud)) argument [all …]
|
/linux/arch/arm/mm/ |
A D | idmap.c | 24 static void idmap_add_pmd(pud_t *pud, unsigned long addr, unsigned long end, in idmap_add_pmd() argument 30 if (pud_none_or_clear_bad(pud) || (pud_val(*pud) & L_PGD_SWAPPER)) { in idmap_add_pmd() 40 if (!pud_none(*pud)) in idmap_add_pmd() 41 memcpy(pmd, pmd_offset(pud, 0), in idmap_add_pmd() 43 pud_populate(&init_mm, pud, pmd); in idmap_add_pmd() 46 pmd = pmd_offset(pud, addr); in idmap_add_pmd() 55 static void idmap_add_pmd(pud_t *pud, unsigned long addr, unsigned long end, in idmap_add_pmd() argument 58 pmd_t *pmd = pmd_offset(pud, addr); in idmap_add_pmd() 72 pud_t *pud = pud_offset(p4d, addr); in idmap_add_pud() local 77 idmap_add_pmd(pud, addr, next, prot); in idmap_add_pud() [all …]
|
/linux/mm/ |
A D | debug_vm_pgtable.c | 328 pud_t pud; in pud_basic_tests() local 345 WARN_ON(!pud_same(pud, pud)); in pud_basic_tests() 369 pud_t pud; in pud_advanced_tests() local 402 pud = pud_wrprotect(pud); in pud_advanced_tests() 403 pud = pud_mkclean(pud); in pud_advanced_tests() 406 pud = pud_mkwrite(pud); in pud_advanced_tests() 407 pud = pud_mkdirty(pud); in pud_advanced_tests() 410 WARN_ON(!(pud_write(pud) && pud_dirty(pud))); in pud_advanced_tests() 419 pud = pud_mkyoung(pud); in pud_advanced_tests() 441 pud = pud_mkhuge(pud); in pud_leaf_tests() [all …]
|
/linux/arch/sh/mm/ |
A D | hugetlbpage.c | 29 pud_t *pud; in huge_pte_alloc() local 37 pud = pud_alloc(mm, p4d, addr); in huge_pte_alloc() 38 if (pud) { in huge_pte_alloc() 39 pmd = pmd_alloc(mm, pud, addr); in huge_pte_alloc() 54 pud_t *pud; in huge_pte_offset() local 62 pud = pud_offset(p4d, addr); in huge_pte_offset() 63 if (pud) { in huge_pte_offset() 64 pmd = pmd_offset(pud, addr); in huge_pte_offset() 79 int pud_huge(pud_t pud) in pud_huge() argument
|