Searched refs:shm_align_mask (Results 1 – 8 of 8) sorted by relevance
18 unsigned long shm_align_mask = PAGE_SIZE - 1; /* Sane caches */ variable19 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()
65 unsigned long shm_align_mask = PAGE_SIZE - 1; /* Sane caches */ variable67 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()
50 extern unsigned long shm_align_mask;55 return (addr1 ^ addr2) & shm_align_mask; in pages_do_alias()
373 shm_align_mask = PAGE_SIZE - 1; in tx39_cache_init()404 shm_align_mask = max_t(unsigned long, in tx39_cache_init()
247 shm_align_mask = PAGE_SIZE - 1; in octeon_cache_init()
1383 shm_align_mask = max_t( unsigned long, in r4k_cache_init()1387 shm_align_mask = PAGE_SIZE-1; in r4k_cache_init()
49 extern unsigned long shm_align_mask;
265 shm_align_mask = max_t(unsigned long, in sh_cpu_init()