| /Linux-v6.1/arch/arm64/mm/ |
| D | hugetlbpage.c | 63 case PUD_SIZE: in __hugetlb_valid_size() 130 case PUD_SIZE: in num_contig_ptes() 302 if (sz == PUD_SIZE) { in huge_pte_alloc() 350 if (sz != PUD_SIZE && pud_none(pud)) in huge_pte_offset() 380 case PUD_SIZE: in hugetlb_mask_last_page() 381 return PGDIR_SIZE - PUD_SIZE; in hugetlb_mask_last_page() 384 return PUD_SIZE - CONT_PMD_SIZE; in hugetlb_mask_last_page() 386 return PUD_SIZE - PMD_SIZE; in hugetlb_mask_last_page() 405 } else if (pagesize != PUD_SIZE && pagesize != PMD_SIZE) { in arch_make_huge_pte()
|
| /Linux-v6.1/include/asm-generic/ |
| D | pgtable-nopud.h | 20 #define PUD_SIZE (1UL << PUD_SHIFT) macro 21 #define PUD_MASK (~(PUD_SIZE-1))
|
| /Linux-v6.1/arch/riscv/mm/ |
| D | kasan_init.c | 132 if (pud_none(*pudp) && IS_ALIGNED(vaddr, PUD_SIZE) && (next - vaddr) >= PUD_SIZE) { in kasan_populate_pud() 138 phys_addr = memblock_phys_alloc(PUD_SIZE, PUD_SIZE); in kasan_populate_pud() 363 if (IS_ALIGNED(vaddr, PUD_SIZE) && (next - vaddr) >= PUD_SIZE) in kasan_shallow_populate_pud()
|
| D | hugetlbpage.c | 19 else if (IS_ENABLED(CONFIG_64BIT) && size == PUD_SIZE) in arch_hugetlb_valid_size()
|
| /Linux-v6.1/arch/powerpc/include/asm/nohash/64/ |
| D | pgtable-4k.h | 36 #define PUD_SIZE (1UL << PUD_SHIFT) macro 37 #define PUD_MASK (~(PUD_SIZE-1))
|
| /Linux-v6.1/arch/x86/include/asm/ |
| D | pgtable_64_types.h | 100 #define PUD_SIZE (_AC(1, UL) << PUD_SHIFT) macro 101 #define PUD_MASK (~(PUD_SIZE - 1))
|
| /Linux-v6.1/arch/powerpc/mm/book3s64/ |
| D | radix_pgtable.c | 91 if (map_page_size == PUD_SIZE) { in early_map_kernel_page() 157 if (map_page_size == PUD_SIZE) { in __map_kernel_page() 296 if (IS_ALIGNED(addr, PUD_SIZE) && gap >= PUD_SIZE && in create_physical_mapping() 298 mapping_size = PUD_SIZE; in create_physical_mapping() 796 if (!IS_ALIGNED(addr, PUD_SIZE) || in remove_pud_table() 797 !IS_ALIGNED(next, PUD_SIZE)) { in remove_pud_table() 1107 flush_tlb_kernel_range(addr, addr + PUD_SIZE); in pud_free_pmd_page()
|
| D | radix_hugetlbpage.c | 38 if (end - start >= PUD_SIZE) in radix__flush_hugetlb_tlb_range()
|
| /Linux-v6.1/arch/x86/mm/ |
| D | kasan_init_64.c | 83 ((end - addr) == PUD_SIZE) && in kasan_populate_pud() 84 IS_ALIGNED(addr, PUD_SIZE)) { in kasan_populate_pud() 85 p = early_alloc(PUD_SIZE, nid, false); in kasan_populate_pud() 88 memblock_free(p, PUD_SIZE); in kasan_populate_pud()
|
| D | init.c | 352 unsigned long start = round_down(mr[i].start, PUD_SIZE); in adjust_range_page_size_mask() 353 unsigned long end = round_up(mr[i].end, PUD_SIZE); in adjust_range_page_size_mask() 424 end_pfn = round_up(pfn, PFN_DOWN(PUD_SIZE)); in split_mem_range() 437 start_pfn = round_up(pfn, PFN_DOWN(PUD_SIZE)); in split_mem_range() 438 end_pfn = round_down(limit_pfn, PFN_DOWN(PUD_SIZE)); in split_mem_range()
|
| /Linux-v6.1/mm/kasan/ |
| D | init.c | 150 if (IS_ALIGNED(addr, PUD_SIZE) && end - addr >= PUD_SIZE) { in zero_pud_populate() 401 if (IS_ALIGNED(addr, PUD_SIZE) && in kasan_remove_pud_table() 402 IS_ALIGNED(next, PUD_SIZE)) { in kasan_remove_pud_table()
|
| /Linux-v6.1/arch/s390/mm/ |
| D | vmem.c | 292 const unsigned long end = start + PUD_SIZE; in try_free_pmd_table() 329 if (IS_ALIGNED(addr, PUD_SIZE) && in modify_pud_table() 330 IS_ALIGNED(next, PUD_SIZE)) { in modify_pud_table() 337 if (IS_ALIGNED(addr, PUD_SIZE) && in modify_pud_table() 338 IS_ALIGNED(next, PUD_SIZE) && in modify_pud_table()
|
| D | hugetlbpage.c | 133 size = PUD_SIZE; in clear_huge_pte_skeys() 198 if (sz == PUD_SIZE) in huge_pte_alloc() 244 else if (MACHINE_HAS_EDAT2 && size == PUD_SIZE) in arch_hugetlb_valid_size()
|
| D | kasan_init.c | 150 IS_ALIGNED(address, PUD_SIZE) && in kasan_early_pgtable_populate() 151 end - address >= PUD_SIZE) { in kasan_early_pgtable_populate() 154 address = (address + PUD_SIZE) & PUD_MASK; in kasan_early_pgtable_populate()
|
| /Linux-v6.1/arch/arc/include/asm/ |
| D | pgtable-levels.h | 75 #define PUD_SIZE BIT(PUD_SHIFT) macro 76 #define PUD_MASK (~(PUD_SIZE - 1))
|
| /Linux-v6.1/drivers/dax/ |
| D | device.c | 188 unsigned int fault_size = PUD_SIZE; in __dev_dax_pud_fault() 194 if (dev_dax->align > PUD_SIZE) { in __dev_dax_pud_fault() 207 (pud_addr + PUD_SIZE) > vmf->vma->vm_end) in __dev_dax_pud_fault() 211 phys = dax_pgoff_to_phys(dev_dax, pgoff, PUD_SIZE); in __dev_dax_pud_fault()
|
| D | dax-private.h | 94 if (align == PUD_SIZE && IS_ENABLED(CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD)) in dax_align_valid()
|
| /Linux-v6.1/arch/x86/mm/pat/ |
| D | set_memory.c | 1230 if (start & (PUD_SIZE - 1)) { in unmap_pud_range() 1231 unsigned long next_page = (start + PUD_SIZE) & PUD_MASK; in unmap_pud_range() 1243 while (end - start >= PUD_SIZE) { in unmap_pud_range() 1248 unmap_pmd_range(pud, start, start + PUD_SIZE); in unmap_pud_range() 1250 start += PUD_SIZE; in unmap_pud_range() 1393 if (start & (PUD_SIZE - 1)) { in populate_pud() 1395 unsigned long next_page = (start + PUD_SIZE) & PUD_MASK; in populate_pud() 1428 while (boot_cpu_has(X86_FEATURE_GBPAGES) && end - start >= PUD_SIZE) { in populate_pud() 1432 start += PUD_SIZE; in populate_pud() 1433 cpa->pfn += PUD_SIZE >> PAGE_SHIFT; in populate_pud() [all …]
|
| /Linux-v6.1/mm/ |
| D | page_table_check.c | 180 PUD_SIZE >> PAGE_SHIFT); in __page_table_check_pud_clear() 224 PUD_SIZE >> PAGE_SHIFT, in __page_table_check_pud_set()
|
| /Linux-v6.1/arch/mips/include/asm/ |
| D | pgtable-64.h | 60 #define PUD_SIZE (1UL << PUD_SHIFT) macro 61 #define PUD_MASK (~(PUD_SIZE-1))
|
| /Linux-v6.1/arch/arm64/kvm/ |
| D | mmu.c | 1069 if ((hva & (PUD_SIZE - 1)) == (pa & (PUD_SIZE - 1)) && in get_vma_page_shift() 1070 ALIGN_DOWN(hva, PUD_SIZE) >= vma->vm_start && in get_vma_page_shift() 1071 ALIGN(hva, PUD_SIZE) <= vma->vm_end) in get_vma_page_shift() 1185 if (fault_supports_stage2_huge_mapping(memslot, hva, PUD_SIZE)) in user_mem_abort() 1207 if (vma_pagesize == PMD_SIZE || vma_pagesize == PUD_SIZE) in user_mem_abort() 1566 WARN_ON(size != PAGE_SIZE && size != PMD_SIZE && size != PUD_SIZE); in kvm_age_gfn()
|
| /Linux-v6.1/arch/riscv/include/asm/ |
| D | pgtable-64.h | 34 #define PUD_SIZE (_AC(1, UL) << PUD_SHIFT) macro 35 #define PUD_MASK (~(PUD_SIZE - 1))
|
| /Linux-v6.1/arch/arm64/include/asm/ |
| D | pgtable-hwdef.h | 60 #define PUD_SIZE (_AC(1, UL) << PUD_SHIFT) macro 61 #define PUD_MASK (~(PUD_SIZE-1))
|
| /Linux-v6.1/arch/sparc/mm/ |
| D | hugetlbpage.c | 294 if (sz >= PUD_SIZE) in huge_pte_alloc() 341 if (size >= PUD_SIZE) in set_huge_pte_at() 378 if (size >= PUD_SIZE) in huge_ptep_get_and_clear()
|
| /Linux-v6.1/arch/x86/xen/ |
| D | xen-head.S | 91 ELFNOTE(Xen, XEN_ELFNOTE_INIT_P2M, .quad (PUD_SIZE * PTRS_PER_PUD))
|