Searched refs:shm_align_mask (Results 1 – 11 of 11) sorted by relevance
18 unsigned long shm_align_mask = PAGE_SIZE - 1; /* Sane caches */ variable19 EXPORT_SYMBOL(shm_align_mask);28 unsigned long base = (addr + shm_align_mask) & ~shm_align_mask; in COLOUR_ALIGN()29 unsigned long off = (pgoff << PAGE_SHIFT) & shm_align_mask; in COLOUR_ALIGN()47 ((addr - (pgoff << PAGE_SHIFT)) & shm_align_mask)) in arch_get_unmapped_area()75 info.align_mask = do_colour_align ? (PAGE_MASK & shm_align_mask) : 0; in arch_get_unmapped_area()96 ((addr - (pgoff << PAGE_SHIFT)) & shm_align_mask)) in arch_get_unmapped_area_topdown()125 info.align_mask = do_colour_align ? (PAGE_MASK & shm_align_mask) : 0; in arch_get_unmapped_area_topdown()
122 (addr & shm_align_mask), page_to_phys(page)); in sh4_flush_dcache_page()254 (address & shm_align_mask), phys); in sh4_flush_cache_page()
20 unsigned long shm_align_mask = PAGE_SIZE - 1; /* Sane caches */ variable21 EXPORT_SYMBOL(shm_align_mask);51 ((((addr) + shm_align_mask) & ~shm_align_mask) + \52 (((pgoff) << PAGE_SHIFT) & shm_align_mask))79 ((addr - (pgoff << PAGE_SHIFT)) & shm_align_mask)) in arch_get_unmapped_area_common()102 info.align_mask = do_color_align ? (PAGE_MASK & shm_align_mask) : 0; in arch_get_unmapped_area_common()
377 shm_align_mask = PAGE_SIZE - 1; in tx39_cache_init()408 shm_align_mask = max_t(unsigned long, in tx39_cache_init()
285 shm_align_mask = PAGE_SIZE - 1; in octeon_cache_init()
1932 shm_align_mask = max_t( unsigned long,1936 shm_align_mask = PAGE_SIZE-1;
154 size += shm_align_mask + 1; in arch_setup_additional_pages()169 base = __ALIGN_MASK(base, shm_align_mask); in arch_setup_additional_pages()170 base += ((unsigned long)&vdso_data - gic_size) & shm_align_mask; in arch_setup_additional_pages()
664 top -= shm_align_mask + 1; in mips_stack_top()
93 extern unsigned long shm_align_mask;98 return (addr1 ^ addr2) & shm_align_mask; in pages_do_alias()
51 extern unsigned long shm_align_mask;58 return (addr1 ^ addr2) & shm_align_mask; in pages_do_alias()
327 shm_align_mask = max_t(unsigned long, in cpu_init()331 shm_align_mask = PAGE_SIZE - 1; in cpu_init()