Home
last modified time | relevance | path

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

/arch/sh/mm/
Dmmap.c18 unsigned long shm_align_mask = PAGE_SIZE - 1; /* Sane caches */ variable
19 EXPORT_SYMBOL(shm_align_mask);
25 ((((addr) + shm_align_mask) & ~shm_align_mask) + \
26 (((pgoff) << PAGE_SHIFT) & shm_align_mask))
40 if ((flags & MAP_SHARED) && (addr & shm_align_mask)) in arch_get_unmapped_area()
/arch/mips/kernel/
Dsyscall.c65 unsigned long shm_align_mask = PAGE_SIZE - 1; /* Sane caches */ variable
67 EXPORT_SYMBOL(shm_align_mask);
70 ((((addr) + shm_align_mask) & ~shm_align_mask) + \
71 (((pgoff) << PAGE_SHIFT) & shm_align_mask))
94 if ((flags & MAP_SHARED) && (addr & shm_align_mask)) in arch_get_unmapped_area()
/arch/mips/include/asm/
Dpage.h50 extern unsigned long shm_align_mask;
55 return (addr1 ^ addr2) & shm_align_mask; in pages_do_alias()
/arch/mips/mm/
Dc-tx39.c373 shm_align_mask = PAGE_SIZE - 1; in tx39_cache_init()
404 shm_align_mask = max_t(unsigned long, in tx39_cache_init()
Dc-octeon.c247 shm_align_mask = PAGE_SIZE - 1; in octeon_cache_init()
Dc-r4k.c1383 shm_align_mask = max_t( unsigned long, in r4k_cache_init()
1387 shm_align_mask = PAGE_SIZE-1; in r4k_cache_init()
/arch/sh/include/asm/
Dpage.h49 extern unsigned long shm_align_mask;
/arch/sh/kernel/cpu/
Dinit.c265 shm_align_mask = max_t(unsigned long, in sh_cpu_init()