Home
last modified time | relevance | path

Searched refs:HPAGE_MASK (Results 1 – 25 of 25) sorted by relevance

/linux-2.6.39/arch/sparc/mm/
Dhugetlbpage.c105 addr = mm->free_area_cache & HPAGE_MASK; in hugetlb_get_unmapped_area_topdown()
119 addr = (mm->mmap_base-len) & HPAGE_MASK; in hugetlb_get_unmapped_area_topdown()
138 addr = (vma->vm_start-len) & HPAGE_MASK; in hugetlb_get_unmapped_area_topdown()
171 if (len & ~HPAGE_MASK) in hugetlb_get_unmapped_area()
210 addr &= HPAGE_MASK; in huge_pte_alloc()
229 addr &= HPAGE_MASK; in huge_pte_offset()
256 addr &= HPAGE_MASK; in set_huge_pte_at()
275 addr &= HPAGE_MASK; in huge_ptep_get_and_clear()
/linux-2.6.39/arch/mips/mm/
Dhugetlbpage.c65 if (len & ~HPAGE_MASK) in is_aligned_hugepage_range()
67 if (addr & ~HPAGE_MASK) in is_aligned_hugepage_range()
96 page += ((address & ~HPAGE_MASK) >> PAGE_SHIFT); in follow_huge_pmd()
/linux-2.6.39/arch/ia64/mm/
Dhugetlbpage.c82 if (len & ~HPAGE_MASK) in prepare_hugepage_range()
84 if (addr & ~HPAGE_MASK) in prepare_hugepage_range()
104 page += ((addr & ~HPAGE_MASK) >> PAGE_SHIFT); in follow_huge_addr()
155 if (len & ~HPAGE_MASK) in hugetlb_get_unmapped_area()
/linux-2.6.39/arch/s390/include/asm/
Dhugetlb.h28 if (len & ~HPAGE_MASK) in prepare_hugepage_range()
30 if (addr & ~HPAGE_MASK) in prepare_hugepage_range()
103 "a" ((address & HPAGE_MASK)) in __pmd_idte()
Dpage.h24 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
/linux-2.6.39/arch/sparc/include/asm/
Dhugetlb.h28 if (len & ~HPAGE_MASK) in prepare_hugepage_range()
30 if (addr & ~HPAGE_MASK) in prepare_hugepage_range()
Dpage_64.h34 #define HPAGE_MASK (~(HPAGE_SIZE - 1UL)) macro
/linux-2.6.39/arch/sh/include/asm/
Dhugetlb.h20 if (len & ~HPAGE_MASK) in prepare_hugepage_range()
22 if (addr & ~HPAGE_MASK) in prepare_hugepage_range()
Dpage.h43 #define HPAGE_MASK (~(HPAGE_SIZE-1)) macro
/linux-2.6.39/arch/x86/include/asm/
Dpage_types.h25 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
/linux-2.6.39/arch/mn10300/include/asm/
Dpage.h48 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
/linux-2.6.39/include/linux/
Dhugetlb.h112 #ifndef HPAGE_MASK
113 #define HPAGE_MASK PAGE_MASK /* Keep the compiler happy */ macro
Dhuge_mm.h51 #define HPAGE_PMD_MASK HPAGE_MASK
/linux-2.6.39/arch/powerpc/include/asm/
Dpage_64.h91 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
/linux-2.6.39/arch/s390/mm/
Dhugetlbpage.c138 page += ((address & ~HPAGE_MASK) >> PAGE_SHIFT); in follow_huge_pmd()
Dvmem.c113 if (MACHINE_HAS_HPAGE && !(address & ~HPAGE_MASK) && in vmem_add_mem()
Dfault.c356 address &= HPAGE_MASK; in do_exception()
/linux-2.6.39/arch/parisc/include/asm/
Dpage.h149 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
/linux-2.6.39/arch/mips/include/asm/
Dpage.h39 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
/linux-2.6.39/arch/tile/include/asm/
Dpage.h29 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
/linux-2.6.39/arch/ia64/include/asm/
Dpage.h53 # define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
/linux-2.6.39/arch/tile/kernel/
Dsetup.c256 (void *)(vaddr & HPAGE_MASK); in setup_pa_va_mapping()
340 range.start = (start_pa + HPAGE_SIZE - 1) & HPAGE_MASK; in setup_memory()
342 range.size &= HPAGE_MASK; in setup_memory()
/linux-2.6.39/arch/tile/mm/
Dpgtable.c170 addr &= HPAGE_MASK; in shatter_huge_page()
/linux-2.6.39/arch/x86/mm/
Dinit_32.c926 unsigned long size = (((unsigned long)__init_end + HPAGE_SIZE) & HPAGE_MASK) - start; in mark_nxdata_nx()
/linux-2.6.39/drivers/net/tile/
Dtilepro.c449 BUG_ON(((((long)va & ~HPAGE_MASK) + len) & HPAGE_MASK) != 0); in tile_net_provide_needed_buffer()