Searched refs:shm_align_mask (Results 1 – 9 of 9) 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()36 unsigned long base = addr & ~shm_align_mask; in COLOUR_ALIGN_DOWN()37 unsigned long off = (pgoff << PAGE_SHIFT) & shm_align_mask; in COLOUR_ALIGN_DOWN()58 ((addr - (pgoff << PAGE_SHIFT)) & shm_align_mask)) in arch_get_unmapped_area()140 ((addr - (pgoff << PAGE_SHIFT)) & shm_align_mask)) 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);51 unsigned long base = addr & ~shm_align_mask; in COLOUR_ALIGN_DOWN()52 unsigned long off = (pgoff << PAGE_SHIFT) & shm_align_mask; in COLOUR_ALIGN_DOWN()61 ((((addr) + shm_align_mask) & ~shm_align_mask) + \62 (((pgoff) << PAGE_SHIFT) & shm_align_mask))88 ((addr - (pgoff << PAGE_SHIFT)) & shm_align_mask)) in arch_get_unmapped_area_common()
378 shm_align_mask = PAGE_SIZE - 1; in tx39_cache_init()411 shm_align_mask = max_t(unsigned long, in tx39_cache_init()
266 shm_align_mask = PAGE_SIZE - 1; in octeon_cache_init()
1426 shm_align_mask = max_t( unsigned long, in r4k_cache_init()1430 shm_align_mask = PAGE_SIZE-1; in r4k_cache_init()
66 extern unsigned long shm_align_mask;71 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()