Home
last modified time | relevance | path

Searched refs:msqid (Results 1 – 25 of 40) sorted by relevance

12

/netbsd/sys/kern/
H A Dsysv_msg.c254 for (msqid = 0; msqid < msginfo.msgmni; msqid++) { in msgrealloc()
258 msq = &msqs[msqid]; in msgrealloc()
261 i = msqid; in msgrealloc()
302 for (msqid = 0; msqid < msginfo.msgmni; msqid++) { in msgrealloc()
307 msq = &msqs[msqid]; in msgrealloc()
612 for (msqid = 0; msqid < msginfo.msgmni; msqid++) { in sys_msgget()
638 for (msqid = 0; msqid < msginfo.msgmni; msqid++) { in sys_msgget()
729 if (msqid < 0 || msqid >= msginfo.msgmni) { in msgsnd1()
736 msq = &msqs[msqid]; in msgsnd1()
1039 if (msqid < 0 || msqid >= msginfo.msgmni) { in msgrcv1()
[all …]
/netbsd/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
H A Dinfo-os.c31 static int shmid = -1, semid = -1, msqid = -1; variable
42 if (msqid >= 0) in ipc_cleanup()
43 msgctl (msqid, IPC_RMID, NULL); in ipc_cleanup()
102 msqid = msgget (msgkey, flags | IPC_EXCL); in main()
103 if (msqid >= 0) in main()
109 if (msqid < 0) in main()
H A Dinfo-os.exp103 set msqid -1
107 set msqid $expect_out(1,string)
176 expect_multiline "info os msg" "$msgkey +$msqid +666 .*" "get message queues"
/netbsd/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
H A Dinfo-os.c31 static int shmid = -1, semid = -1, msqid = -1; variable
42 if (msqid >= 0) in ipc_cleanup()
43 msgctl (msqid, IPC_RMID, NULL); in ipc_cleanup()
102 msqid = msgget (msgkey, flags | IPC_EXCL); in main()
103 if (msqid >= 0) in main()
109 if (msqid < 0) in main()
H A Dinfo-os.exp103 set msqid -1
107 set msqid $expect_out(1,string)
176 expect_multiline "info os msg" "$msgkey +$msqid +666 .*" "get message queues"
/netbsd/lib/libc/compat/sys/
H A Dcompat___msgctl13.c54 __msgctl13(int msqid, int cmd, struct msqid_ds13 *ds13) in __msgctl13() argument
62 error = __msgctl50(msqid, cmd, &ds); in __msgctl13()
/netbsd/sys/compat/freebsd/
H A Dfreebsd_ipc.c213 SCARG(&msgctl_args, msqid) = SCARG(uap, a2); in freebsd_sys_msgsys()
225 SCARG(&msgsnd_args, msqid) = SCARG(uap, a2); in freebsd_sys_msgsys()
232 SCARG(&msgrcv_args, msqid) = SCARG(uap, a2); in freebsd_sys_msgsys()
/netbsd/tests/kernel/
H A Dt_sysv.c345 int msqid, loop; in receiver() local
347 if ((msqid = msgget(msgkey, 0)) == -1) in receiver()
354 if (msgrcv(msqid, &m, MESSAGE_TEXT_LEN, MTYPE_1, 0) in receiver()
365 if (msgsnd(msqid, &m, MESSAGE_TEXT_LEN, 0) == -1) in receiver()
372 if (msgrcv(msqid, &m, MESSAGE_TEXT_LEN, MTYPE_2, 0) in receiver()
383 if (msgsnd(msqid, &m, MESSAGE_TEXT_LEN, 0) == -1) in receiver()
/netbsd/sys/compat/common/
H A Dkern_ipc_10.c231 SCARG(&msgctl_args, msqid) = SCARG(uap, a2); in compat_10_sys_msgsys()
243 SCARG(&msgsnd_args, msqid) = SCARG(uap, a2); in compat_10_sys_msgsys()
251 SCARG(&msgrcv_args, msqid) = SCARG(uap, a2); in compat_10_sys_msgsys()
H A Dsysv_msg_14.c75 error = msgctl1(l, SCARG(uap, msqid), cmd, in compat_14_sys_msgctl()
H A Dsysv_msg_50.c75 error = msgctl1(l, SCARG(uap, msqid), cmd, in compat_50_sys___msgctl13()
/netbsd/sys/compat/linux/common/
H A Dlinux_ipccall.c124 SCARG(&bsa, msqid) = SCARG(uap, a1); in linux_sys_ipc()
210 SCARG(&bma, msqid) = SCARG(uap, a1); in linux_msgsnd()
228 SCARG(&bma, msqid) = SCARG(uap, a1); in linux_msgrcv()
H A Dlinux_msg.h119 syscallarg(int) msqid;
/netbsd/sys/compat/netbsd32/
H A Dnetbsd32_compat_10_sysv.c216 SCARG(&msgctl_args, msqid) = SCARG(uap, a2); in compat_10_netbsd32_msgsys()
227 SCARG(&msgsnd_args, msqid) = SCARG(uap, a2); in compat_10_netbsd32_msgsys()
234 SCARG(&msgrcv_args, msqid) = SCARG(uap, a2); in compat_10_netbsd32_msgsys()
H A Dnetbsd32_ipc.c250 error = msgctl1(l, SCARG(uap, msqid), cmd, in netbsd32___msgctl50()
300 return msgsnd1(l, SCARG(uap, msqid), in netbsd32_msgsnd()
329 return msgrcv1(l, SCARG(uap, msqid), in netbsd32_msgrcv()
H A Dnetbsd32_compat_50_sysv.c161 error = msgctl1(l, SCARG(uap, msqid), cmd, in compat_50_netbsd32___msgctl13()
H A Dnetbsd32_compat_14_sysv.c224 error = msgctl1(l, SCARG(uap, msqid), cmd, in compat_14_netbsd32_msgctl()
/netbsd/external/gpl3/gcc/dist/libsanitizer/include/sanitizer/
H A Dnetbsd_syscall_hooks.h1171 (long long)(msqid), (long long)(cmd), (long long)(buf))
1174 res, (long long)(msqid), (long long)(cmd), (long long)(buf))
1614 (long long)(msqid), (long long)(cmd), (long long)(buf))
1617 res, (long long)(msqid), (long long)(cmd), (long long)(buf))
3735 void __sanitizer_syscall_pre_impl_compat_14_msgctl(long long msqid,
3739 long long msqid,
3745 void __sanitizer_syscall_pre_impl_msgsnd(long long msqid, long long msgp,
3747 void __sanitizer_syscall_post_impl_msgsnd(long long res, long long msqid,
3750 void __sanitizer_syscall_pre_impl_msgrcv(long long msqid, long long msgp,
4053 void __sanitizer_syscall_pre_impl_compat_50___msgctl13(long long msqid,
[all …]
H A Dlinux_syscall_hooks.h1284 #define __sanitizer_syscall_pre_msgsnd(msqid, msgp, msgsz, msgflg) \ argument
1285 __sanitizer_syscall_pre_impl_msgsnd((long)(msqid), (long)(msgp), \
1287 #define __sanitizer_syscall_post_msgsnd(res, msqid, msgp, msgsz, msgflg) \ argument
1288 __sanitizer_syscall_post_impl_msgsnd(res, (long)(msqid), (long)(msgp), \
1294 #define __sanitizer_syscall_post_msgrcv(res, msqid, msgp, msgsz, msgtyp, \ argument
1296 __sanitizer_syscall_post_impl_msgrcv(res, (long)(msqid), (long)(msgp), \
1299 #define __sanitizer_syscall_pre_msgctl(msqid, cmd, buf) \ argument
1301 #define __sanitizer_syscall_post_msgctl(res, msqid, cmd, buf) \ argument
1302 __sanitizer_syscall_post_impl_msgctl(res, (long)(msqid), (long)(cmd), \
2738 void __sanitizer_syscall_pre_impl_msgctl(long msqid, long cmd, long buf);
[all …]
/netbsd/sys/external/bsd/compiler_rt/dist/include/sanitizer/
H A Dnetbsd_syscall_hooks.h1145 (long long)(msqid), (long long)(cmd), (long long)(buf))
1148 res, (long long)(msqid), (long long)(cmd), (long long)(buf))
1588 (long long)(msqid), (long long)(cmd), (long long)(buf))
1591 res, (long long)(msqid), (long long)(cmd), (long long)(buf))
3563 void __sanitizer_syscall_pre_impl_compat_14_msgctl(long long msqid,
3567 long long msqid,
3573 void __sanitizer_syscall_pre_impl_msgsnd(long long msqid, long long msgp,
3575 void __sanitizer_syscall_post_impl_msgsnd(long long res, long long msqid,
3578 void __sanitizer_syscall_pre_impl_msgrcv(long long msqid, long long msgp,
3881 void __sanitizer_syscall_pre_impl_compat_50___msgctl13(long long msqid,
[all …]
H A Dlinux_syscall_hooks.h1286 #define __sanitizer_syscall_pre_msgsnd(msqid, msgp, msgsz, msgflg) \ argument
1287 __sanitizer_syscall_pre_impl_msgsnd((long)(msqid), (long)(msgp), \
1289 #define __sanitizer_syscall_post_msgsnd(res, msqid, msgp, msgsz, msgflg) \ argument
1290 __sanitizer_syscall_post_impl_msgsnd(res, (long)(msqid), (long)(msgp), \
1296 #define __sanitizer_syscall_post_msgrcv(res, msqid, msgp, msgsz, msgtyp, \ argument
1298 __sanitizer_syscall_post_impl_msgrcv(res, (long)(msqid), (long)(msgp), \
1301 #define __sanitizer_syscall_pre_msgctl(msqid, cmd, buf) \ argument
1303 #define __sanitizer_syscall_post_msgctl(res, msqid, cmd, buf) \ argument
1304 __sanitizer_syscall_post_impl_msgctl(res, (long)(msqid), (long)(cmd), \
2740 void __sanitizer_syscall_pre_impl_msgctl(long msqid, long cmd, long buf);
[all …]
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/include/sanitizer/
H A Dnetbsd_syscall_hooks.h1171 (long long)(msqid), (long long)(cmd), (long long)(buf))
1174 res, (long long)(msqid), (long long)(cmd), (long long)(buf))
1614 (long long)(msqid), (long long)(cmd), (long long)(buf))
1617 res, (long long)(msqid), (long long)(cmd), (long long)(buf))
3735 void __sanitizer_syscall_pre_impl_compat_14_msgctl(long long msqid,
3739 long long msqid,
3745 void __sanitizer_syscall_pre_impl_msgsnd(long long msqid, long long msgp,
3747 void __sanitizer_syscall_post_impl_msgsnd(long long res, long long msqid,
3750 void __sanitizer_syscall_pre_impl_msgrcv(long long msqid, long long msgp,
4053 void __sanitizer_syscall_pre_impl_compat_50___msgctl13(long long msqid,
[all …]
H A Dlinux_syscall_hooks.h1284 #define __sanitizer_syscall_pre_msgsnd(msqid, msgp, msgsz, msgflg) \ argument
1285 __sanitizer_syscall_pre_impl_msgsnd((long)(msqid), (long)(msgp), \
1287 #define __sanitizer_syscall_post_msgsnd(res, msqid, msgp, msgsz, msgflg) \ argument
1288 __sanitizer_syscall_post_impl_msgsnd(res, (long)(msqid), (long)(msgp), \
1294 #define __sanitizer_syscall_post_msgrcv(res, msqid, msgp, msgsz, msgtyp, \ argument
1296 __sanitizer_syscall_post_impl_msgrcv(res, (long)(msqid), (long)(msgp), \
1299 #define __sanitizer_syscall_pre_msgctl(msqid, cmd, buf) \ argument
1301 #define __sanitizer_syscall_post_msgctl(res, msqid, cmd, buf) \ argument
1302 __sanitizer_syscall_post_impl_msgctl(res, (long)(msqid), (long)(cmd), \
2738 void __sanitizer_syscall_pre_impl_msgctl(long msqid, long cmd, long buf);
[all …]
/netbsd/external/gpl3/gdb/dist/gdb/nat/
H A Dlinux-osdata.c1140 int msqid; in linux_xfer_osdata_msg() local
1146 &key, &msqid, &perms, &cbytes, &qnum, in linux_xfer_osdata_msg()
1188 msqid, in linux_xfer_osdata_msg()
/netbsd/external/gpl3/gdb.old/dist/gdb/nat/
H A Dlinux-osdata.c1140 int msqid; in linux_xfer_osdata_msg() local
1146 &key, &msqid, &perms, &cbytes, &qnum, in linux_xfer_osdata_msg()
1188 msqid, in linux_xfer_osdata_msg()

12