/arch/x86/kernel/ |
D | sys_x86_64.c | 59 unsigned long align_mask = get_align_mask(); in align_vdso_addr() local 60 addr = (addr + align_mask) & ~align_mask; in align_vdso_addr() 161 info.align_mask = 0; in arch_get_unmapped_area() 164 info.align_mask = get_align_mask(); in arch_get_unmapped_area() 223 info.align_mask = 0; in arch_get_unmapped_area_topdown() 226 info.align_mask = get_align_mask(); in arch_get_unmapped_area_topdown()
|
D | amd_gart_64.c | 92 unsigned long align_mask) in alloc_iommu() argument 105 size, base_index, boundary_size, align_mask); in alloc_iommu() 110 align_mask); in alloc_iommu() 201 size_t size, int dir, unsigned long align_mask) in dma_map_area() argument 210 iommu_page = alloc_iommu(dev, npages, align_mask); in dma_map_area()
|
/arch/ia64/kernel/ |
D | sys_ia64.c | 31 unsigned long align_mask = 0; in arch_get_unmapped_area() local 59 align_mask = PAGE_MASK & (SHMLBA - 1); in arch_get_unmapped_area() 65 info.align_mask = align_mask; in arch_get_unmapped_area()
|
/arch/s390/mm/ |
D | mmap.c | 103 info.align_mask = MMAP_ALIGN_MASK << PAGE_SHIFT; in arch_get_unmapped_area() 105 info.align_mask = 0; in arch_get_unmapped_area() 154 info.align_mask = MMAP_ALIGN_MASK << PAGE_SHIFT; in arch_get_unmapped_area_topdown() 156 info.align_mask = 0; in arch_get_unmapped_area_topdown()
|
D | hugetlbpage.c | 288 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in hugetlb_get_unmapped_area_bottomup() 305 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in hugetlb_get_unmapped_area_topdown()
|
/arch/parisc/kernel/ |
D | unaligned.c | 704 unsigned long align_mask; in check_unaligned() local 708 align_mask = 0UL; in check_unaligned() 714 align_mask = 1UL; in check_unaligned() 723 align_mask = 3UL; in check_unaligned() 730 align_mask = 1UL; in check_unaligned() 736 align_mask = 3UL; in check_unaligned() 742 return (int)(regs->ior & align_mask); in check_unaligned()
|
D | sys_parisc.c | 124 info.align_mask = last_mmap ? (PAGE_MASK & (SHM_COLOUR - 1)) : 0; in arch_get_unmapped_area() 181 info.align_mask = last_mmap ? (PAGE_MASK & (SHM_COLOUR - 1)) : 0; in arch_get_unmapped_area_topdown()
|
/arch/sh/mm/ |
D | mmap.c | 75 info.align_mask = do_colour_align ? (PAGE_MASK & shm_align_mask) : 0; in arch_get_unmapped_area() 125 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/arm/mm/ |
D | mmap.c | 75 info.align_mask = do_align ? (PAGE_MASK & (SHMLBA - 1)) : 0; in arch_get_unmapped_area() 126 info.align_mask = do_align ? (PAGE_MASK & (SHMLBA - 1)) : 0; in arch_get_unmapped_area_topdown()
|
/arch/sparc/kernel/ |
D | iommu-common.c | 114 unsigned long align_mask = 0; in iommu_tbl_range_alloc() local 117 align_mask = ~0ul >> (BITS_PER_LONG - align_order); in iommu_tbl_range_alloc() 186 boundary_size, align_mask); in iommu_tbl_range_alloc()
|
D | sys_sparc_32.c | 66 info.align_mask = (flags & MAP_SHARED) ? in arch_get_unmapped_area()
|
D | sys_sparc_64.c | 133 info.align_mask = do_color_align ? (PAGE_MASK & (SHMLBA - 1)) : 0; in arch_get_unmapped_area() 196 info.align_mask = do_color_align ? (PAGE_MASK & (SHMLBA - 1)) : 0; in arch_get_unmapped_area_topdown()
|
/arch/x86/mm/ |
D | hugetlbpage.c | 98 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in hugetlb_get_unmapped_area_bottomup() 122 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in hugetlb_get_unmapped_area_topdown()
|
/arch/powerpc/mm/ |
D | mmap.c | 125 info.align_mask = 0; in radix__arch_get_unmapped_area() 169 info.align_mask = 0; in radix__arch_get_unmapped_area_topdown()
|
D | slice.c | 289 info.align_mask = PAGE_MASK & ((1ul << pshift) - 1); in slice_find_area_bottomup() 336 info.align_mask = PAGE_MASK & ((1ul << pshift) - 1); in slice_find_area_topdown()
|
/arch/csky/abiv1/ |
D | mmap.c | 68 info.align_mask = do_align ? (PAGE_MASK & (SHMLBA - 1)) : 0; in arch_get_unmapped_area()
|
/arch/nds32/mm/ |
D | mmap.c | 70 info.align_mask = do_align ? (PAGE_MASK & (SHMLBA - 1)) : 0; in arch_get_unmapped_area()
|
/arch/arc/mm/ |
D | mmap.c | 73 info.align_mask = do_align ? (PAGE_MASK & (SHMLBA - 1)) : 0; in arch_get_unmapped_area()
|
/arch/mips/mm/ |
D | mmap.c | 75 info.align_mask = do_color_align ? (PAGE_MASK & shm_align_mask) : 0; in arch_get_unmapped_area_common()
|
/arch/powerpc/mm/book3s64/ |
D | radix_hugetlbpage.c | 89 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in radix__hugetlb_get_unmapped_area()
|
/arch/ia64/mm/ |
D | hugetlbpage.c | 163 info.align_mask = PAGE_MASK & (HPAGE_SIZE - 1); in hugetlb_get_unmapped_area()
|
/arch/sparc/mm/ |
D | hugetlbpage.c | 44 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in hugetlb_get_unmapped_area_bottomup() 76 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in hugetlb_get_unmapped_area_topdown()
|
/arch/powerpc/kernel/ |
D | iommu.c | 185 unsigned long align_mask; in iommu_range_alloc() local 191 align_mask = (1ull << align_order) - 1; in iommu_range_alloc() 258 boundary_size >> tbl->it_page_shift, align_mask); in iommu_range_alloc()
|
/arch/alpha/kernel/ |
D | pci_iommu.c | 857 iommu_reserve(struct pci_iommu_arena *arena, long pg_count, long align_mask) in iommu_reserve() argument 869 p = iommu_arena_find_pages(NULL, arena, pg_count, align_mask); in iommu_reserve()
|