/external/ltp/testcases/kernel/syscalls/ipc/msgget/ |
msgget02.c | 40 static key_t msgkey, msgkey1; variable 51 {&msgkey, IPC_CREAT | IPC_EXCL, EEXIST, 0}, 54 {&msgkey, MSG_RD, EACCES, 1}, 55 {&msgkey, MSG_WR, EACCES, 1}, 56 {&msgkey, MSG_RW, EACCES, 1} 97 msgkey = GETIPCKEY(); 100 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL);
|
msgget01.c | 35 static key_t msgkey; variable 44 TEST(msgget(msgkey, IPC_CREAT | MSG_RW)); 64 msgkey = GETIPCKEY();
|
msgget03.c | 37 static key_t msgkey; variable 41 TEST(msgget(msgkey + maxmsgs, IPC_CREAT | IPC_EXCL)); 57 msgkey = GETIPCKEY(); 66 res = msgget(msgkey + num, IPC_CREAT | IPC_EXCL);
|
/external/ltp/testcases/kernel/syscalls/ipc/msgsnd/ |
msgsnd01.c | 32 static key_t msgkey; variable 61 msgkey = GETIPCKEY(); 63 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW);
|
msgsnd05.c | 37 static key_t msgkey; variable 102 msgkey = GETIPCKEY(); 104 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW);
|
msgsnd06.c | 34 static key_t msgkey; variable 61 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW); 81 msgkey = GETIPCKEY();
|
msgsnd02.c | 45 static key_t msgkey; variable 111 msgkey = GETIPCKEY(); 113 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW);
|
/external/ltp/testcases/kernel/syscalls/ipc/lib/ |
ipcmsg.h | 54 key_t msgkey; /* the ftok() generated message key */ variable 56 extern key_t msgkey; /* the ftok() generated message key */
|
/external/ltp/testcases/kernel/syscalls/ipc/msgctl/ |
msgctl01.c | 33 static key_t msgkey; variable 90 if (buf.msg_perm.__key == msgkey) { 91 tst_res(TPASS, "msg_perm.__key == %u", (unsigned)msgkey); 94 (unsigned)buf.msg_perm.__key, (unsigned)msgkey); 135 msgkey = GETIPCKEY(); 137 msg_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW | mode);
|
msgctl02.c | 66 key_t msgkey = GETIPCKEY(); local 68 msg_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW | 0660);
|
/external/ltp/testcases/kernel/syscalls/ipc/msgrcv/ |
msgrcv01.c | 183 * This helps to ensure that a unique msgkey is created. 188 msgkey = getipckey(); 191 if ((msg_q_1 = msgget(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW)) == -1) {
|
msgrcv03.c | 138 * This helps to ensure that a unique msgkey is created. 143 msgkey = getipckey(); 146 if ((msg_q_1 = msgget(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW)) == -1) {
|
msgrcv04.c | 149 * This helps to ensure that a unique msgkey is created. 154 msgkey = getipckey(); 157 if ((msg_q_1 = msgget(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW)) == -1) {
|
msgrcv05.c | 183 * This helps to ensure that a unique msgkey is created. 188 msgkey = getipckey(); 191 if ((msg_q_1 = msgget(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW)) == -1)
|
msgrcv06.c | 105 msgkey = getipckey(); 108 if ((msg_q_1 = msgget(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW)) 204 * This helps to ensure that a unique msgkey is created.
|
msgrcv02.c | 161 * This helps to ensure that a unique msgkey is created. 166 msgkey = getipckey(); 172 if ((msg_q_1 = msgget(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW)) == -1) {
|