| /linux/arch/arm64/mm/ |
| H A D | hugetlbpage.c | 52 case PUD_SIZE: in __hugetlb_valid_size() 255 if (sz == PUD_SIZE) { in huge_pte_alloc() 296 if (sz != PUD_SIZE && pud_none(pud)) in huge_pte_offset() 326 case PUD_SIZE: in hugetlb_mask_last_page() 328 return PGDIR_SIZE - PUD_SIZE; in hugetlb_mask_last_page() 332 return PUD_SIZE - CONT_PMD_SIZE; in hugetlb_mask_last_page() 334 return PUD_SIZE - PMD_SIZE; in hugetlb_mask_last_page() 350 case PUD_SIZE: in arch_make_huge_pte()
|
| H A D | mmu.c | 724 if (ALIGN_DOWN(addr, PUD_SIZE) == addr) in split_kernel_leaf_mapping_locked() 1605 PUD_SIZE, altmap); in unmap_hotplug_pud_range() 1951 end = addr + PUD_SIZE; in pud_free_pmd_page() 2083 if (IS_ALIGNED(addr, PUD_SIZE)) in addr_splits_kernel_leaf()
|
| H A D | fault.c | 254 case PUD_SIZE: in __ptep_set_access_flags_anysz()
|
| /linux/arch/riscv/mm/ |
| H A D | tlbflush.c | 167 else if (stride_size >= PUD_SIZE) in flush_tlb_range() 168 stride_size = PUD_SIZE; in flush_tlb_range() 198 start, end - start, PUD_SIZE); in flush_pud_tlb_range()
|
| H A D | init.c | 609 if (sz == PUD_SIZE) { in create_pud_mapping() 721 !(pa & (PUD_SIZE - 1)) && !(va & (PUD_SIZE - 1)) && size >= PUD_SIZE) in best_map_size() 722 return PUD_SIZE; in best_map_size() 855 PUD_SIZE, PAGE_TABLE); in set_satp_mode() 1056 nr_pos = (PUD_SIZE - kernel_size) / PMD_SIZE; in setup_vm() 1110 BUG_ON(PUD_SIZE - (kernel_map.virt_addr & (PUD_SIZE - 1)) < kernel_map.size); in setup_vm() 1129 (uintptr_t)fixmap_pmd, PUD_SIZE, PAGE_TABLE); in setup_vm() 1140 (uintptr_t)trampoline_pmd, PUD_SIZE, PAGE_TABLE); in setup_vm() 1636 free_vmemmap_storage(pud_page(pud), PUD_SIZE, altmap); in remove_pud_mapping()
|
| /linux/arch/powerpc/include/asm/nohash/64/ |
| H A D | pgtable-4k.h | 36 #define PUD_SIZE (1UL << PUD_SHIFT) macro 37 #define PUD_MASK (~(PUD_SIZE-1))
|
| /linux/arch/x86/include/asm/ |
| H A D | pgtable_64_types.h | 84 #define PUD_SIZE (_AC(1, UL) << PUD_SHIFT) macro 85 #define PUD_MASK (~(PUD_SIZE - 1))
|
| /linux/arch/um/include/asm/ |
| H A D | pgtable-4level.h | 23 #define PUD_SIZE (1UL << PUD_SHIFT) macro 24 #define PUD_MASK (~(PUD_SIZE-1))
|
| /linux/mm/ |
| H A D | page_table_check.c | 188 page_table_check_clear(pud_pfn(pud), PUD_SIZE >> PAGE_SHIFT); in __page_table_check_pud_clear() 261 unsigned long stride = PUD_SIZE >> PAGE_SHIFT; in __page_table_check_puds_set() 268 __page_table_check_pud_clear(mm, addr + PUD_SIZE * i, *(pudp + i)); in __page_table_check_puds_set()
|
| H A D | pagewalk.c | 938 entry_size = PUD_SIZE; in folio_walk_start()
|
| /linux/arch/arc/include/asm/ |
| H A D | pgtable-levels.h | 75 #define PUD_SIZE BIT(PUD_SHIFT) macro 76 #define PUD_MASK (~(PUD_SIZE - 1))
|
| /linux/arch/x86/mm/ |
| H A D | kasan_init_64.c | 82 ((end - addr) == PUD_SIZE) && in kasan_populate_pud() 83 IS_ALIGNED(addr, PUD_SIZE)) { in kasan_populate_pud() 84 p = early_alloc(PUD_SIZE, nid, false); in kasan_populate_pud() 87 memblock_free(p, PUD_SIZE); in kasan_populate_pud()
|
| H A D | init.c | 367 unsigned long start = round_down(mr[i].start, PUD_SIZE); in adjust_range_page_size_mask() 368 unsigned long end = round_up(mr[i].end, PUD_SIZE); in adjust_range_page_size_mask() 439 end_pfn = round_up(pfn, PFN_DOWN(PUD_SIZE)); in split_mem_range() 452 start_pfn = round_up(pfn, PFN_DOWN(PUD_SIZE)); in split_mem_range() 453 end_pfn = round_down(limit_pfn, PFN_DOWN(PUD_SIZE)); in split_mem_range()
|
| H A D | kaslr.c | 166 vaddr = round_up(vaddr + 1, PUD_SIZE); in kernel_randomize_memory()
|
| /linux/drivers/dax/ |
| H A D | dax-private.h | 122 if (align == PUD_SIZE && IS_ENABLED(CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD)) in dax_align_valid()
|
| /linux/arch/powerpc/mm/book3s64/ |
| H A D | radix_hugetlbpage.c | 38 if (end - start >= PUD_SIZE) in radix__flush_hugetlb_tlb_range()
|
| /linux/arch/riscv/include/asm/ |
| H A D | pgtable-64.h | 36 #define PUD_SIZE (_AC(1, UL) << PUD_SHIFT) macro 37 #define PUD_MASK (~(PUD_SIZE - 1))
|
| /linux/arch/powerpc/include/asm/nohash/ |
| H A D | pgtable.h | 78 else if (sz < PUD_SIZE) in pte_update() 81 pdsize = PUD_SIZE; in pte_update()
|
| /linux/arch/x86/xen/ |
| H A D | xen-head.S | 152 ELFNOTE(Xen, XEN_ELFNOTE_INIT_P2M, .quad (PUD_SIZE * PTRS_PER_PUD))
|
| /linux/arch/powerpc/include/asm/book3s/64/ |
| H A D | hash.h | 203 nb = SZ_16G / PUD_SIZE; in hash__pte_update()
|
| /linux/arch/x86/kernel/ |
| H A D | head64.c | 230 BUILD_BUG_ON(MODULES_LEN + KERNEL_IMAGE_SIZE > 2*PUD_SIZE); in x86_64_start_kernel()
|
| /linux/arch/loongarch/include/asm/ |
| H A D | pgtable.h | 42 #define PUD_SIZE (1UL << PUD_SHIFT) macro 43 #define PUD_MASK (~(PUD_SIZE-1))
|
| /linux/arch/powerpc/kvm/ |
| H A D | book3s_64_mmu_radix.c | 873 (gpa & (PUD_SIZE - PAGE_SIZE)) == in kvmppc_book3s_instantiate_page() 874 (hva & (PUD_SIZE - PAGE_SIZE))) { in kvmppc_book3s_instantiate_page() 1374 gpa = (gpa & PUD_MASK) + PUD_SIZE; in debugfs_radix_read()
|
| /linux/arch/arm/mm/ |
| H A D | dump.c | 373 addr = start + i * PUD_SIZE; in walk_pud()
|
| /linux/arch/powerpc/mm/ptdump/ |
| H A D | hashpagetable.c | 435 addr = start + i * PUD_SIZE; in walk_pud()
|