Home
last modified time | relevance | path

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

12

/Linux-v6.1/arch/arm/mm/
Dmmap.c17 ((((addr)+SHMLBA-1)&~(SHMLBA-1)) + \
18 (((pgoff)<<PAGE_SHIFT) & (SHMLBA-1)))
51 (addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1)) in arch_get_unmapped_area()
75 info.align_mask = do_align ? (PAGE_MASK & (SHMLBA - 1)) : 0; in arch_get_unmapped_area()
105 (addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1)) in arch_get_unmapped_area_topdown()
126 info.align_mask = do_align ? (PAGE_MASK & (SHMLBA - 1)) : 0; in arch_get_unmapped_area_topdown()
/Linux-v6.1/arch/csky/abiv1/
Dmmap.c13 ((((addr)+SHMLBA-1)&~(SHMLBA-1)) + \
14 (((pgoff)<<PAGE_SHIFT) & (SHMLBA-1)))
44 (addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1)) in arch_get_unmapped_area()
68 info.align_mask = do_align ? (PAGE_MASK & (SHMLBA - 1)) : 0; in arch_get_unmapped_area()
/Linux-v6.1/arch/xtensa/kernel/
Dsyscall.c36 ((((addr) + SHMLBA - 1) & ~(SHMLBA - 1)) + \
37 (((pgoff) << PAGE_SHIFT) & (SHMLBA - 1)))
44 err = do_shmat(shmid, shmaddr, shmflg, &ret, SHMLBA); in xtensa_shmat()
68 ((addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1))) in arch_get_unmapped_area()
/Linux-v6.1/arch/arc/mm/
Dmmap.c18 ((((addr) + SHMLBA - 1) & ~(SHMLBA - 1)) + \
19 (((pgoff) << PAGE_SHIFT) & (SHMLBA - 1)))
49 (addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1)) in arch_get_unmapped_area()
73 info.align_mask = do_align ? (PAGE_MASK & (SHMLBA - 1)) : 0; in arch_get_unmapped_area()
/Linux-v6.1/arch/sparc/kernel/
Dsys_sparc_64.c84 unsigned long base = (addr+SHMLBA-1)&~(SHMLBA-1); in COLOR_ALIGN()
85 unsigned long off = (pgoff<<PAGE_SHIFT) & (SHMLBA-1); in COLOR_ALIGN()
103 ((addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1))) in arch_get_unmapped_area()
133 info.align_mask = do_color_align ? (PAGE_MASK & (SHMLBA - 1)) : 0; in arch_get_unmapped_area()
167 ((addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1))) in arch_get_unmapped_area_topdown()
196 info.align_mask = do_color_align ? (PAGE_MASK & (SHMLBA - 1)) : 0; in arch_get_unmapped_area_topdown()
393 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-v6.1/drivers/infiniband/sw/rxe/
Drxe_mmap.c132 rxe->mmap_offset = ALIGN(PAGE_SIZE, SHMLBA); in rxe_create_mmap_info()
135 rxe->mmap_offset += ALIGN(size, SHMLBA); in rxe_create_mmap_info()
/Linux-v6.1/drivers/infiniband/sw/rdmavt/
Dmmap.c132 rdi->mmap_offset = ALIGN(PAGE_SIZE, SHMLBA); in rvt_create_mmap_info()
134 rdi->mmap_offset += ALIGN(size, SHMLBA); in rvt_create_mmap_info()
/Linux-v6.1/arch/ia64/include/asm/
Dshmparam.h11 #define SHMLBA (1024*1024) macro
/Linux-v6.1/include/asm-generic/
Dshmparam.h5 #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ macro
/Linux-v6.1/arch/x86/include/asm/
Dshmparam.h5 #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ macro
/Linux-v6.1/arch/sh/include/asm/
Dshmparam.h15 #define SHMLBA 0x4000 /* attach addr a multiple of this */ macro
/Linux-v6.1/arch/alpha/include/asm/
Dshmparam.h5 #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ macro
/Linux-v6.1/arch/mips/include/asm/
Dshmparam.h11 #define SHMLBA 0x40000 /* attach addr a multiple of this */ macro
/Linux-v6.1/arch/powerpc/include/asm/
Dshmparam.h5 #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ macro
/Linux-v6.1/arch/nios2/include/asm/
Dshmparam.h8 #define SHMLBA CONFIG_NIOS2_DCACHE_SIZE macro
/Linux-v6.1/arch/s390/include/asm/
Dshmparam.h10 #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ macro
/Linux-v6.1/arch/arm/include/asm/
Dshmparam.h10 #define SHMLBA (4 * PAGE_SIZE) /* attach addr a multiple of this */ macro
/Linux-v6.1/arch/csky/include/asm/
Dshmparam.h6 #define SHMLBA (4 * PAGE_SIZE) macro
/Linux-v6.1/arch/loongarch/include/asm/
Dshmparam.h10 #define SHMLBA SZ_64K /* attach addr a multiple of this */ macro
/Linux-v6.1/arch/parisc/include/asm/
Dshmparam.h5 #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ macro
/Linux-v6.1/arch/arc/include/asm/
Dshmparam.h10 #define SHMLBA (2 * PAGE_SIZE) macro
/Linux-v6.1/arch/xtensa/include/asm/
Dshmparam.h19 #define SHMLBA ((PAGE_SIZE > DCACHE_WAY_SIZE)? PAGE_SIZE : DCACHE_WAY_SIZE) macro
/Linux-v6.1/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

12