Home
last modified time | relevance | path

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

/NextBSD/sys/kern/
HDsysv_msg.c270 int msqid; in msgunload() local
280 for (msqid = 0; msqid < msginfo.msgmni; msqid++) { in msgunload()
287 msqkptr = &msqids[msqid]; in msgunload()
292 if (msqid != msginfo.msgmni) in msgunload()
298 for (msqid = 0; msqid < msginfo.msgmni; msqid++) in msgunload()
299 mac_sysvmsq_destroy(&msqids[msqid]); in msgunload()
371 int msqid; member
381 int msqid = uap->msqid; local
386 DPRINTF(("call to msgctl(%d, %d, %p)\n", msqid, cmd, uap->buf));
390 error = kern_msgctl(td, msqid, cmd, &msqbuf);
[all …]
HDsystrace_args.c1161 iarg[0] = p->msqid; /* int */ in systrace_args()
1171 iarg[0] = p->msqid; /* int */ in systrace_args()
3098 iarg[0] = p->msqid; /* int */ in systrace_args()
/NextBSD/tools/regression/sysvmsg/
HDmsgtest.c304 int msqid; in receiver() local
306 if ((msqid = msgget(msgkey, 0)) == -1) in receiver()
313 if (msgrcv(msqid, &m, sizeof(m.mtext), MTYPE_1, 0) != in receiver()
323 if (msgsnd(msqid, &m, strlen(m1_str) + 1, 0) == -1) in receiver()
330 if (msgrcv(msqid, &m, sizeof(m.mtext), MTYPE_2, 0) != in receiver()
340 if (msgsnd(msqid, &m, strlen(m2_str) + 1, 0) == -1) in receiver()
/NextBSD/sys/i386/ibcs2/
HDibcs2_ipc.c126 int msqid; member
141 error = kern_msgctl(td, uap->msqid, IPC_STAT, &bs); in ibcs2_msgctl()
152 return (kern_msgctl(td, uap->msqid, IPC_SET, &bs)); in ibcs2_msgctl()
154 return (kern_msgctl(td, uap->msqid, IPC_RMID, NULL)); in ibcs2_msgctl()
161 int msqid; member
174 ap.msqid = uap->msqid; in ibcs2_msgrcv()
184 int msqid; member
196 ap.msqid = uap->msqid; in ibcs2_msgsnd()
/NextBSD/sys/compat/svr4/
HDsvr4_ipc.c377 int msqid; member
391 ap.msqid = uap->msqid;
401 int msqid; member
416 ap.msqid = uap->msqid;
447 int msqid; member
464 error = kern_msgctl(td, uap->msqid, IPC_STAT, &bs);
475 return (kern_msgctl(td, uap->msqid, IPC_SET, &bs));
478 return (kern_msgctl(td, uap->msqid, IPC_RMID, NULL));
/NextBSD/sys/compat/linux/
HDlinux_ipc.h89 l_int msqid; member
102 l_int msqid; member
111 l_int msqid; member
HDlinux_ipc.c620 return (kern_msgsnd(td, args->msqid, in linux_msgsnd()
636 if ((error = kern_msgrcv(td, args->msqid, in linux_msgrcv()
716 error = kern_msgctl(td, args->msqid, bsd_cmd, &bsd_msqid); in linux_msgctl()
/NextBSD/contrib/netbsd-tests/kernel/
HDt_sysv.c387 int msqid, loop; in receiver() local
389 if ((msqid = msgget(msgkey, 0)) == -1) in receiver()
396 if (msgrcv(msqid, &m, MESSAGE_TEXT_LEN, MTYPE_1, 0) != MESSAGE_TEXT_LEN) in receiver()
405 if (msgsnd(msqid, &m, MESSAGE_TEXT_LEN, 0) == -1) in receiver()
412 if (msgrcv(msqid, &m, MESSAGE_TEXT_LEN, MTYPE_2, 0) != MESSAGE_TEXT_LEN) in receiver()
421 if (msgsnd(msqid, &m, MESSAGE_TEXT_LEN, 0) == -1) in receiver()
/NextBSD/contrib/compiler-rt/include/sanitizer/
HDlinux_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), \
1292 #define __sanitizer_syscall_pre_msgrcv(msqid, msgp, msgsz, msgtyp, msgflg) \ argument
1293 __sanitizer_syscall_pre_impl_msgrcv((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
1302 __sanitizer_syscall_pre_impl_msgctl((long)(msqid), (long)(cmd), (long)(buf))
[all …]
/NextBSD/sys/i386/linux/
HDlinux_machdep.c166 a.msqid = args->arg1; in linux_ipc()
175 a.msqid = args->arg1; in linux_ipc()
205 a.msqid = args->arg1; in linux_ipc()
/NextBSD/sys/amd64/linux32/
HDlinux32_machdep.c287 a.msqid = args->arg1; in linux_ipc()
296 a.msqid = args->arg1; in linux_ipc()
326 a.msqid = args->arg1; in linux_ipc()
/NextBSD/sys/compat/freebsd32/
HDfreebsd32_proto.h193 char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; member
199 char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; member
585 char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; member
1080 char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; member
HDfreebsd32_systrace_args.c1131 iarg[0] = p->msqid; /* int */ in systrace_args()
1141 iarg[0] = p->msqid; /* int */ in systrace_args()
2956 iarg[0] = p->msqid; /* int */ in systrace_args()
/NextBSD/contrib/compiler-rt/lib/sanitizer_common/
HDsanitizer_common_syscalls.inc2075 PRE_SYSCALL(msgsnd)(long msqid, void *msgp, long msgsz, long msgflg) {
2079 POST_SYSCALL(msgsnd)(long res, long msqid, void *msgp, long msgsz,
2082 PRE_SYSCALL(msgrcv)(long msqid, void *msgp, long msgsz, long msgtyp,
2085 POST_SYSCALL(msgrcv)(long res, long msqid, void *msgp, long msgsz, long msgtyp,
2093 PRE_SYSCALL(msgctl)(long msqid, long cmd, void *buf) {}
2095 POST_SYSCALL(msgctl)(long res, long msqid, long cmd, void *buf) {
/NextBSD/sys/amd64/linux/
HDlinux_systrace_args.c616 iarg[0] = p->msqid; /* l_int */ in systrace_args()
626 iarg[0] = p->msqid; /* l_int */ in systrace_args()
637 iarg[0] = p->msqid; /* l_int */ in systrace_args()
HDlinux_proto.h324 char msqid_l_[PADL_(l_int)]; l_int msqid; char msqid_r_[PADR_(l_int)]; member
330 char msqid_l_[PADL_(l_int)]; l_int msqid; char msqid_r_[PADR_(l_int)]; member
337 char msqid_l_[PADL_(l_int)]; l_int msqid; char msqid_r_[PADR_(l_int)]; member
/NextBSD/sys/sys/
HDsysproto.h632 char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; member
638 char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; member
1659 char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; member
2806 char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; member