Searched refs:SHM_SIZE (Results 1 – 10 of 10) sorted by relevance
/external/ltp/testcases/kernel/syscalls/ipc/shmget/ |
D | shmget02.c | 79 &shmkey, SHM_SIZE * 2, SHM_RW, EINVAL}, 82 &shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL | SHM_RW, EEXIST}, 86 &shm_nonexisting_key, SHM_SIZE, SHM_RW, ENOENT} 157 if ((shm_id_1 = shmget(shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL | in setup()
|
D | shmget04.c | 81 TEST(shmget(shmkey, SHM_SIZE, SHM_RW)); in main() 136 if ((shm_id_1 = shmget(shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL)) == -1) { in setup()
|
D | shmget01.c | 85 TEST(shmget(shmkey, SHM_SIZE, (IPC_CREAT | IPC_EXCL | SHM_RW))); in main() 99 if (buf.shm_segsz != SHM_SIZE) { in main()
|
D | shmget05.c | 125 TEST(shmget(shmkey, SHM_SIZE, SHM_RW)); in do_child() 168 if ((shm_id_1 = shmget(shmkey, SHM_SIZE, in setup()
|
D | shmget03.c | 87 TEST(shmget(IPC_PRIVATE, SHM_SIZE, IPC_CREAT | IPC_EXCL in main() 137 while ((shm_id_1 = shmget(IPC_PRIVATE, SHM_SIZE, IPC_CREAT | in setup()
|
/external/ltp/testcases/kernel/syscalls/ipc/shmctl/ |
D | shmctl02.c | 185 if ((shm_id_1 = shmget(shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL)) == -1) { in setup() 194 if ((shm_id_2 = shmget(shmkey2, SHM_SIZE, IPC_CREAT | IPC_EXCL | in setup()
|
D | shmctl01.c | 153 shm_id_1 = shmget(shmkey, SHM_SIZE, in main() 294 if (!fail && buf.shm_segsz != SHM_SIZE) { in func_istat()
|
D | shmctl03.c | 187 if ((shm_id_1 = shmget(shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL | in setup()
|
/external/ltp/testcases/kernel/syscalls/ipc/lib/ |
D | ipcshm.h | 41 #define SHM_SIZE 2048 /* a resonable size for a memory segment */ macro
|
/external/ltp/testcases/kernel/syscalls/ipc/libnewipc/ |
D | libnewipc.h | 41 #define SHM_SIZE 2048 macro
|