/linux-master/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-master/include/asm-generic/ |
H A D | pgtable-nopud.h | 20 #define PUD_SIZE (1UL << PUD_SHIFT) macro 21 #define PUD_MASK (~(PUD_SIZE-1))
|
/linux-master/arch/x86/include/asm/ |
H A D | pgtable_64_types.h | 101 #define PUD_SIZE (_AC(1, UL) << PUD_SHIFT) macro 102 #define PUD_MASK (~(PUD_SIZE - 1))
|
/linux-master/arch/powerpc/mm/book3s64/ |
H A D | radix_hugetlbpage.c | 36 * Flush PWC even if we get PUD_SIZE hugetlb invalidate to keep this simpler. 38 if (end - start >= PUD_SIZE)
|
/linux-master/drivers/dax/ |
H A D | dax-private.h | 104 if (align == PUD_SIZE && IS_ENABLED(CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD))
|
H A D | device.c | 188 unsigned int fault_size = PUD_SIZE; 194 if (dev_dax->align > PUD_SIZE) { 207 (pud_addr + PUD_SIZE) > vmf->vma->vm_end) 211 phys = dax_pgoff_to_phys(dev_dax, pgoff, PUD_SIZE);
|
/linux-master/arch/riscv/mm/ |
H A D | hugetlbpage.c | 51 if (sz == PUD_SIZE) { 104 if (sz == PUD_SIZE) 134 case PUD_SIZE: 135 return P4D_SIZE - PUD_SIZE; 138 return PUD_SIZE - PMD_SIZE; 236 else if (sz >= PUD_SIZE) 416 else if (IS_ENABLED(CONFIG_64BIT) && size == PUD_SIZE)
|
H A D | kasan_init.c | 97 if (pud_none(pudp_get(pudp)) && IS_ALIGNED(vaddr, PUD_SIZE) && 98 (next - vaddr) >= PUD_SIZE) { 99 phys_addr = memblock_phys_alloc(PUD_SIZE, PUD_SIZE); 102 memset(__va(phys_addr), KASAN_SHADOW_INIT, PUD_SIZE); local 181 if (IS_ALIGNED(vaddr, PUD_SIZE) && (next - vaddr) >= PUD_SIZE) { 252 if (pud_none(pudp_get(pudp)) && IS_ALIGNED(vaddr, PUD_SIZE) && 253 (next - vaddr) >= PUD_SIZE) {
|
H A D | tlbflush.c | 188 else if (stride_size >= PUD_SIZE) 189 stride_size = PUD_SIZE;
|
H A D | pgtable.c | 82 flush_tlb_kernel_range(addr, addr + PUD_SIZE);
|
H A D | init.c | 564 if (sz == PUD_SIZE) { 676 !(pa & (PUD_SIZE - 1)) && !(va & (PUD_SIZE - 1)) && size >= PUD_SIZE) 677 return PUD_SIZE; 797 PUD_SIZE, PAGE_TABLE); 1056 nr_pos = (PUD_SIZE - kernel_size) / PMD_SIZE; 1128 * to map PUD_SIZE aligned on PUD_SIZE: if the relocation offset 1129 * makes the kernel cross over a PUD_SIZE boundar [all...] |
/linux-master/arch/arm64/mm/ |
H A D | hugetlbpage.c | 56 case PUD_SIZE: 123 case PUD_SIZE: 287 if (sz == PUD_SIZE) { 328 if (sz != PUD_SIZE && pud_none(pud)) 358 case PUD_SIZE: 359 return PGDIR_SIZE - PUD_SIZE; 362 return PUD_SIZE - CONT_PMD_SIZE; 364 return PUD_SIZE - PMD_SIZE; 383 } else if (pagesize != PUD_SIZE && pagesize != PMD_SIZE) {
|
/linux-master/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-master/arch/arm64/include/asm/ |
H A D | hugetlb.h | 73 else if (stride == PUD_SIZE)
|
H A D | pgtable-hwdef.h | 60 #define PUD_SIZE (_AC(1, UL) << PUD_SHIFT) macro 61 #define PUD_MASK (~(PUD_SIZE-1))
|
/linux-master/arch/s390/mm/ |
H A D | hugetlbpage.c | 133 size = PUD_SIZE; 204 if (sz == PUD_SIZE) 250 else if (MACHINE_HAS_EDAT2 && size == PUD_SIZE)
|
/linux-master/arch/x86/mm/ |
H A D | kaslr.c | 136 vaddr = round_up(vaddr + 1, PUD_SIZE);
|
H A D | kasan_init_64.c | 83 ((end - addr) == PUD_SIZE) && 84 IS_ALIGNED(addr, PUD_SIZE)) { 85 p = early_alloc(PUD_SIZE, nid, false); 88 memblock_free(p, PUD_SIZE);
|
H A D | init.c | 368 unsigned long start = round_down(mr[i].start, PUD_SIZE); 369 unsigned long end = round_up(mr[i].end, PUD_SIZE); 440 end_pfn = round_up(pfn, PFN_DOWN(PUD_SIZE)); 453 start_pfn = round_up(pfn, PFN_DOWN(PUD_SIZE)); 454 end_pfn = round_down(limit_pfn, PFN_DOWN(PUD_SIZE)); 603 * We can not set step_size to be PUD_SIZE (1G) yet.
|
/linux-master/mm/kasan/ |
H A D | init.c | 154 if (IS_ALIGNED(addr, PUD_SIZE) && end - addr >= PUD_SIZE) { 414 if (IS_ALIGNED(addr, PUD_SIZE) && 415 IS_ALIGNED(next, PUD_SIZE)) {
|
/linux-master/arch/x86/xen/ |
H A D | xen-head.S | 96 ELFNOTE(Xen, XEN_ELFNOTE_INIT_P2M, .quad (PUD_SIZE * PTRS_PER_PUD))
|
/linux-master/arch/s390/boot/ |
H A D | vmem.c | 155 IS_ALIGNED(addr, PUD_SIZE) && end - addr >= PUD_SIZE) { 280 IS_ALIGNED(addr, PUD_SIZE) && (end - addr) >= PUD_SIZE;
|
/linux-master/arch/mips/include/asm/ |
H A D | pgtable-64.h | 60 #define PUD_SIZE (1UL << PUD_SHIFT) macro 61 #define PUD_MASK (~(PUD_SIZE-1))
|
/linux-master/mm/ |
H A D | page_table_check.c | 180 page_table_check_clear(pud_pfn(pud), PUD_SIZE >> PAGE_SHIFT); 220 page_table_check_set(pud_pfn(pud), PUD_SIZE >> PAGE_SHIFT,
|
/linux-master/arch/sparc/mm/ |
H A D | hugetlbpage.c | 294 if (sz >= PUD_SIZE) 341 if (size >= PUD_SIZE) 384 if (size >= PUD_SIZE)
|