Searched refs:shm_align_mask (Results 1 – 10 of 10) sorted by relevance
17 unsigned long shm_align_mask = PAGE_SIZE - 1; /* Sane caches */ variable18 EXPORT_SYMBOL(shm_align_mask);27 unsigned long base = (addr + shm_align_mask) & ~shm_align_mask; in COLOUR_ALIGN()28 unsigned long off = (pgoff << PAGE_SHIFT) & shm_align_mask; in COLOUR_ALIGN()46 ((addr - (pgoff << PAGE_SHIFT)) & shm_align_mask)) in arch_get_unmapped_area()74 info.align_mask = do_colour_align ? (PAGE_MASK & shm_align_mask) : 0; in arch_get_unmapped_area()95 ((addr - (pgoff << PAGE_SHIFT)) & shm_align_mask)) in arch_get_unmapped_area_topdown()124 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()
18 unsigned long shm_align_mask = PAGE_SIZE - 1; /* Sane caches */ variable19 EXPORT_SYMBOL(shm_align_mask);49 ((((addr) + shm_align_mask) & ~shm_align_mask) + \50 (((pgoff) << PAGE_SHIFT) & shm_align_mask))77 ((addr - (pgoff << PAGE_SHIFT)) & shm_align_mask)) in arch_get_unmapped_area_common()100 info.align_mask = do_color_align ? (PAGE_MASK & shm_align_mask) : 0; in arch_get_unmapped_area_common()
376 shm_align_mask = PAGE_SIZE - 1; in tx39_cache_init()407 shm_align_mask = max_t(unsigned long, in tx39_cache_init()
285 shm_align_mask = PAGE_SIZE - 1; in octeon_cache_init()
1750 shm_align_mask = max_t( unsigned long,1754 shm_align_mask = PAGE_SIZE-1;
138 size += shm_align_mask + 1; in arch_setup_additional_pages()153 base = __ALIGN_MASK(base, shm_align_mask); in arch_setup_additional_pages()154 base += ((unsigned long)&vdso_data - gic_size) & shm_align_mask; in arch_setup_additional_pages()
88 extern unsigned long shm_align_mask;93 return (addr1 ^ addr2) & shm_align_mask; in pages_do_alias()
50 extern unsigned long shm_align_mask;57 return (addr1 ^ addr2) & shm_align_mask; in pages_do_alias()
326 shm_align_mask = max_t(unsigned long, in cpu_init()