Home
last modified time | relevance | path

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

/linux-3.4.99/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()
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()
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()
/linux-3.4.99/arch/mips/mm/
Dmmap.c18 unsigned long shm_align_mask = PAGE_SIZE - 1; /* Sane caches */ variable
19 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()
Dc-tx39.c378 shm_align_mask = PAGE_SIZE - 1; in tx39_cache_init()
411 shm_align_mask = max_t(unsigned long, in tx39_cache_init()
Dc-octeon.c266 shm_align_mask = PAGE_SIZE - 1; in octeon_cache_init()
Dc-r4k.c1426 shm_align_mask = max_t( unsigned long, in r4k_cache_init()
1430 shm_align_mask = PAGE_SIZE-1; in r4k_cache_init()
/linux-3.4.99/arch/mips/include/asm/
Dpage.h66 extern unsigned long shm_align_mask;
71 return (addr1 ^ addr2) & shm_align_mask; in pages_do_alias()
/linux-3.4.99/arch/sh/include/asm/
Dpage.h50 extern unsigned long shm_align_mask;
57 return (addr1 ^ addr2) & shm_align_mask; in pages_do_alias()
/linux-3.4.99/arch/sh/kernel/cpu/
Dinit.c326 shm_align_mask = max_t(unsigned long, in cpu_init()