/external/ltp/testcases/kernel/syscalls/ipc/shmctl/ |
D | shmctl05.c | 31 int id = SAFE_SHMGET(0xF00F, 4096, IPC_CREAT|0700); in thrproc() 36 id = SAFE_SHMGET(0xF00F, 4096, IPC_CREAT|0700); in thrproc() 62 id = SAFE_SHMGET(0xF00F, 4096, IPC_CREAT|0700); in do_test()
|
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()
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmget/ |
D | hugeshmget03.c | 51 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW)); in test_hugeshmget() 86 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup() 95 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
|
D | hugeshmget02.c | 47 {&shmkey2, 0, SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW, EINVAL}, 51 {&shmkey, 1, SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW, EEXIST}, 102 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
|
/external/ltp/testcases/kernel/syscalls/ipc/shmget/ |
D | shmget02.c | 74 &shmkey2, 0, IPC_CREAT | IPC_EXCL | SHM_RW, EINVAL}, 82 &shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL | SHM_RW, EEXIST}, 157 if ((shm_id_1 = shmget(shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL | 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/msgctl/ |
D | msgctl04.c | 72 msg_id3 = SAFE_MSGGET(IPC_PRIVATE, IPC_CREAT | MSG_RW); in setup() 80 msg_id1 = SAFE_MSGGET(msgkey1, IPC_CREAT | IPC_EXCL); in setup() 81 msg_id2 = SAFE_MSGGET(msgkey2, IPC_CREAT | IPC_EXCL | MSG_RD | MSG_WR); in setup()
|
/external/strace/xlat/ |
D | resource_flags.h | 12 #if defined(IPC_CREAT) || (defined(HAVE_DECL_IPC_CREAT) && HAVE_DECL_IPC_CREAT) 13 XLAT(IPC_CREAT),
|
D | shm_resource_flags.h | 17 #if defined(IPC_CREAT) || (defined(HAVE_DECL_IPC_CREAT) && HAVE_DECL_IPC_CREAT) 18 XLAT(IPC_CREAT),
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/ |
D | 12-1-buildonly.c | 22 #ifndef IPC_CREAT 23 #error IPC_CREAT not defined
|
/external/ltp/testcases/kernel/syscalls/ipc/msgget/ |
D | msgget03.c | 29 TEST(msgget(msgkey + maxmsgs, IPC_CREAT | IPC_EXCL)); in verify_msgget() 54 res = msgget(msgkey + num, IPC_CREAT | IPC_EXCL); in setup()
|
D | msgget02.c | 39 {&msgkey, IPC_CREAT | IPC_EXCL, EEXIST, 0}, 88 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL); in setup()
|
/external/ltp/testcases/kernel/mem/shmt/ |
D | shmt05.c | 73 if ((shmid = shmget(key[0], SIZE, IPC_CREAT | 0666)) < 0) { in main() 91 if ((shmid1 = shmget(key[1], SIZE, IPC_CREAT | 0666)) < 0) { in main()
|
/external/ltp/testcases/kernel/syscalls/ipc/semget/ |
D | semget02.c | 74 IPC_CREAT | IPC_EXCL, EEXIST} 149 if ((sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL)) == -1) { in setup()
|
D | semget05.c | 94 TEST(semget(IPC_PRIVATE, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)); in main() 127 while ((sem_q = semget(IPC_PRIVATE, PSEMS, IPC_CREAT | IPC_EXCL)) != -1) { in setup()
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/ |
D | hugeshmctl02.c | 108 shm_id_1 = shmget(shmkey, shm_size, SHM_HUGETLB | IPC_CREAT | IPC_EXCL); in setup() 114 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
|
/external/ltp/testcases/kernel/syscalls/ipc/msgrcv/ |
D | msgrcv02.c | 172 if ((msg_q_1 = msgget(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW)) == -1) { in setup() 185 if ((msg_q_2 = msgget(msgkey2, IPC_CREAT | IPC_EXCL)) == -1) { in setup()
|
/external/ltp/testcases/kernel/containers/sysvipc/ |
D | shm_comm.c | 64 id = shmget(TESTKEY, SHMSIZE, IPC_CREAT); in chld1_shm() 97 id = shmget(TESTKEY, SHMSIZE, IPC_CREAT); in chld2_shm()
|
D | shmem_2nstest.c | 73 id1 = shmget(TESTKEY, 100, IPC_CREAT); in check_shmem1() 99 id2 = shmget(TESTKEY, 100, IPC_CREAT); in check_shmem2()
|
D | msg_comm.c | 69 id = msgget(TESTKEY, IPC_CREAT | 0600); in chld1_msg() 111 id = msgget(TESTKEY, IPC_CREAT | 0600); in chld2_msg()
|
D | sem_comm.c | 63 id = semget(TESTKEY, 1, IPC_CREAT); in chld1_sem() 107 id = semget(TESTKEY, 1, IPC_CREAT); in chld2_sem()
|
D | semtest_2ns.c | 99 id1 = semget(MY_KEY, 1, IPC_CREAT | IPC_EXCL | 0666); in check_sem1() 139 id2 = semget(MY_KEY, 1, IPC_CREAT | IPC_EXCL | 0666); in check_sem2()
|
/external/autotest/client/tests/synctest/src/ |
D | synctest.c | 53 shm_id = shmget(IPC_PRIVATE, 10, IPC_CREAT | IPC_EXCL | 0600); in main() 82 sem_id = semget(IPC_PRIVATE, 1, IPC_CREAT); in main()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-tm-spr.c | 117 shm_id = shmget(IPC_PRIVATE, sizeof(struct shared), 0777|IPC_CREAT); in ptrace_tm_spr() 118 shm_id1 = shmget(IPC_PRIVATE, sizeof(int), 0777|IPC_CREAT); in ptrace_tm_spr()
|
/external/ltp/testcases/kernel/syscalls/ipc/semop/ |
D | semop02.c | 111 sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup() 121 sem_id_2 = semget(semkey2, PSEMS, IPC_CREAT | IPC_EXCL); in setup()
|