Home
last modified time | relevance | path

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

123456

/external/valgrind/none/tests/
Dsem.c32 semctl(semid, 0, IPC_RMID); in main()
39 semctl(semid, 0, IPC_RMID); in main()
46 semctl(semid, 0, IPC_RMID); in main()
64 semctl(semid, 0, IPC_RMID); in main()
76 semctl(semid, 0, IPC_RMID); in main()
91 semctl(semid, 0, IPC_RMID); in main()
96 if (semctl(semid, 0, IPC_RMID) < 0) in main()
/external/ltp/testcases/kernel/syscalls/ipc/msgctl/
Dmsgctl07.c97 (void)msgctl(msqid, IPC_RMID, NULL); in main()
118 (void)msgctl(msqid, IPC_RMID, NULL); in main()
131 (void)msgctl(msqid, IPC_RMID, NULL); in main()
143 (void)msgctl(msqid, IPC_RMID, NULL); in main()
165 (void)msgctl(msqid, IPC_RMID, NULL); in main()
178 (void)msgctl(msqid, IPC_RMID, NULL); in main()
187 (void)msgctl(msqid, IPC_RMID, NULL); in main()
196 (void)msgctl(msqid, IPC_RMID, NULL); in main()
212 (void)msgctl(msqid, IPC_RMID, NULL); in main()
214 (void)msgctl(msqid, IPC_RMID, NULL); in main()
Dmsgctl08.c252 TEST(msgctl(tid, IPC_RMID, 0)); in dotest()
264 TEST(msgctl(tid, IPC_RMID, 0)); in dotest()
287 TEST(msgctl(id, IPC_RMID, 0)); in dotest()
338 (void)msgctl(tid, IPC_RMID, NULL); in cleanup()
340 (void)msgctl(tid, IPC_RMID, NULL); in cleanup()
Dmsgctl10.c247 TEST(msgctl(tid, IPC_RMID, 0)); in dotest()
259 TEST(msgctl(tid, IPC_RMID, 0)); in dotest()
282 TEST(msgctl(id, IPC_RMID, 0)); in dotest()
327 (void)msgctl(tid, IPC_RMID, NULL); in cleanup()
329 (void)msgctl(tid, IPC_RMID, NULL); in cleanup()
Dmsgctl09.c268 if (msgctl(tid, IPC_RMID, 0) < 0) { in cleanup_msgqueue()
359 if (msgctl(tid, IPC_RMID, 0) < 0) { in dotest()
376 if (msgctl(tid, IPC_RMID, 0) < 0) { in dotest()
381 if (msgctl(id, IPC_RMID, 0) < 0) { in dotest()
463 (void)msgctl(tid, IPC_RMID, NULL); in cleanup()
465 (void)msgctl(tid, IPC_RMID, NULL); in cleanup()
Dmsgctl06.c83 (void)msgctl(msqid, IPC_RMID, NULL); in main()
162 (void)msgctl(msqid, IPC_RMID, NULL); in cleanup()
164 (void)msgctl(msqid, IPC_RMID, NULL); in cleanup()
Dmsgctl11.c290 if (msgctl(tid, IPC_RMID, 0) < 0) { in cleanup_msgqueue()
380 if (msgctl(tid, IPC_RMID, 0) < 0) { in dotest()
397 if (msgctl(tid, IPC_RMID, 0) < 0) { in dotest()
402 if (msgctl(id, IPC_RMID, 0) < 0) { in dotest()
501 (void)msgctl(tid, IPC_RMID, NULL); in cleanup()
503 (void)msgctl(tid, IPC_RMID, NULL); in cleanup()
/external/ltp/testcases/kernel/containers/sysvipc/
Dsem_comm.c73 semctl(id, 0, IPC_RMID); in chld1_sem()
85 semctl(id, 0, IPC_RMID); in chld1_sem()
95 semctl(id, 0, IPC_RMID); in chld1_sem()
117 semctl(id, 0, IPC_RMID); in chld2_sem()
132 semctl(id, 0, IPC_RMID); in chld2_sem()
143 semctl(id, 0, IPC_RMID); in chld2_sem()
Dmsg_comm.c81 msgctl(id, IPC_RMID, NULL); in chld1_msg()
93 msgctl(id, IPC_RMID, NULL); in chld1_msg()
104 msgctl(id, IPC_RMID, NULL); in chld1_msg()
123 msgctl(id, IPC_RMID, NULL); in chld2_msg()
130 msgctl(id, IPC_RMID, NULL); in chld2_msg()
Dshm_comm.c73 shmctl(id, IPC_RMID, NULL); in chld1_shm()
89 shmctl(id, IPC_RMID, NULL); in chld1_shm()
106 shmctl(id, IPC_RMID, NULL); in chld2_shm()
118 shmctl(id, IPC_RMID, NULL); in chld2_shm()
Dshmnstest.c61 shmctl(id, IPC_RMID, NULL); in check_shmid()
142 shmctl(id, IPC_RMID, NULL); in main()
/external/linux-kselftest/tools/testing/selftests/vm/
Dhugepage-shm.c70 shmctl(shmid, IPC_RMID, NULL); in main()
93 shmctl(shmid, IPC_RMID, NULL); in main()
97 shmctl(shmid, IPC_RMID, NULL); in main()
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/
Dhugeshmat05.c94 shmctl(shmid, IPC_RMID, NULL); in shm_test()
103 shmctl(shmid, IPC_RMID, NULL); in shm_test()
107 shmctl(shmid, IPC_RMID, NULL); in shm_test()
Dhugeshmat04.c107 shmctl(shmid, IPC_RMID, NULL); in shared_hugepage()
121 shmctl(shmid, IPC_RMID, NULL); in shared_hugepage()
/external/ltp/testcases/kernel/syscalls/ipc/lib/
Dlibipc.c90 if (msgctl(queue_id, IPC_RMID, NULL) == -1) { in rm_queue()
132 if (semctl(sem_id, 0, IPC_RMID, arr) == -1) { in rm_sema()
168 if (shmctl(shm_id, IPC_RMID, NULL) == -1) { in rm_shm()
/external/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);
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/
D12-1-buildonly.c38 #ifndef IPC_RMID
39 #error IPC_RMID not defined
/external/strace/xlat/
Dmsgctl_flags.h19 #if defined(IPC_RMID) || (defined(HAVE_DECL_IPC_RMID) && HAVE_DECL_IPC_RMID)
20 XLAT(IPC_RMID),
Dshmctl_flags.h19 #if defined(IPC_RMID) || (defined(HAVE_DECL_IPC_RMID) && HAVE_DECL_IPC_RMID)
20 XLAT(IPC_RMID),
Dsemctl_flags.h17 #if defined(IPC_RMID) || (defined(HAVE_DECL_IPC_RMID) && HAVE_DECL_IPC_RMID)
18 XLAT(IPC_RMID),
/external/ltp/testcases/kernel/ipc/ipc_stress/
Dmessage_queue_test_05.c155 if (msgctl(msqid_array[--nqueues], IPC_RMID, 0) < 0) in main()
255 if (msgctl(msqid_array[qnum], IPC_RMID, 0) < 0) in cleanup()
/external/ltp/testcases/kernel/controllers/memcg/functional/
Dmemcg_process.c238 shmctl(shmid, IPC_RMID, NULL); in shm()
246 shmctl(shmid, IPC_RMID, NULL); in shm()
253 if (shmctl(shmid, IPC_RMID, NULL) == -1) in shm()
/external/linux-kselftest/tools/testing/selftests/ipc/
Dmsgque.c75 if (msgctl(id, IPC_RMID, 0)) in restore_queue()
122 if (msgctl(msgque->msq_id, IPC_RMID, 0)) { in check_and_destroy_queue()
248 if (msgctl(msgque.msq_id, IPC_RMID, 0)) { in main()
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/
Dcpuset_memory_test.c264 shmctl(shmid, IPC_RMID, NULL); in shm()
272 shmctl(shmid, IPC_RMID, NULL); in shm()
279 if (shmctl(shmid, IPC_RMID, NULL) == -1) in shm()
/external/swiftshader/src/Main/
DFrameBufferX11.cpp83 shmctl(shminfo.shmid, IPC_RMID, 0); in FrameBufferX11()
111 shmctl(shminfo.shmid, IPC_RMID, 0); in ~FrameBufferX11()

123456