Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/ipc/libnewipc/
Dlibnewipc.c93 shm_id = shmget(probe_key, SHMLBA * 2, SHM_RW | IPC_CREAT | IPC_EXCL); in probe_free_addr()
107 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.c92 ~(SHMLBA - 1)) + SHMLBA - 1); in verify_hugeshmat()
144 orig_add = addr + ((unsigned long)tcases[i].addr % SHMLBA); in check_functionality()
/external/ltp/testcases/kernel/syscalls/ipc/shmat/
Dshmat01.c44 #define ALIGN_DOWN(in_addr) ((void *)(((uintptr_t)in_addr / SHMLBA) * SHMLBA))
156 unaligned_addr = aligned_addr + SHMLBA - 1; in setup()
Dshmat02.c98 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/ltp/include/lapi/
Dmmap.h81 # define MMAP_GRANULARITY SHMLBA
/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()