Home
last modified time | relevance | path

Searched refs:shm_align_mask (Results 1 – 10 of 10) sorted by relevance

/arch/sh/mm/
Dmmap.c17 unsigned long shm_align_mask = PAGE_SIZE - 1; /* Sane caches */ variable
18 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()
Dcache-sh4.c122 (addr & shm_align_mask), page_to_phys(page)); in sh4_flush_dcache_page()
254 (address & shm_align_mask), phys); in sh4_flush_cache_page()
/arch/mips/mm/
Dmmap.c18 unsigned long shm_align_mask = PAGE_SIZE - 1; /* Sane caches */ variable
19 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()
Dc-tx39.c376 shm_align_mask = PAGE_SIZE - 1; in tx39_cache_init()
407 shm_align_mask = max_t(unsigned long, in tx39_cache_init()
Dc-octeon.c285 shm_align_mask = PAGE_SIZE - 1; in octeon_cache_init()
Dc-r4k.c1750 shm_align_mask = max_t( unsigned long,
1754 shm_align_mask = PAGE_SIZE-1;
/arch/mips/kernel/
Dvdso.c138 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()
/arch/mips/include/asm/
Dpage.h88 extern unsigned long shm_align_mask;
93 return (addr1 ^ addr2) & shm_align_mask; in pages_do_alias()
/arch/sh/include/asm/
Dpage.h50 extern unsigned long shm_align_mask;
57 return (addr1 ^ addr2) & shm_align_mask; in pages_do_alias()
/arch/sh/kernel/cpu/
Dinit.c326 shm_align_mask = max_t(unsigned long, in cpu_init()