Home
last modified time | relevance | path

Searched refs:IPC_RMID (Results 1 – 25 of 135) 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.c90 (void)msgctl(msqid, IPC_RMID, NULL); in main()
105 (void)msgctl(msqid, IPC_RMID, NULL); in main()
118 (void)msgctl(msqid, IPC_RMID, NULL); in main()
130 (void)msgctl(msqid, IPC_RMID, NULL); in main()
145 (void)msgctl(msqid, IPC_RMID, NULL); in main()
158 (void)msgctl(msqid, IPC_RMID, NULL); in main()
167 (void)msgctl(msqid, IPC_RMID, NULL); in main()
176 (void)msgctl(msqid, IPC_RMID, NULL); in main()
192 (void)msgctl(msqid, IPC_RMID, NULL); in main()
194 (void)msgctl(msqid, IPC_RMID, NULL); in main()
Dmsgctl09.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()
Dmsgctl11.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()
442 (void)msgctl(tid, IPC_RMID, NULL); in cleanup()
444 (void)msgctl(tid, IPC_RMID, NULL); in cleanup()
Dmsgctl06.c84 (void)msgctl(msqid, IPC_RMID, NULL); in main()
134 (void)msgctl(msqid, IPC_RMID, NULL); in cleanup()
136 (void)msgctl(msqid, IPC_RMID, NULL); in cleanup()
Dmsgctl08.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()
Dmsgctl10.c217 TEST(msgctl(tid, IPC_RMID, 0)); in dotest()
238 TEST(msgctl(id, IPC_RMID, 0)); in dotest()
282 (void)msgctl(tid, IPC_RMID, NULL); in cleanup()
284 (void)msgctl(tid, IPC_RMID, NULL); in cleanup()
/external/ltp/testcases/kernel/containers/sysvipc/
Dsem_comm.c72 semctl(id, 0, IPC_RMID); in chld1_sem()
84 semctl(id, 0, IPC_RMID); in chld1_sem()
94 semctl(id, 0, IPC_RMID); in chld1_sem()
116 semctl(id, 0, IPC_RMID); in chld2_sem()
131 semctl(id, 0, IPC_RMID); in chld2_sem()
142 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()
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/
Dptrace-tm-spr.c144 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spr()
145 shmctl(shm_id1, IPC_RMID, NULL); in ptrace_tm_spr()
152 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spr()
153 shmctl(shm_id1, IPC_RMID, NULL); in ptrace_tm_spr()
Dptrace-gpr.c99 shmctl(shm_id, IPC_RMID, NULL); in ptrace_gpr()
107 shmctl(shm_id, IPC_RMID, NULL); in ptrace_gpr()
/external/linux-kselftest/tools/testing/selftests/vm/
Dhugepage-shm.c71 shmctl(shmid, IPC_RMID, NULL); in main()
94 shmctl(shmid, IPC_RMID, NULL); in main()
98 shmctl(shmid, IPC_RMID, NULL); in main()
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/
Dhugeshmat05.c73 shmctl(shmid, IPC_RMID, NULL); in shm_test()
82 shmctl(shmid, IPC_RMID, NULL); in shm_test()
86 shmctl(shmid, IPC_RMID, NULL); in shm_test()
Dhugeshmat04.c70 shmctl(shmid, IPC_RMID, NULL); in shared_hugepage()
81 shmctl(shmid, IPC_RMID, NULL); in shared_hugepage()
/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/kernel/syscalls/ipc/lib/
Dlibipc.c89 if (msgctl(queue_id, IPC_RMID, NULL) == -1) { in rm_queue()
131 if (semctl(sem_id, 0, IPC_RMID, arr) == -1) { in rm_sema()
167 if (shmctl(shm_id, IPC_RMID, NULL) == -1) { in rm_shm()
/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.h13 #if defined(IPC_RMID) || (defined(HAVE_DECL_IPC_RMID) && HAVE_DECL_IPC_RMID)
14 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/syscalls/ipc/msgsnd/
Dmsgsnd06.c74 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in do_test()
87 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in cleanup()
/external/linux-kselftest/tools/testing/selftests/ipc/
Dmsgque.c76 if (msgctl(id, IPC_RMID, 0)) in restore_queue()
123 if (msgctl(msgque->msq_id, IPC_RMID, 0)) { in check_and_destroy_queue()
249 if (msgctl(msgque.msq_id, IPC_RMID, 0)) { in main()
/external/ltp/include/
Dtst_safe_sysv_ipc.h44 (msqid) = ((cmd) == IPC_RMID ? -1 : (msqid)); \
64 (shmid) = ((cmd) == IPC_RMID ? -1 : (shmid)); \

123456