Home
last modified time | relevance | path

Searched refs:SHMLBA (Results 1 – 25 of 34) sorted by relevance

12

/Linux-v4.19/arch/arc/mm/
Dmmap.c21 ((((addr) + SHMLBA - 1) & ~(SHMLBA - 1)) + \
22 (((pgoff) << PAGE_SHIFT) & (SHMLBA - 1)))
52 (addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1)) in arch_get_unmapped_area()
76 info.align_mask = do_align ? (PAGE_MASK & (SHMLBA - 1)) : 0; in arch_get_unmapped_area()
/Linux-v4.19/arch/nds32/mm/
Dmmap.c9 ((((addr)+SHMLBA-1)&~(SHMLBA-1)) + \
10 (((pgoff)<<PAGE_SHIFT) & (SHMLBA-1)))
46 (addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1)) in arch_get_unmapped_area()
70 info.align_mask = do_align ? (PAGE_MASK & (SHMLBA - 1)) : 0; in arch_get_unmapped_area()
/Linux-v4.19/arch/xtensa/kernel/
Dsyscall.c41 ((((addr) + SHMLBA - 1) & ~(SHMLBA - 1)) + \
42 (((pgoff) << PAGE_SHIFT) & (SHMLBA - 1)))
49 err = do_shmat(shmid, shmaddr, shmflg, &ret, SHMLBA); in xtensa_shmat()
72 ((addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1))) in arch_get_unmapped_area()
/Linux-v4.19/arch/arm/mm/
Dmmap.c17 ((((addr)+SHMLBA-1)&~(SHMLBA-1)) + \
18 (((pgoff)<<PAGE_SHIFT) & (SHMLBA-1)))
78 (addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1)) in arch_get_unmapped_area()
102 info.align_mask = do_align ? (PAGE_MASK & (SHMLBA - 1)) : 0; in arch_get_unmapped_area()
132 (addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1)) in arch_get_unmapped_area_topdown()
153 info.align_mask = do_align ? (PAGE_MASK & (SHMLBA - 1)) : 0; in arch_get_unmapped_area_topdown()
/Linux-v4.19/arch/sparc/kernel/
Dsys_sparc_64.c83 unsigned long base = (addr+SHMLBA-1)&~(SHMLBA-1); in COLOR_ALIGN()
84 unsigned long off = (pgoff<<PAGE_SHIFT) & (SHMLBA-1); in COLOR_ALIGN()
102 ((addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1))) in arch_get_unmapped_area()
132 info.align_mask = do_color_align ? (PAGE_MASK & (SHMLBA - 1)) : 0; in arch_get_unmapped_area()
166 ((addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1))) in arch_get_unmapped_area_topdown()
195 info.align_mask = do_color_align ? (PAGE_MASK & (SHMLBA - 1)) : 0; in arch_get_unmapped_area_topdown()
389 err = do_shmat(first, ptr, (int)second, &raddr, SHMLBA); in SYSCALL_DEFINE6()
Dsys_sparc_32.c51 ((addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1))) in arch_get_unmapped_area()
67 (PAGE_MASK & (SHMLBA - 1)) : 0; in arch_get_unmapped_area()
/Linux-v4.19/drivers/infiniband/sw/rxe/
Drxe_mmap.c159 rxe->mmap_offset = ALIGN(PAGE_SIZE, SHMLBA); in rxe_create_mmap_info()
162 rxe->mmap_offset += ALIGN(size, SHMLBA); in rxe_create_mmap_info()
/Linux-v4.19/arch/ia64/include/asm/
Dshmparam.h11 #define SHMLBA (1024*1024) macro
/Linux-v4.19/arch/alpha/include/asm/
Dshmparam.h5 #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ macro
/Linux-v4.19/arch/s390/include/asm/
Dshmparam.h10 #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ macro
/Linux-v4.19/arch/nios2/include/asm/
Dshmparam.h19 #define SHMLBA CONFIG_NIOS2_DCACHE_SIZE macro
/Linux-v4.19/arch/x86/include/asm/
Dshmparam.h5 #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ macro
/Linux-v4.19/arch/sh/include/asm/
Dshmparam.h18 #define SHMLBA 0x4000 /* attach addr a multiple of this */ macro
/Linux-v4.19/arch/mips/include/asm/
Dshmparam.h11 #define SHMLBA 0x40000 /* attach addr a multiple of this */ macro
/Linux-v4.19/include/uapi/asm-generic/
Dshmparam.h5 #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ macro
/Linux-v4.19/arch/powerpc/include/asm/
Dshmparam.h5 #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ macro
/Linux-v4.19/arch/arc/include/asm/
Dshmparam.h13 #define SHMLBA (2 * PAGE_SIZE) macro
/Linux-v4.19/arch/arm/include/asm/
Dshmparam.h10 #define SHMLBA (4 * PAGE_SIZE) /* attach addr a multiple of this */ macro
/Linux-v4.19/arch/parisc/include/asm/
Dshmparam.h5 #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ macro
/Linux-v4.19/arch/nds32/include/asm/
Dshmparam.h12 #define SHMLBA (4 * SZ_8K) /* attach addr a multiple of this */ macro
/Linux-v4.19/arch/xtensa/include/asm/
Dshmparam.h19 #define SHMLBA ((PAGE_SIZE > DCACHE_WAY_SIZE)? PAGE_SIZE : DCACHE_WAY_SIZE) macro
/Linux-v4.19/arch/sparc/include/asm/
Dshmparam_32.h8 #define SHMLBA (vac_cache_size ? vac_cache_size : PAGE_SIZE) macro
Dshmparam_64.h9 #define SHMLBA ((PAGE_SIZE > L1DCACHE_SIZE) ? PAGE_SIZE : L1DCACHE_SIZE) macro
/Linux-v4.19/drivers/infiniband/sw/rdmavt/
Dmmap.c173 rdi->mmap_offset = ALIGN(PAGE_SIZE, SHMLBA); in rvt_create_mmap_info()
175 rdi->mmap_offset += ALIGN(size, SHMLBA); in rvt_create_mmap_info()
/Linux-v4.19/ipc/
Dsyscall.c86 second, &raddr, SHMLBA); in SYSCALL_DEFINE6()
115 #define COMPAT_SHMLBA SHMLBA

12