Home
last modified time | relevance | path

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

/external/ltp/libs/libltpnewipc/
Dlibnewipc.c79 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/
D3-1-buildonly.c15 #ifndef SHMLBA
16 #error SHMLBA not defined
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/
Dhugeshmat01.c74 ~(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/
Dshmat01.c31 #define ALIGN_DOWN(in_addr) ((void *)(((uintptr_t)in_addr / SHMLBA) * SHMLBA))
133 unaligned_addr = aligned_addr + SHMLBA - 1; in setup()
Dshmat02.c86 unaligned_addr = aligned_addr + SHMLBA - 1; in setup()
/external/ltp/testcases/kernel/mem/shmt/
Dshmt09.c49 #define SHMBYTES (SHMLBA - 1)
66 #define INCREMENT SHMLBA
Dshmt05.c54 #define SIZE (2*SHMLBA)
/external/musl/src/ipc/
Dshmat.c15 return (ret > -(unsigned long)SHMLBA) ? (void *)ret : (void *)addr; in shmat()
/external/musl/arch/powerpc64/bits/
Dshm.h1 #define SHMLBA 4096 macro
/external/musl/arch/generic/bits/
Dshm.h1 #define SHMLBA 4096 macro
/external/ltp/testcases/kernel/syscalls/ipc/shmdt/
Dshmdt02.c41 unaligned_addr = non_attched_addr + SHMLBA - 1; in setup()
/external/musl/arch/mips/bits/
Dshm.h1 #define SHMLBA 4096 macro
/external/musl/arch/mipsn32/bits/
Dshm.h1 #define SHMLBA 4096 macro
/external/musl/arch/powerpc/bits/
Dshm.h1 #define SHMLBA 4096 macro
/external/musl/arch/microblaze/bits/
Dshm.h1 #define SHMLBA 4096 macro
/external/musl/arch/m68k/bits/
Dshm.h1 #define SHMLBA 4096 macro
/external/musl/arch/or1k/bits/
Dshm.h1 #define SHMLBA 4096 macro
/external/musl/arch/arm/bits/
Dshm.h1 #define SHMLBA 4096 macro
/external/musl/arch/i386/bits/
Dshm.h1 #define SHMLBA 4096 macro
/external/musl/arch/sh/bits/
Dshm.h1 #define SHMLBA 16384 macro
/external/ltp/include/lapi/
Dmmap.h89 # define MMAP_GRANULARITY SHMLBA
/external/musl/arch/x32/bits/
Dshm.h1 #define SHMLBA 4096 macro
/external/ltp/android/include/
Dbionic-compat.h25 #define SHMLBA sysconf(_SC_PAGESIZE) macro
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc1221 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/
Dmod.rs4590 pub const SHMLBA: ::c_int = 16 * 1024; constant
4592 pub const SHMLBA: ::c_int = 4096; constant