Searched refs:SHMLBA (Results 1 – 10 of 10) sorted by relevance
93 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()
15 #ifndef SHMLBA16 #error SHMLBA not defined
92 ~(SHMLBA - 1)) + SHMLBA - 1); in verify_hugeshmat()144 orig_add = addr + ((unsigned long)tcases[i].addr % SHMLBA); in check_functionality()
44 #define ALIGN_DOWN(in_addr) ((void *)(((uintptr_t)in_addr / SHMLBA) * SHMLBA))156 unaligned_addr = aligned_addr + SHMLBA - 1; in setup()
98 unaligned_addr = aligned_addr + SHMLBA - 1; in setup()
49 #define SHMBYTES (SHMLBA - 1)66 #define INCREMENT SHMLBA
54 #define SIZE (2*SHMLBA)
81 # define MMAP_GRANULARITY SHMLBA
25 #define SHMLBA sysconf(_SC_PAGESIZE) macro
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()