HPAGE_SIZE 57 arch/arm/include/asm/pgtable-3level.h #define HPAGE_MASK (~(HPAGE_SIZE - 1)) HPAGE_SIZE 293 arch/arm64/include/asm/pgtable.h #define HPAGE_MASK (~(HPAGE_SIZE - 1)) HPAGE_SIZE 48 arch/hexagon/include/asm/page.h #define HPAGE_MASK (~(HPAGE_SIZE-1)) HPAGE_SIZE 54 arch/ia64/include/asm/page.h # define HPAGE_MASK (~(HPAGE_SIZE - 1)) HPAGE_SIZE 96 arch/ia64/mm/hugetlbpage.c ptep = huge_pte_offset(mm, addr, HPAGE_SIZE); HPAGE_SIZE 156 arch/ia64/mm/hugetlbpage.c if ((REGION_NUMBER(addr) != RGN_HPAGE) || (addr & (HPAGE_SIZE - 1))) HPAGE_SIZE 163 arch/ia64/mm/hugetlbpage.c info.align_mask = PAGE_MASK & (HPAGE_SIZE - 1); HPAGE_SIZE 80 arch/mips/include/asm/hugetlb.h flush_tlb_range(vma, addr, addr + HPAGE_SIZE); HPAGE_SIZE 64 arch/mips/include/asm/page.h #define HPAGE_MASK (~(HPAGE_SIZE - 1)) HPAGE_SIZE 334 arch/mips/mm/tlb-r4k.c write_c0_entrylo1(lo + (HPAGE_SIZE >> 7)); HPAGE_SIZE 745 arch/mips/mm/tlbex.c small_sequence = (HPAGE_SIZE >> 7) < 0x10000; HPAGE_SIZE 749 arch/mips/mm/tlbex.c uasm_i_lui(p, tmp, HPAGE_SIZE >> (7 + 16)); HPAGE_SIZE 755 arch/mips/mm/tlbex.c UASM_i_ADDIU(p, pte, pte, HPAGE_SIZE >> 7); HPAGE_SIZE 157 arch/parisc/include/asm/page.h #define HPAGE_MASK (~(HPAGE_SIZE - 1)) HPAGE_SIZE 38 arch/powerpc/include/asm/page.h #define HPAGE_MASK (~(HPAGE_SIZE - 1)) HPAGE_SIZE 26 arch/riscv/include/asm/page.h #define HPAGE_MASK (~(HPAGE_SIZE - 1)) HPAGE_SIZE 21 arch/riscv/mm/hugetlbpage.c if (ps == HPAGE_SIZE) { HPAGE_SIZE 41 arch/s390/include/asm/kexec.h #define KEXEC_CRASH_MEM_ALIGN HPAGE_SIZE HPAGE_SIZE 27 arch/s390/include/asm/page.h #define HPAGE_MASK (~(HPAGE_SIZE - 1)) HPAGE_SIZE 1063 arch/s390/mm/gmap.c dist = HPAGE_SIZE - (gaddr & ~HPAGE_MASK); HPAGE_SIZE 1065 arch/s390/mm/gmap.c gaddr = (gaddr & HPAGE_MASK) + HPAGE_SIZE; HPAGE_SIZE 2273 arch/s390/mm/gmap.c gmap_call_notifier(gmap, gaddr, gaddr + HPAGE_SIZE - 1); HPAGE_SIZE 2587 arch/s390/mm/gmap.c end = start + HPAGE_SIZE - 1; HPAGE_SIZE 44 arch/sh/include/asm/page.h #define HPAGE_MASK (~(HPAGE_SIZE-1)) HPAGE_SIZE 29 arch/sparc/include/asm/page_64.h #define HPAGE_MASK (~(HPAGE_SIZE - 1UL)) HPAGE_SIZE 463 arch/sparc/mm/fault_64.c mm_rss -= (mm->context.thp_pte_count * (HPAGE_SIZE / PAGE_SIZE)); HPAGE_SIZE 272 arch/sparc/mm/hugetlbpage.c size = HPAGE_SIZE; HPAGE_SIZE 351 arch/sparc/mm/hugetlbpage.c if (size == HPAGE_SIZE) HPAGE_SIZE 386 arch/sparc/mm/hugetlbpage.c if (size == HPAGE_SIZE) HPAGE_SIZE 153 arch/sparc/mm/tlb.c end = vaddr + HPAGE_SIZE; HPAGE_SIZE 562 arch/sparc/mm/tsb.c mm_rss -= saved_thp_pte_count * (HPAGE_SIZE / PAGE_SIZE); HPAGE_SIZE 31 arch/x86/include/asm/page_types.h #define HPAGE_MASK (~(HPAGE_SIZE - 1)) HPAGE_SIZE 43 arch/x86/mm/hugetlbpage.c page = &pte_page(*pte)[vpfn % (HPAGE_SIZE/PAGE_SIZE)]; HPAGE_SIZE 913 arch/x86/mm/init_32.c unsigned long size = (((unsigned long)__init_end + HPAGE_SIZE) & HPAGE_MASK) - start; HPAGE_SIZE 2577 kernel/sched/fair.c end = ALIGN(start + (pages << PAGE_SHIFT), HPAGE_SIZE); HPAGE_SIZE 2954 mm/hugetlb.c default_hstate_size, HPAGE_SIZE); HPAGE_SIZE 2957 mm/hugetlb.c default_hstate_size = HPAGE_SIZE; HPAGE_SIZE 4953 mm/hugetlb.c *addr = ALIGN(*addr, HPAGE_SIZE * PTRS_PER_PTE) - HPAGE_SIZE; HPAGE_SIZE 35 tools/testing/selftests/vm/transhuge-stress.c if (mmap(ptr, HPAGE_SIZE, PROT_READ | PROT_WRITE, HPAGE_SIZE 40 tools/testing/selftests/vm/transhuge-stress.c if (madvise(ptr, HPAGE_SIZE, MADV_HUGEPAGE)) HPAGE_SIZE 88 tools/testing/selftests/vm/transhuge-stress.c len -= len % HPAGE_SIZE; HPAGE_SIZE 89 tools/testing/selftests/vm/transhuge-stress.c ptr = mmap(NULL, len + HPAGE_SIZE, PROT_READ | PROT_WRITE, HPAGE_SIZE 93 tools/testing/selftests/vm/transhuge-stress.c ptr += HPAGE_SIZE - (uintptr_t)ptr % HPAGE_SIZE; HPAGE_SIZE 109 tools/testing/selftests/vm/transhuge-stress.c for (p = ptr; p < ptr + len; p += HPAGE_SIZE) { HPAGE_SIZE 133 tools/testing/selftests/vm/transhuge-stress.c if (madvise(p, HPAGE_SIZE - PAGE_SIZE, MADV_DONTNEED)) HPAGE_SIZE 781 tools/testing/selftests/x86/protection_keys.c size = ALIGN_UP(size, HPAGE_SIZE * 2); HPAGE_SIZE 788 tools/testing/selftests/x86/protection_keys.c ptr = ALIGN_PTR_UP(ptr, HPAGE_SIZE); HPAGE_SIZE 790 tools/testing/selftests/x86/protection_keys.c ret = madvise(ptr, HPAGE_SIZE, MADV_HUGEPAGE); HPAGE_SIZE 792 tools/testing/selftests/x86/protection_keys.c ret = madvise(ptr, HPAGE_SIZE, MADV_WILLNEED); HPAGE_SIZE 794 tools/testing/selftests/x86/protection_keys.c memset(ptr, 0, HPAGE_SIZE); HPAGE_SIZE 851 tools/testing/selftests/x86/protection_keys.c size = ALIGN_UP(size, HPAGE_SIZE * 2); HPAGE_SIZE 1226 tools/testing/selftests/x86/protection_keys.c if (size >= HPAGE_SIZE) HPAGE_SIZE 1227 tools/testing/selftests/x86/protection_keys.c size = HPAGE_SIZE; HPAGE_SIZE 1248 tools/testing/selftests/x86/protection_keys.c int *plain_ptr_unaligned = malloc(HPAGE_SIZE);