Home
last modified time | relevance | path

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

/linux-6.1.9/arch/mips/mm/ !
Dmmap.c20 unsigned long shm_align_mask = PAGE_SIZE - 1; /* Sane caches */ variable
21 EXPORT_SYMBOL(shm_align_mask);
24 ((((addr) + shm_align_mask) & ~shm_align_mask) + \
25 (((pgoff) << PAGE_SHIFT) & shm_align_mask))
52 ((addr - (pgoff << PAGE_SHIFT)) & shm_align_mask)) in arch_get_unmapped_area_common()
75 info.align_mask = do_color_align ? (PAGE_MASK & shm_align_mask) : 0; in arch_get_unmapped_area_common()
Dc-octeon.c265 shm_align_mask = PAGE_SIZE - 1; in octeon_cache_init()
Dc-r4k.c1844 shm_align_mask = max_t( unsigned long, in r4k_cache_init()
1848 shm_align_mask = PAGE_SIZE-1; in r4k_cache_init()
/linux-6.1.9/arch/sh/mm/ !
Dmmap.c18 unsigned long shm_align_mask = PAGE_SIZE - 1; /* Sane caches */ variable
19 EXPORT_SYMBOL(shm_align_mask);
48 unsigned long base = (addr + shm_align_mask) & ~shm_align_mask; in COLOUR_ALIGN()
49 unsigned long off = (pgoff << PAGE_SHIFT) & shm_align_mask; in COLOUR_ALIGN()
67 ((addr - (pgoff << PAGE_SHIFT)) & shm_align_mask)) in arch_get_unmapped_area()
95 info.align_mask = do_colour_align ? (PAGE_MASK & shm_align_mask) : 0; in arch_get_unmapped_area()
116 ((addr - (pgoff << PAGE_SHIFT)) & shm_align_mask)) in arch_get_unmapped_area_topdown()
145 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()
250 (address & shm_align_mask), phys); in sh4_flush_cache_page()
/linux-6.1.9/arch/loongarch/mm/ !
Dmmap.c11 unsigned long shm_align_mask = PAGE_SIZE - 1; /* Sane caches */ variable
12 EXPORT_SYMBOL(shm_align_mask);
15 ((((addr) + shm_align_mask) & ~shm_align_mask) + \
16 (((pgoff) << PAGE_SHIFT) & shm_align_mask))
43 ((addr - (pgoff << PAGE_SHIFT)) & shm_align_mask)) in arch_get_unmapped_area_common()
66 info.align_mask = do_color_align ? (PAGE_MASK & shm_align_mask) : 0; in arch_get_unmapped_area_common()
Dcache.c159 shm_align_mask = PAGE_SIZE - 1; in cpu_cache_init()
/linux-6.1.9/arch/mips/kernel/ !
Dvdso.c129 size += shm_align_mask + 1; in arch_setup_additional_pages()
144 base = __ALIGN_MASK(base, shm_align_mask); in arch_setup_additional_pages()
145 base += ((unsigned long)vdso_data - gic_size) & shm_align_mask; in arch_setup_additional_pages()
Dprocess.c698 top -= shm_align_mask + 1; in mips_stack_top()
/linux-6.1.9/arch/sh/include/asm/ !
Dpage.h49 extern unsigned long shm_align_mask;
56 return (addr1 ^ addr2) & shm_align_mask; in pages_do_alias()
/linux-6.1.9/arch/mips/include/asm/ !
Dpage.h93 extern unsigned long shm_align_mask;
98 return (addr1 ^ addr2) & shm_align_mask; in pages_do_alias()
/linux-6.1.9/arch/sh/kernel/cpu/ !
Dinit.c324 shm_align_mask = max_t(unsigned long, in cpu_init()
328 shm_align_mask = PAGE_SIZE - 1; in cpu_init()
/linux-6.1.9/arch/loongarch/include/asm/ !
Dpage.h49 extern unsigned long shm_align_mask;