Searched refs:SHMLBA (Results 1 - 25 of 30) sorted by relevance

12

/linux-master/arch/powerpc/include/asm/
H A Dshmparam.h5 #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ macro
/linux-master/arch/alpha/include/asm/
H A Dshmparam.h5 #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ macro
/linux-master/arch/sh/include/asm/
H A Dshmparam.h15 #define SHMLBA 0x4000 /* attach addr a multiple of this */ macro
/linux-master/arch/arm/include/asm/
H A Dshmparam.h10 #define SHMLBA (4 * PAGE_SIZE) /* attach addr a multiple of this */ macro
13 * Enforce SHMLBA in shmat
/linux-master/arch/mips/include/asm/
H A Dshmparam.h11 #define SHMLBA 0x40000 /* attach addr a multiple of this */ macro
/linux-master/arch/x86/include/asm/
H A Dshmparam.h5 #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ macro
/linux-master/include/asm-generic/
H A Dshmparam.h5 #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ macro
/linux-master/arch/nios2/include/asm/
H A Dshmparam.h8 #define SHMLBA CONFIG_NIOS2_DCACHE_SIZE macro
/linux-master/arch/arc/include/asm/
H A Dshmparam.h10 #define SHMLBA (2 * PAGE_SIZE) macro
12 /* Enforce SHMLBA in shmat */
/linux-master/arch/csky/include/asm/
H A Dshmparam.h6 #define SHMLBA (4 * PAGE_SIZE) macro
/linux-master/arch/sparc/include/asm/
H A Dshmparam_32.h8 #define SHMLBA (vac_cache_size ? vac_cache_size : PAGE_SIZE) macro
H A Dshmparam_64.h9 #define SHMLBA ((PAGE_SIZE > L1DCACHE_SIZE) ? PAGE_SIZE : L1DCACHE_SIZE) macro
/linux-master/arch/xtensa/include/asm/
H A Dshmparam.h19 #define SHMLBA ((PAGE_SIZE > DCACHE_WAY_SIZE)? PAGE_SIZE : DCACHE_WAY_SIZE) macro
/linux-master/arch/parisc/include/asm/
H A Dshmparam.h16 * granularity (SHMLBA) but have to ensure that, if two pages are
20 #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ macro
/linux-master/arch/csky/abiv1/
H A Dmmap.c13 ((((addr)+SHMLBA-1)&~(SHMLBA-1)) + \
14 (((pgoff)<<PAGE_SHIFT) & (SHMLBA-1)))
20 * SHMLBA bytes.
44 (addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1))
68 info.align_mask = do_align ? (PAGE_MASK & (SHMLBA - 1)) : 0;
/linux-master/arch/xtensa/kernel/
H A Dsyscall.c36 ((((addr) + SHMLBA - 1) & ~(SHMLBA - 1)) + \
37 (((pgoff) << PAGE_SHIFT) & (SHMLBA - 1)))
44 err = do_shmat(shmid, shmaddr, shmflg, &ret, SHMLBA);
68 ((addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1)))
/linux-master/arch/csky/abiv1/inc/abi/
H A Dpage.h10 return (addr1 ^ addr2) & (SHMLBA-1);
/linux-master/arch/arm/mm/
H A Dmmap.c17 ((((addr)+SHMLBA-1)&~(SHMLBA-1)) + \
18 (((pgoff)<<PAGE_SHIFT) & (SHMLBA-1)))
24 * SHMLBA bytes.
51 (addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1))
75 info.align_mask = do_align ? (PAGE_MASK & (SHMLBA - 1)) : 0;
105 (addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1))
126 info.align_mask = do_align ? (PAGE_MASK & (SHMLBA - 1)) : 0;
H A Dcopypage-v6.c20 #if SHMLBA > 16384
/linux-master/drivers/infiniband/sw/rxe/
H A Drxe_mmap.c132 rxe->mmap_offset = ALIGN(PAGE_SIZE, SHMLBA);
135 rxe->mmap_offset += ALIGN(size, SHMLBA);
/linux-master/arch/sparc/kernel/
H A Dsys_sparc_64.c84 unsigned long base = (addr+SHMLBA-1)&~(SHMLBA-1);
85 unsigned long off = (pgoff<<PAGE_SHIFT) & (SHMLBA-1);
103 ((addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1)))
133 info.align_mask = do_color_align ? (PAGE_MASK & (SHMLBA - 1)) : 0;
167 ((addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1)))
196 info.align_mask = do_color_align ? (PAGE_MASK & (SHMLBA - 1)) : 0;
393 err = do_shmat(first, ptr, (int)second, &raddr, SHMLBA);
H A Dsys_sparc_32.c51 ((addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1)))
67 (PAGE_MASK & (SHMLBA - 1)) : 0;
/linux-master/drivers/infiniband/sw/rdmavt/
H A Dmmap.c132 rdi->mmap_offset = ALIGN(PAGE_SIZE, SHMLBA);
134 rdi->mmap_offset += ALIGN(size, SHMLBA);
/linux-master/arch/arc/mm/
H A Dmmap.c22 * SHMLBA bytes.
37 (addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1))
/linux-master/arch/loongarch/mm/
H A Dmmap.c12 #define SHM_ALIGN_MASK (SHMLBA - 1)

Completed in 245 milliseconds

12