Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/ipc/shmget/
Dshmget02.c79 &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()
Dshmget04.c81 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()
Dshmget01.c85 TEST(shmget(shmkey, SHM_SIZE, (IPC_CREAT | IPC_EXCL | SHM_RW))); in main()
99 if (buf.shm_segsz != SHM_SIZE) { in main()
Dshmget05.c125 TEST(shmget(shmkey, SHM_SIZE, SHM_RW)); in do_child()
168 if ((shm_id_1 = shmget(shmkey, SHM_SIZE, in setup()
Dshmget03.c87 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/
Dshmctl02.c185 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()
Dshmctl01.c153 shm_id_1 = shmget(shmkey, SHM_SIZE, in main()
294 if (!fail && buf.shm_segsz != SHM_SIZE) { in func_istat()
Dshmctl03.c187 if ((shm_id_1 = shmget(shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL | in setup()
/external/ltp/testcases/kernel/syscalls/ipc/lib/
Dipcshm.h41 #define SHM_SIZE 2048 /* a resonable size for a memory segment */ macro
/external/ltp/testcases/kernel/syscalls/ipc/libnewipc/
Dlibnewipc.h41 #define SHM_SIZE 2048 macro