Home
last modified time | relevance | path

Searched refs:IPC_RMID (Results 1 – 25 of 142) sorted by relevance

123456

/third_party/ltp/testcases/kernel/containers/sysvipc/
Dsem_comm.c71 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()
Dmsg_comm.c79 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()
Dshm_comm.c72 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()
Dshmnstest.c60 shmctl(id, IPC_RMID, NULL); in check_shmid()
141 shmctl(id, IPC_RMID, NULL); in main()
/third_party/ltp/testcases/kernel/syscalls/ipc/msgrcv/
Dmsgrcv07.c76 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()
Dmsgrcv06.c42 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/
Dshmctl02.c71 {&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()
Dshmctl05.c39 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/
Dmsgctl04.c56 {&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/
Dmsgstress02.c229 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()
Dmsgstress04.c255 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()
Dmsgstress01.c221 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()
Dmsgstress03.c225 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/
Dhugeshmat05.c56 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/
Dipcrm.c62 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/
Dlibipc.c89 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/
D12-1-buildonly.c38 #ifndef IPC_RMID
39 #error IPC_RMID not defined
/third_party/ltp/testcases/kernel/syscalls/ipc/msgget/
Dmsgget04.c42 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in verify_msgget()
55 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in cleanup()
Dmsgget05.c42 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/
Dtst_safe_sysv_ipc.h32 (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/
Dshmget05.c43 SAFE_SHMCTL(shm_id, IPC_RMID, NULL); in verify_shmget()
56 SAFE_SHMCTL(shm_id, IPC_RMID, NULL); in cleanup()
Dshmget06.c43 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/
Dmsgsnd06.c52 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/
Dhugepage.h114 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/
Dsemctl04.c27 static int tcases[] = { IPC_SET, IPC_RMID };
78 SAFE_SEMCTL(sem_id, 0, IPC_RMID); in cleanup()

123456