Home
last modified time | relevance | path

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

123456

/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/strace/xlat/
Dmsgctl_flags.h6 #if defined(IPC_RMID) || (defined(HAVE_DECL_IPC_RMID) && HAVE_DECL_IPC_RMID)
8 static_assert((IPC_RMID) == (0), "IPC_RMID != 0");
11 # define IPC_RMID 0
69 XLAT(IPC_RMID),
Dshmctl_flags.h6 #if defined(IPC_RMID) || (defined(HAVE_DECL_IPC_RMID) && HAVE_DECL_IPC_RMID)
8 static_assert((IPC_RMID) == (0), "IPC_RMID != 0");
11 # define IPC_RMID 0
83 XLAT(IPC_RMID),
Dsemctl_flags.h6 #if defined(IPC_RMID) || (defined(HAVE_DECL_IPC_RMID) && HAVE_DECL_IPC_RMID)
8 static_assert((IPC_RMID) == (0), "IPC_RMID != 0");
11 # define IPC_RMID 0
116 XLAT(IPC_RMID),
/external/ltp/testcases/kernel/syscalls/ipc/msgctl/
Dmsgctl04.c58 {&msg_id3, IPC_RMID, NULL, EPERM},
100 SAFE_MSGCTL(msg_id1, IPC_RMID, NULL); in cleanup()
103 SAFE_MSGCTL(msg_id2, IPC_RMID, NULL); in cleanup()
107 SAFE_MSGCTL(msg_id3, IPC_RMID, NULL); in cleanup()
/external/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()
442 (void)msgctl(tid, IPC_RMID, NULL); in cleanup()
444 (void)msgctl(tid, IPC_RMID, NULL); in cleanup()
Dmsgstress03.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()
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()
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/
Dptrace-tm-spr.c143 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spr()
144 shmctl(shm_id1, IPC_RMID, NULL); in ptrace_tm_spr()
151 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spr()
152 shmctl(shm_id1, IPC_RMID, NULL); in ptrace_tm_spr()
/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/syscalls/ipc/shmctl/
Dshmctl05.c47 SAFE_SHMCTL(id, IPC_RMID, NULL); in thrproc()
58 tst_syscall(__NR_shmctl, 0xF00F, IPC_RMID, NULL); in setup()
103 shmctl(0xF00F, IPC_RMID, NULL); in cleanup()
/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/syzkaller/sys/netbsd/
Dipc.txt25 msgctl$IPC_RMID(msqid ipc_msq, cmd const[IPC_RMID])
33 semctl$IPC_RMID(semid ipc_sem, semnum const[0], cmd const[IPC_RMID])
51 shmctl$IPC_RMID(shmid ipc_shm, cmd const[IPC_RMID])
/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/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/syzkaller/sys/freebsd/
Dipc.txt25 msgctl$IPC_RMID(msqid ipc_msq, cmd const[IPC_RMID])
34 semctl$IPC_RMID(semid ipc_sem, semnum const[0], cmd const[IPC_RMID])
55 shmctl$IPC_RMID(shmid ipc_shm, cmd const[IPC_RMID])
/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/syzkaller/sys/linux/
Dipc.txt22 msgctl$IPC_RMID(msqid ipc_msq, cmd const[IPC_RMID])
34 semctl$IPC_RMID(semid ipc_sem, semnum const[0], cmd const[IPC_RMID])
55 shmctl$IPC_RMID(shmid ipc_shm, cmd const[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()
248 if (msgctl(msgque.msq_id, IPC_RMID, 0)) { in main()

123456