Searched refs:msqid (Results 1 - 25 of 35) sorted by relevance

12

/netbsd-current/lib/libc/compat/sys/
H A Dcompat___msgctl13.c54 __msgctl13(int msqid, int cmd, struct msqid_ds13 *ds13) argument
62 error = __msgctl50(msqid, cmd, &ds);
/netbsd-current/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)
43 msgctl (msqid, IPC_RMID, NULL);
102 msqid = msgget (msgkey, flags | IPC_EXCL);
103 if (msqid >= 0)
109 if (msqid < 0)
H A Dinfo-os.exp103 set msqid -1
105 gdb_test_multiple "print msqid" $test {
107 set msqid $expect_out(1,string)
175 # key msqid perm num used bytes num messages last msgsnd() command last msgrcv() command user group creator user creator group last msgsnd() time last msgrcv() time last msgctl() time
176 expect_multiline "info os msg" "$msgkey +$msqid +666 .*" "get message queues"
/netbsd-current/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)
43 msgctl (msqid, IPC_RMID, NULL);
102 msqid = msgget (msgkey, flags | IPC_EXCL);
103 if (msqid >= 0)
109 if (msqid < 0)
H A Dinfo-os.exp101 set msqid -1
103 gdb_test_multiple "print msqid" $test {
105 set msqid $expect_out(1,string)
170 # key msqid perm num used bytes num messages last msgsnd() command last msgrcv() command user group creator user creator group last msgsnd() time last msgrcv() time last msgctl() time
171 expect_multiline "info os msg" "$msgkey +$msqid +666 .*" "get message queues"
/netbsd-current/sys/kern/
H A Dsysv_msg.c216 int i, sz, msqid, newmsgmax, new_nfree_msgmaps; local
254 for (msqid = 0; msqid < msginfo.msgmni; msqid++) {
258 msq = &msqs[msqid];
261 i = msqid;
302 for (msqid = 0; msqid < msginfo.msgmni; msqid++) {
307 msq = &msqs[msqid];
474 msgctl1(struct lwp *l, int msqid, int cmd, struct msqid_ds *msqbuf) argument
600 int msqid, error = 0; local
708 int segs_needed, error = 0, msqid; local
1021 int error = 0, msqid; local
[all...]
/netbsd-current/sys/compat/linux/common/
H A Dlinux_msg.h119 syscallarg(int) msqid; member in struct:linux_sys_msgctl_args
H A Dlinux_ipccall.c124 SCARG(&bsa, msqid) = SCARG(uap, a1);
210 SCARG(&bma, msqid) = SCARG(uap, a1);
228 SCARG(&bma, msqid) = SCARG(uap, a1);
/netbsd-current/sys/compat/common/
H A Dsysv_msg_14.c58 syscallarg(int) msqid;
75 error = msgctl1(l, SCARG(uap, msqid), cmd,
H A Dsysv_msg_50.c58 syscallarg(int) msqid;
75 error = msgctl1(l, SCARG(uap, msqid), cmd,
H A Dkern_ipc_10.c207 syscallarg(int) msqid;
216 syscallarg(int) msqid;
222 syscallarg(int) msqid;
231 SCARG(&msgctl_args, msqid) = SCARG(uap, a2);
243 SCARG(&msgsnd_args, msqid) = SCARG(uap, a2);
251 SCARG(&msgrcv_args, msqid) = SCARG(uap, a2);
/netbsd-current/sys/compat/freebsd/
H A Dfreebsd_ipc.c189 syscallarg(int) msqid;
198 syscallarg(int) msqid;
204 syscallarg(int) msqid;
213 SCARG(&msgctl_args, msqid) = SCARG(uap, a2);
225 SCARG(&msgsnd_args, msqid) = SCARG(uap, a2);
232 SCARG(&msgrcv_args, msqid) = SCARG(uap, a2);
/netbsd-current/sys/compat/netbsd32/
H A Dnetbsd32_compat_10_sysv.c192 syscallarg(int) msqid;
201 syscallarg(int) msqid;
207 syscallarg(int) msqid;
216 SCARG(&msgctl_args, msqid) = SCARG(uap, a2);
227 SCARG(&msgsnd_args, msqid) = SCARG(uap, a2);
234 SCARG(&msgrcv_args, msqid) = SCARG(uap, a2);
H A Dnetbsd32_ipc.c234 syscallarg(int) msqid;
250 error = msgctl1(l, SCARG(uap, msqid), cmd,
294 syscallarg(int) msqid;
300 return msgsnd1(l, SCARG(uap, msqid),
322 syscallarg(int) msqid;
329 return msgrcv1(l, SCARG(uap, msqid),
H A Dnetbsd32_compat_50_sysv.c145 syscallarg(int) msqid;
161 error = msgctl1(l, SCARG(uap, msqid), cmd,
H A Dnetbsd32_compat_14_sysv.c206 syscallarg(int) msqid;
224 error = msgctl1(l, SCARG(uap, msqid), cmd,
/netbsd-current/tests/kernel/
H A Dt_sysv.c345 int msqid, loop; local
347 if ((msqid = msgget(msgkey, 0)) == -1)
354 if (msgrcv(msqid, &m, MESSAGE_TEXT_LEN, MTYPE_1, 0)
365 if (msgsnd(msqid, &m, MESSAGE_TEXT_LEN, 0) == -1)
372 if (msgrcv(msqid, &m, MESSAGE_TEXT_LEN, MTYPE_2, 0)
383 if (msgsnd(msqid, &m, MESSAGE_TEXT_LEN, 0) == -1)
/netbsd-current/sys/external/bsd/compiler_rt/dist/include/sanitizer/
H A Dnetbsd_syscall_hooks.h1143 #define __sanitizer_syscall_pre_compat_14_msgctl(msqid, cmd, buf) \
1145 (long long)(msqid), (long long)(cmd), (long long)(buf))
1146 #define __sanitizer_syscall_post_compat_14_msgctl(res, msqid, cmd, buf) \
1148 res, (long long)(msqid), (long long)(cmd), (long long)(buf))
1154 #define __sanitizer_syscall_pre_msgsnd(msqid, msgp, msgsz, msgflg) \
1155 __sanitizer_syscall_pre_impl_msgsnd((long long)(msqid), (long long)(msgp), \
1157 #define __sanitizer_syscall_post_msgsnd(res, msqid, msgp, msgsz, msgflg) \
1158 __sanitizer_syscall_post_impl_msgsnd(res, (long long)(msqid), \
1161 #define __sanitizer_syscall_pre_msgrcv(msqid, msgp, msgsz, msgtyp, msgflg) \
1162 __sanitizer_syscall_pre_impl_msgrcv((long long)(msqid), (lon
[all...]
H A Dlinux_syscall_hooks.h1286 #define __sanitizer_syscall_pre_msgsnd(msqid, msgp, msgsz, msgflg) \
1287 __sanitizer_syscall_pre_impl_msgsnd((long)(msqid), (long)(msgp), \
1289 #define __sanitizer_syscall_post_msgsnd(res, msqid, msgp, msgsz, msgflg) \
1290 __sanitizer_syscall_post_impl_msgsnd(res, (long)(msqid), (long)(msgp), \
1292 #define __sanitizer_syscall_pre_msgrcv(msqid, msgp, msgsz, msgtyp, msgflg) \
1293 __sanitizer_syscall_pre_impl_msgrcv((long)(msqid), (long)(msgp), \
1296 #define __sanitizer_syscall_post_msgrcv(res, msqid, msgp, msgsz, msgtyp, \
1298 __sanitizer_syscall_post_impl_msgrcv(res, (long)(msqid), (long)(msgp), \
1301 #define __sanitizer_syscall_pre_msgctl(msqid, cmd, buf) \
1302 __sanitizer_syscall_pre_impl_msgctl((long)(msqid), (lon
[all...]
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/include/sanitizer/
H A Dnetbsd_syscall_hooks.h1169 #define __sanitizer_syscall_pre_compat_14_msgctl(msqid, cmd, buf) \
1171 (long long)(msqid), (long long)(cmd), (long long)(buf))
1172 #define __sanitizer_syscall_post_compat_14_msgctl(res, msqid, cmd, buf) \
1174 res, (long long)(msqid), (long long)(cmd), (long long)(buf))
1180 #define __sanitizer_syscall_pre_msgsnd(msqid, msgp, msgsz, msgflg) \
1181 __sanitizer_syscall_pre_impl_msgsnd((long long)(msqid), (long long)(msgp), \
1183 #define __sanitizer_syscall_post_msgsnd(res, msqid, msgp, msgsz, msgflg) \
1184 __sanitizer_syscall_post_impl_msgsnd(res, (long long)(msqid), \
1187 #define __sanitizer_syscall_pre_msgrcv(msqid, msgp, msgsz, msgtyp, msgflg) \
1188 __sanitizer_syscall_pre_impl_msgrcv((long long)(msqid), (lon
[all...]
H A Dlinux_syscall_hooks.h1294 #define __sanitizer_syscall_pre_msgsnd(msqid, msgp, msgsz, msgflg) \
1295 __sanitizer_syscall_pre_impl_msgsnd((long)(msqid), (long)(msgp), \
1297 #define __sanitizer_syscall_post_msgsnd(res, msqid, msgp, msgsz, msgflg) \
1298 __sanitizer_syscall_post_impl_msgsnd(res, (long)(msqid), (long)(msgp), \
1300 #define __sanitizer_syscall_pre_msgrcv(msqid, msgp, msgsz, msgtyp, msgflg) \
1301 __sanitizer_syscall_pre_impl_msgrcv((long)(msqid), (long)(msgp), \
1304 #define __sanitizer_syscall_post_msgrcv(res, msqid, msgp, msgsz, msgtyp, \
1306 __sanitizer_syscall_post_impl_msgrcv(res, (long)(msqid), (long)(msgp), \
1309 #define __sanitizer_syscall_pre_msgctl(msqid, cmd, buf) \
1310 __sanitizer_syscall_pre_impl_msgctl((long)(msqid), (lon
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/include/sanitizer/
H A Dnetbsd_syscall_hooks.h1169 #define __sanitizer_syscall_pre_compat_14_msgctl(msqid, cmd, buf) \
1171 (long long)(msqid), (long long)(cmd), (long long)(buf))
1172 #define __sanitizer_syscall_post_compat_14_msgctl(res, msqid, cmd, buf) \
1174 res, (long long)(msqid), (long long)(cmd), (long long)(buf))
1180 #define __sanitizer_syscall_pre_msgsnd(msqid, msgp, msgsz, msgflg) \
1181 __sanitizer_syscall_pre_impl_msgsnd((long long)(msqid), (long long)(msgp), \
1183 #define __sanitizer_syscall_post_msgsnd(res, msqid, msgp, msgsz, msgflg) \
1184 __sanitizer_syscall_post_impl_msgsnd(res, (long long)(msqid), \
1187 #define __sanitizer_syscall_pre_msgrcv(msqid, msgp, msgsz, msgtyp, msgflg) \
1188 __sanitizer_syscall_pre_impl_msgrcv((long long)(msqid), (lon
[all...]
H A Dlinux_syscall_hooks.h1284 #define __sanitizer_syscall_pre_msgsnd(msqid, msgp, msgsz, msgflg) \
1285 __sanitizer_syscall_pre_impl_msgsnd((long)(msqid), (long)(msgp), \
1287 #define __sanitizer_syscall_post_msgsnd(res, msqid, msgp, msgsz, msgflg) \
1288 __sanitizer_syscall_post_impl_msgsnd(res, (long)(msqid), (long)(msgp), \
1290 #define __sanitizer_syscall_pre_msgrcv(msqid, msgp, msgsz, msgtyp, msgflg) \
1291 __sanitizer_syscall_pre_impl_msgrcv((long)(msqid), (long)(msgp), \
1294 #define __sanitizer_syscall_post_msgrcv(res, msqid, msgp, msgsz, msgtyp, \
1296 __sanitizer_syscall_post_impl_msgrcv(res, (long)(msqid), (long)(msgp), \
1299 #define __sanitizer_syscall_pre_msgctl(msqid, cmd, buf) \
1300 __sanitizer_syscall_pre_impl_msgctl((long)(msqid), (lon
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdb/nat/
H A Dlinux-osdata.c1140 int msqid; local
1146 &key, &msqid, &perms, &cbytes, &qnum,
1173 "<column name=\"msqid\">%d</column>"
1188 msqid,
/netbsd-current/external/gpl3/gdb/dist/gdb/nat/
H A Dlinux-osdata.c1198 int msqid; local
1204 &key, &msqid, &perms, &cbytes, &qnum,
1231 "<column name=\"msqid\">%d</column>"
1246 msqid,

Completed in 314 milliseconds

12