/arch/x86/kernel/ |
D | sys_x86_64.c | 39 unsigned long align_mask = get_align_mask(); in align_vdso_addr() local 40 return (addr + align_mask) & ~align_mask; in align_vdso_addr() 138 info.align_mask = filp ? get_align_mask() : 0; in arch_get_unmapped_area() 177 info.align_mask = filp ? get_align_mask() : 0; in arch_get_unmapped_area_topdown()
|
D | amd_gart_64.c | 95 unsigned long align_mask) in alloc_iommu() argument 108 size, base_index, boundary_size, align_mask); in alloc_iommu() 113 align_mask); in alloc_iommu() 215 size_t size, int dir, unsigned long align_mask) in dma_map_area() argument 224 iommu_page = alloc_iommu(dev, npages, align_mask); in dma_map_area() 483 unsigned long align_mask; in gart_alloc_coherent() local 492 align_mask = (1UL << get_order(size)) - 1; in gart_alloc_coherent() 494 DMA_BIDIRECTIONAL, align_mask); in gart_alloc_coherent()
|
/arch/ia64/kernel/ |
D | sys_ia64.c | 28 unsigned long align_mask = 0; in arch_get_unmapped_area() local 56 align_mask = PAGE_MASK & (SHMLBA - 1); in arch_get_unmapped_area() 62 info.align_mask = align_mask; in arch_get_unmapped_area()
|
/arch/parisc/kernel/ |
D | unaligned.c | 725 unsigned long align_mask; in check_unaligned() local 729 align_mask = 0UL; in check_unaligned() 735 align_mask = 1UL; in check_unaligned() 744 align_mask = 3UL; in check_unaligned() 751 align_mask = 1UL; in check_unaligned() 757 align_mask = 3UL; in check_unaligned() 763 return (int)(regs->ior & align_mask); in check_unaligned()
|
D | sys_parisc.c | 129 info.align_mask = last_mmap ? (PAGE_MASK & (SHM_COLOUR - 1)) : 0; in arch_get_unmapped_area() 191 info.align_mask = last_mmap ? (PAGE_MASK & (SHM_COLOUR - 1)) : 0; in arch_get_unmapped_area_topdown()
|
/arch/sh/mm/ |
D | mmap.c | 74 info.align_mask = do_colour_align ? (PAGE_MASK & shm_align_mask) : 0; in arch_get_unmapped_area() 124 info.align_mask = do_colour_align ? (PAGE_MASK & shm_align_mask) : 0; in arch_get_unmapped_area_topdown()
|
D | pmb.c | 415 phys_addr_t align_mask; in pmb_remap_caller() local 436 align_mask = ~(pmb_sizes[i].size - 1); in pmb_remap_caller() 437 offset = phys & ~align_mask; in pmb_remap_caller() 438 phys &= align_mask; in pmb_remap_caller()
|
/arch/x86/mm/ |
D | hugetlbpage.c | 86 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in hugetlb_get_unmapped_area_bottomup() 103 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in hugetlb_get_unmapped_area_topdown()
|
/arch/arm/mm/ |
D | mmap.c | 100 info.align_mask = do_align ? (PAGE_MASK & (SHMLBA - 1)) : 0; in arch_get_unmapped_area() 151 info.align_mask = do_align ? (PAGE_MASK & (SHMLBA - 1)) : 0; in arch_get_unmapped_area_topdown()
|
/arch/arc/mm/ |
D | mmap.c | 75 info.align_mask = do_align ? (PAGE_MASK & (SHMLBA - 1)) : 0; in arch_get_unmapped_area()
|
/arch/sparc/mm/ |
D | hugetlbpage.c | 40 info.align_mask = PAGE_MASK & ~HPAGE_MASK; in hugetlb_get_unmapped_area_bottomup() 71 info.align_mask = PAGE_MASK & ~HPAGE_MASK; in hugetlb_get_unmapped_area_topdown()
|
/arch/frv/mm/ |
D | elf-fdpic.c | 86 info.align_mask = 0; in arch_get_unmapped_area()
|
/arch/tile/mm/ |
D | hugetlbpage.c | 180 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in hugetlb_get_unmapped_area_bottomup() 197 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in hugetlb_get_unmapped_area_topdown()
|
/arch/ia64/mm/ |
D | hugetlbpage.c | 167 info.align_mask = PAGE_MASK & (HPAGE_SIZE - 1); in hugetlb_get_unmapped_area()
|
/arch/mips/mm/ |
D | mmap.c | 100 info.align_mask = do_color_align ? (PAGE_MASK & shm_align_mask) : 0; in arch_get_unmapped_area_common()
|
/arch/sparc/kernel/ |
D | sys_sparc_32.c | 63 info.align_mask = (flags & MAP_SHARED) ? in arch_get_unmapped_area()
|
D | sys_sparc_64.c | 129 info.align_mask = do_color_align ? (PAGE_MASK & (SHMLBA - 1)) : 0; in arch_get_unmapped_area() 192 info.align_mask = do_color_align ? (PAGE_MASK & (SHMLBA - 1)) : 0; in arch_get_unmapped_area_topdown()
|
/arch/metag/mm/ |
D | hugetlbpage.c | 195 info.align_mask = PAGE_MASK & HUGEPT_MASK; in hugetlb_get_unmapped_area_new_pmd()
|
/arch/powerpc/mm/ |
D | slice.c | 276 info.align_mask = PAGE_MASK & ((1ul << pshift) - 1); in slice_find_area_bottomup() 319 info.align_mask = PAGE_MASK & ((1ul << pshift) - 1); in slice_find_area_topdown()
|
/arch/powerpc/kernel/ |
D | iommu.c | 187 unsigned long align_mask; in iommu_range_alloc() local 193 align_mask = 0xffffffffffffffffl >> (64 - align_order); in iommu_range_alloc() 260 boundary_size >> tbl->it_page_shift, align_mask); in iommu_range_alloc()
|
/arch/alpha/kernel/ |
D | pci_iommu.c | 844 iommu_reserve(struct pci_iommu_arena *arena, long pg_count, long align_mask) in iommu_reserve() argument 856 p = iommu_arena_find_pages(NULL, arena, pg_count, align_mask); in iommu_reserve()
|
D | osf_sys.c | 1309 info.align_mask = 0; in arch_get_unmapped_area_1()
|