/netbsd/sys/kern/ |
H A D | sysv_msg.c | 254 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 D | info-os.c | 31 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 D | info-os.exp | 103 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 D | info-os.c | 31 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 D | info-os.exp | 103 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 D | compat___msgctl13.c | 54 __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 D | freebsd_ipc.c | 213 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 D | t_sysv.c | 345 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 D | kern_ipc_10.c | 231 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 D | sysv_msg_14.c | 75 error = msgctl1(l, SCARG(uap, msqid), cmd, in compat_14_sys_msgctl()
|
H A D | sysv_msg_50.c | 75 error = msgctl1(l, SCARG(uap, msqid), cmd, in compat_50_sys___msgctl13()
|
/netbsd/sys/compat/linux/common/ |
H A D | linux_ipccall.c | 124 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 D | linux_msg.h | 119 syscallarg(int) msqid;
|
/netbsd/sys/compat/netbsd32/ |
H A D | netbsd32_compat_10_sysv.c | 216 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 D | netbsd32_ipc.c | 250 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 D | netbsd32_compat_50_sysv.c | 161 error = msgctl1(l, SCARG(uap, msqid), cmd, in compat_50_netbsd32___msgctl13()
|
H A D | netbsd32_compat_14_sysv.c | 224 error = msgctl1(l, SCARG(uap, msqid), cmd, in compat_14_netbsd32_msgctl()
|
/netbsd/external/gpl3/gcc/dist/libsanitizer/include/sanitizer/ |
H A D | netbsd_syscall_hooks.h | 1171 (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 D | linux_syscall_hooks.h | 1284 #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 D | netbsd_syscall_hooks.h | 1145 (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 D | linux_syscall_hooks.h | 1286 #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 D | netbsd_syscall_hooks.h | 1171 (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 D | linux_syscall_hooks.h | 1284 #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 D | linux-osdata.c | 1140 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 D | linux-osdata.c | 1140 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()
|