/external/ltp/libs/libltpnewipc/ |
D | libnewipc.c | 79 shm_id = safe_shmget(file, lineno, probe_key, SHMLBA * 2, in probe_free_addr() 85 addr = (void *)(((unsigned long)(addr) + (SHMLBA - 1)) & ~(SHMLBA - 1)); in probe_free_addr()
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/ |
D | 3-1-buildonly.c | 15 #ifndef SHMLBA 16 #error SHMLBA not defined
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/ |
D | hugeshmat01.c | 74 ~(SHMLBA - 1)) + SHMLBA - 1); in verify_hugeshmat() 126 orig_add = addr + ((unsigned long)tcases[i].addr % SHMLBA); in check_functionality()
|
/external/ltp/testcases/kernel/syscalls/ipc/shmat/ |
D | shmat01.c | 31 #define ALIGN_DOWN(in_addr) ((void *)(((uintptr_t)in_addr / SHMLBA) * SHMLBA)) 133 unaligned_addr = aligned_addr + SHMLBA - 1; in setup()
|
D | shmat02.c | 86 unaligned_addr = aligned_addr + SHMLBA - 1; in setup()
|
/external/ltp/testcases/kernel/mem/shmt/ |
D | shmt09.c | 49 #define SHMBYTES (SHMLBA - 1) 66 #define INCREMENT SHMLBA
|
D | shmt05.c | 54 #define SIZE (2*SHMLBA)
|
/external/musl/src/ipc/ |
D | shmat.c | 15 return (ret > -(unsigned long)SHMLBA) ? (void *)ret : (void *)addr; in shmat()
|
/external/musl/arch/powerpc64/bits/ |
D | shm.h | 1 #define SHMLBA 4096 macro
|
/external/musl/arch/generic/bits/ |
D | shm.h | 1 #define SHMLBA 4096 macro
|
/external/ltp/testcases/kernel/syscalls/ipc/shmdt/ |
D | shmdt02.c | 41 unaligned_addr = non_attched_addr + SHMLBA - 1; in setup()
|
/external/musl/arch/mips/bits/ |
D | shm.h | 1 #define SHMLBA 4096 macro
|
/external/musl/arch/mipsn32/bits/ |
D | shm.h | 1 #define SHMLBA 4096 macro
|
/external/musl/arch/powerpc/bits/ |
D | shm.h | 1 #define SHMLBA 4096 macro
|
/external/musl/arch/microblaze/bits/ |
D | shm.h | 1 #define SHMLBA 4096 macro
|
/external/musl/arch/m68k/bits/ |
D | shm.h | 1 #define SHMLBA 4096 macro
|
/external/musl/arch/or1k/bits/ |
D | shm.h | 1 #define SHMLBA 4096 macro
|
/external/musl/arch/arm/bits/ |
D | shm.h | 1 #define SHMLBA 4096 macro
|
/external/musl/arch/i386/bits/ |
D | shm.h | 1 #define SHMLBA 4096 macro
|
/external/musl/arch/sh/bits/ |
D | shm.h | 1 #define SHMLBA 16384 macro
|
/external/ltp/include/lapi/ |
D | mmap.h | 89 # define MMAP_GRANULARITY SHMLBA
|
/external/musl/arch/x32/bits/ |
D | shm.h | 1 #define SHMLBA 4096 macro
|
/external/ltp/android/include/ |
D | bionic-compat.h | 25 #define SHMLBA sysconf(_SC_PAGESIZE) macro
|
/external/compiler-rt/lib/msan/tests/ |
D | msan_test.cc | 1221 void *mapping_start = mmap(NULL, kShmSize + SHMLBA, PROT_READ | PROT_WRITE, in TEST() 1225 void *p = (void *)(((unsigned long)mapping_start + SHMLBA - 1) / SHMLBA * SHMLBA); in TEST() 1231 int res = munmap(mapping_start, kShmSize + SHMLBA); in TEST()
|
/external/rust/crates/libc/src/unix/bsd/apple/ |
D | mod.rs | 4590 pub const SHMLBA: ::c_int = 16 * 1024; constant 4592 pub const SHMLBA: ::c_int = 4096; constant
|