Searched refs:PUD_SIZE (Results 1 - 25 of 62) sorted by relevance

123

/linux-master/arch/powerpc/include/asm/nohash/64/
H A Dpgtable-4k.h36 #define PUD_SIZE (1UL << PUD_SHIFT) macro
37 #define PUD_MASK (~(PUD_SIZE-1))
/linux-master/include/asm-generic/
H A Dpgtable-nopud.h20 #define PUD_SIZE (1UL << PUD_SHIFT) macro
21 #define PUD_MASK (~(PUD_SIZE-1))
/linux-master/arch/x86/include/asm/
H A Dpgtable_64_types.h101 #define PUD_SIZE (_AC(1, UL) << PUD_SHIFT) macro
102 #define PUD_MASK (~(PUD_SIZE - 1))
/linux-master/arch/powerpc/mm/book3s64/
H A Dradix_hugetlbpage.c36 * 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 Ddax-private.h104 if (align == PUD_SIZE && IS_ENABLED(CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD))
H A Ddevice.c188 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 Dhugetlbpage.c51 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 Dkasan_init.c97 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 Dtlbflush.c188 else if (stride_size >= PUD_SIZE)
189 stride_size = PUD_SIZE;
H A Dpgtable.c82 flush_tlb_kernel_range(addr, addr + PUD_SIZE);
H A Dinit.c564 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 Dhugetlbpage.c56 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 Dpgtable-levels.h75 #define PUD_SIZE BIT(PUD_SHIFT) macro
76 #define PUD_MASK (~(PUD_SIZE - 1))
/linux-master/arch/arm64/include/asm/
H A Dhugetlb.h73 else if (stride == PUD_SIZE)
H A Dpgtable-hwdef.h60 #define PUD_SIZE (_AC(1, UL) << PUD_SHIFT) macro
61 #define PUD_MASK (~(PUD_SIZE-1))
/linux-master/arch/s390/mm/
H A Dhugetlbpage.c133 size = PUD_SIZE;
204 if (sz == PUD_SIZE)
250 else if (MACHINE_HAS_EDAT2 && size == PUD_SIZE)
/linux-master/arch/x86/mm/
H A Dkaslr.c136 vaddr = round_up(vaddr + 1, PUD_SIZE);
H A Dkasan_init_64.c83 ((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 Dinit.c368 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 Dinit.c154 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 Dxen-head.S96 ELFNOTE(Xen, XEN_ELFNOTE_INIT_P2M, .quad (PUD_SIZE * PTRS_PER_PUD))
/linux-master/arch/s390/boot/
H A Dvmem.c155 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 Dpgtable-64.h60 #define PUD_SIZE (1UL << PUD_SHIFT) macro
61 #define PUD_MASK (~(PUD_SIZE-1))
/linux-master/mm/
H A Dpage_table_check.c180 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 Dhugetlbpage.c294 if (sz >= PUD_SIZE)
341 if (size >= PUD_SIZE)
384 if (size >= PUD_SIZE)

Completed in 190 milliseconds

123