/third_party/ltp/testcases/kernel/containers/sysvipc/ |
D | sem_comm.c | 71 semctl(id, 0, IPC_RMID); in chld1_sem() 83 semctl(id, 0, IPC_RMID); in chld1_sem() 93 semctl(id, 0, IPC_RMID); in chld1_sem() 115 semctl(id, 0, IPC_RMID); in chld2_sem() 130 semctl(id, 0, IPC_RMID); in chld2_sem() 141 semctl(id, 0, IPC_RMID); in chld2_sem()
|
D | msg_comm.c | 79 msgctl(id, IPC_RMID, NULL); in chld1_msg() 91 msgctl(id, IPC_RMID, NULL); in chld1_msg() 102 msgctl(id, IPC_RMID, NULL); in chld1_msg() 121 msgctl(id, IPC_RMID, NULL); in chld2_msg() 128 msgctl(id, IPC_RMID, NULL); in chld2_msg()
|
D | shm_comm.c | 72 shmctl(id, IPC_RMID, NULL); in chld1_shm() 88 shmctl(id, IPC_RMID, NULL); in chld1_shm() 105 shmctl(id, IPC_RMID, NULL); in chld2_shm() 117 shmctl(id, IPC_RMID, NULL); in chld2_shm()
|
D | shmnstest.c | 60 shmctl(id, IPC_RMID, NULL); in check_shmid() 141 shmctl(id, IPC_RMID, NULL); in main()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/msgrcv/ |
D | msgrcv07.c | 76 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in test_msg_except() 103 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in test_msg_noerror() 164 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in test_msg_copy() 186 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in test_zero_msgtyp() 211 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in test_positive_msgtyp() 236 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in test_negative_msgtyp() 243 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in cleanup()
|
D | msgrcv06.c | 42 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in do_test() 54 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in cleanup()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/ |
D | shmctl02.c | 71 {&shm_id3, IPC_RMID, NULL, EPERM}, 123 SAFE_SHMCTL(tmp, IPC_RMID, NULL); in setup() 129 SAFE_SHMCTL(shm_id1, IPC_RMID, NULL); in cleanup() 132 SAFE_SHMCTL(shm_id2, IPC_RMID, NULL); in cleanup() 136 SAFE_SHMCTL(shm_id3, IPC_RMID, NULL); in cleanup()
|
D | shmctl05.c | 39 SAFE_SHMCTL(id, IPC_RMID, NULL); in thrproc() 50 tst_syscall(__NR_shmctl, 0xF00F, IPC_RMID, NULL); in setup() 105 SAFE_SHMCTL(id, IPC_RMID, NULL); in cleanup()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/msgctl/ |
D | msgctl04.c | 56 {&msg_id3, IPC_RMID, NULL, EPERM}, 109 SAFE_MSGCTL(msg_id1, IPC_RMID, NULL); in cleanup() 112 SAFE_MSGCTL(msg_id2, IPC_RMID, NULL); in cleanup() 116 SAFE_MSGCTL(msg_id3, IPC_RMID, NULL); in cleanup()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/msgstress/ |
D | msgstress02.c | 229 if (msgctl(tid, IPC_RMID, 0) < 0) { in cleanup_msgqueue() 296 if (msgctl(tid, IPC_RMID, 0) < 0) { in dotest() 313 if (msgctl(tid, IPC_RMID, 0) < 0) { in dotest() 318 if (msgctl(id, IPC_RMID, 0) < 0) { in dotest() 399 (void)msgctl(tid, IPC_RMID, NULL); in cleanup() 401 (void)msgctl(tid, IPC_RMID, NULL); in cleanup()
|
D | msgstress04.c | 255 if (msgctl(tid, IPC_RMID, 0) < 0) { in cleanup_msgqueue() 321 if (msgctl(tid, IPC_RMID, 0) < 0) { in dotest() 338 if (msgctl(tid, IPC_RMID, 0) < 0) { in dotest() 343 if (msgctl(id, IPC_RMID, 0) < 0) { in dotest() 436 (void)msgctl(tid, IPC_RMID, NULL); in cleanup() 438 (void)msgctl(tid, IPC_RMID, NULL); in cleanup()
|
D | msgstress01.c | 221 TEST(msgctl(tid, IPC_RMID, 0)); in dotest() 243 TEST(msgctl(id, IPC_RMID, 0)); in dotest() 293 (void)msgctl(tid, IPC_RMID, NULL); in cleanup() 295 (void)msgctl(tid, IPC_RMID, NULL); in cleanup()
|
D | msgstress03.c | 225 TEST(msgctl(tid, IPC_RMID, 0)); in dotest() 246 TEST(msgctl(id, IPC_RMID, 0)); in dotest() 290 (void)msgctl(tid, IPC_RMID, NULL); in cleanup() 292 (void)msgctl(tid, IPC_RMID, NULL); in cleanup()
|
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmat/ |
D | hugeshmat05.c | 56 shmctl(shmid, IPC_RMID, NULL); in shm_test() 65 shmctl(shmid, IPC_RMID, NULL); in shm_test() 69 shmctl(shmid, IPC_RMID, NULL); in shm_test()
|
/third_party/toybox/toys/pending/ |
D | ipcrm.c | 62 if (ipc == 1) ret = shmctl(id, IPC_RMID, NULL); 63 else if (ipc == 2) ret = msgctl(id, IPC_RMID, NULL); 64 else if (ipc == 3) ret = semctl(id, 0, IPC_RMID, NULL);
|
/third_party/ltp/libs/libltpipc/ |
D | libipc.c | 89 if (msgctl(queue_id, IPC_RMID, NULL) == -1) { in rm_queue() 129 if (semctl(sem_id, 0, IPC_RMID) == -1) { in rm_sema() 165 if (shmctl(shm_id, IPC_RMID, NULL) == -1) { in rm_shm()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/ |
D | 12-1-buildonly.c | 38 #ifndef IPC_RMID 39 #error IPC_RMID not defined
|
/third_party/ltp/testcases/kernel/syscalls/ipc/msgget/ |
D | msgget04.c | 42 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in verify_msgget() 55 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in cleanup()
|
D | msgget05.c | 42 SAFE_MSGCTL(queue_id[1], IPC_RMID, NULL); in verify_msgget() 60 SAFE_MSGCTL(queue_id[i], IPC_RMID, NULL); in cleanup()
|
/third_party/ltp/include/ |
D | tst_safe_sysv_ipc.h | 32 (msqid) = ((cmd) == IPC_RMID ? -1 : (msqid)); \ 52 (shmid) = ((cmd) == IPC_RMID ? -1 : (shmid)); \ 65 (semid) = ((cmd) == IPC_RMID ? -1 : (semid)); \
|
/third_party/ltp/testcases/kernel/syscalls/ipc/shmget/ |
D | shmget05.c | 43 SAFE_SHMCTL(shm_id, IPC_RMID, NULL); in verify_shmget() 56 SAFE_SHMCTL(shm_id, IPC_RMID, NULL); in cleanup()
|
D | shmget06.c | 43 SAFE_SHMCTL(shm_id[1], IPC_RMID, NULL); in verify_shmget() 61 SAFE_SHMCTL(shm_id[i], IPC_RMID, NULL); in cleanup()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/msgsnd/ |
D | msgsnd06.c | 52 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in do_test() 65 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in cleanup()
|
/third_party/ltp/testcases/kernel/mce-test/tsrc/ |
D | hugepage.h | 114 shmctl(shmid, IPC_RMID, NULL); in alloc_shm_hugepage() 160 shmctl(key, IPC_RMID, NULL); in free_shm_hugepage() 163 shmctl(key, IPC_RMID, NULL); in free_shm_hugepage()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/ |
D | semctl04.c | 27 static int tcases[] = { IPC_SET, IPC_RMID }; 78 SAFE_SEMCTL(sem_id, 0, IPC_RMID); in cleanup()
|