Home
last modified time | relevance | path

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

/freebsd/sys/kern/
H A Dsysv_msg.c317 int msqid; in msgunload() local
327 for (msqid = 0; msqid < msginfo.msgmni; msqid++) { in msgunload()
341 for (msqid = 0; msqid < msginfo.msgmni; msqid++) in msgunload()
473 int msqid; member
481 int msqid = uap->msqid; in sys_msgctl() local
645 int msqid, error = 0; in sys_msgget() local
658 for (msqid = 0; msqid < msginfo.msgmni; msqid++) { in sys_msgget()
692 for (msqid = 0; msqid < msginfo.msgmni; msqid++) { in sys_msgget()
760 int msqid; member
1128 int msqid; member
[all …]
H A Dsystrace_args.c1092 iarg[a++] = p->msqid; /* int */ in systrace_args()
1102 iarg[a++] = p->msqid; /* int */ in systrace_args()
2790 iarg[a++] = p->msqid; /* int */ in systrace_args()
/freebsd/tests/sys/audit/
H A Dinter-process.c50 static int msqid, shmid, semid; variable
76 "msgget.*return,success,%d", msqid); in ATF_TC_BODY()
80 ATF_REQUIRE_EQ(0, msgctl(msqid, IPC_RMID, NULL)); in ATF_TC_BODY()
136 ATF_REQUIRE_EQ(0, msgctl(msqid, IPC_RMID, NULL)); in ATF_TC_BODY()
188 ATF_REQUIRE((recv_bytes = msgrcv(msqid, &msg2, in ATF_TC_BODY()
196 ATF_REQUIRE_EQ(0, msgctl(msqid, IPC_RMID, NULL)); in ATF_TC_BODY()
239 ATF_REQUIRE_EQ(0, msgctl(msqid, IPC_RMID, NULL)); in ATF_TC_BODY()
242 "msgctl.*IPC_RMID.*%d.*return,success", msqid); in ATF_TC_BODY()
341 "msgctl.*IPC_SET.*%d.*return,success", msqid); in ATF_TC_BODY()
389 ATF_REQUIRE_EQ(-1, msgctl(msqid, -1, &msgbuff)); in ATF_TC_BODY()
[all …]
/freebsd/tools/regression/sysvmsg/
H A Dmsgtest.c303 int msqid; in receiver() local
305 if ((msqid = msgget(msgkey, 0)) == -1) in receiver()
312 if (msgrcv(msqid, &m, sizeof(m.mtext), MTYPE_1, 0) != in receiver()
322 if (msgsnd(msqid, &m, strlen(m1_str) + 1, 0) == -1) in receiver()
329 if (msgrcv(msqid, &m, sizeof(m.mtext), MTYPE_2, 0) != in receiver()
339 if (msgsnd(msqid, &m, strlen(m2_str) + 1, 0) == -1) in receiver()
/freebsd/contrib/netbsd-tests/kernel/
H A Dt_sysv.c346 int msqid, loop; in receiver() local
348 if ((msqid = msgget(msgkey, 0)) == -1) in receiver()
355 if (msgrcv(msqid, &m, MESSAGE_TEXT_LEN, MTYPE_1, 0) != MESSAGE_TEXT_LEN) in receiver()
364 if (msgsnd(msqid, &m, MESSAGE_TEXT_LEN, 0) == -1) in receiver()
371 if (msgrcv(msqid, &m, MESSAGE_TEXT_LEN, MTYPE_2, 0) != MESSAGE_TEXT_LEN) in receiver()
380 if (msgsnd(msqid, &m, MESSAGE_TEXT_LEN, 0) == -1) in receiver()
/freebsd/contrib/llvm-project/compiler-rt/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.h1294 #define __sanitizer_syscall_pre_msgsnd(msqid, msgp, msgsz, msgflg) \ argument
1295 __sanitizer_syscall_pre_impl_msgsnd((long)(msqid), (long)(msgp), \
1297 #define __sanitizer_syscall_post_msgsnd(res, msqid, msgp, msgsz, msgflg) \ argument
1298 __sanitizer_syscall_post_impl_msgsnd(res, (long)(msqid), (long)(msgp), \
1310 __sanitizer_syscall_pre_impl_msgctl((long)(msqid), (long)(cmd), (long)(buf))
2747 void __sanitizer_syscall_pre_impl_msgsnd(long msqid, long msgp, long msgsz,
2749 void __sanitizer_syscall_post_impl_msgsnd(long res, long msqid, long msgp,
2751 void __sanitizer_syscall_pre_impl_msgrcv(long msqid, long msgp, long msgsz,
2753 void __sanitizer_syscall_post_impl_msgrcv(long res, long msqid, long msgp,
2755 void __sanitizer_syscall_pre_impl_msgctl(long msqid, long cmd, long buf);
[all …]
/freebsd/sys/amd64/linux32/
H A Dlinux32_machdep.c160 a.msqid = args->arg1; in linux_ipc()
169 a.msqid = args->arg1; in linux_ipc()
199 a.msqid = args->arg1; in linux_ipc()
H A Dlinux32_systrace_args.c2947 iarg[a++] = p->msqid; /* l_int */ in systrace_args()
2957 iarg[a++] = p->msqid; /* l_int */ in systrace_args()
2968 iarg[a++] = p->msqid; /* l_int */ in systrace_args()
H A Dlinux32_proto.h1518 char msqid_l_[PADL_(l_int)]; l_int msqid; char msqid_r_[PADR_(l_int)]; member
1524 char msqid_l_[PADL_(l_int)]; l_int msqid; char msqid_r_[PADR_(l_int)]; member
1531 char msqid_l_[PADL_(l_int)]; l_int msqid; char msqid_r_[PADR_(l_int)]; member
/freebsd/sys/i386/linux/
H A Dlinux_machdep.c144 a.msqid = args->arg1; in linux_ipc()
153 a.msqid = args->arg1; in linux_ipc()
183 a.msqid = args->arg1; in linux_ipc()
H A Dlinux_systrace_args.c2978 iarg[a++] = p->msqid; /* l_int */ in systrace_args()
2988 iarg[a++] = p->msqid; /* l_int */ in systrace_args()
2999 iarg[a++] = p->msqid; /* l_int */ in systrace_args()
H A Dlinux_proto.h1512 char msqid_l_[PADL_(l_int)]; l_int msqid; char msqid_r_[PADR_(l_int)]; member
1518 char msqid_l_[PADL_(l_int)]; l_int msqid; char msqid_r_[PADR_(l_int)]; member
1525 char msqid_l_[PADL_(l_int)]; l_int msqid; char msqid_r_[PADR_(l_int)]; member
/freebsd/sys/compat/linux/
H A Dlinux_ipc.c658 return (kern_msgsnd(td, args->msqid, in linux_msgsnd()
674 if ((error = kern_msgrcv(td, args->msqid, in linux_msgrcv()
755 error = kern_msgctl(td, args->msqid, bsd_cmd, &bsd_msqid); in linux_msgctl()
/freebsd/lib/libsys/
H A D_libsys.h590 int __sys_msgsnd(int msqid, const void * msgp, size_t msgsz, int msgflg);
591 ssize_t __sys_msgrcv(int msqid, void * msgp, size_t msgsz, long msgtyp, int msgflg);
789 int __sys_msgctl(int msqid, int cmd, struct msqid_ds * buf);
/freebsd/sys/compat/freebsd32/
H A Dfreebsd32_proto.h172 char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; member
178 char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; member
529 char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; member
1034 char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; member
H A Dfreebsd32_systrace_args.c1069 iarg[a++] = p->msqid; /* int */ in systrace_args()
1079 iarg[a++] = p->msqid; /* int */ in systrace_args()
2679 iarg[a++] = p->msqid; /* int */ in systrace_args()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc2268 PRE_SYSCALL(msgsnd)(long msqid, void *msgp, long msgsz, long msgflg) {
2274 (long res, long msqid, void *msgp, long msgsz, long msgflg) {}
2277 (long msqid, void *msgp, long msgsz, long msgtyp, long msgflg) {}
2280 (long res, long msqid, void *msgp, long msgsz, long msgtyp, long msgflg) {
2288 PRE_SYSCALL(msgctl)(long msqid, long cmd, void *buf) {}
2290 POST_SYSCALL(msgctl)(long res, long msqid, long cmd, void *buf) {
H A Dsanitizer_common_interceptors.inc3264 INTERCEPTOR(int, msgsnd, int msqid, const void *msgp, SIZE_T msgsz,
3267 COMMON_INTERCEPTOR_ENTER(ctx, msgsnd, msqid, msgp, msgsz, msgflg);
3270 int res = REAL(msgsnd)(msqid, msgp, msgsz, msgflg);
3274 INTERCEPTOR(SSIZE_T, msgrcv, int msqid, void *msgp, SIZE_T msgsz,
3277 COMMON_INTERCEPTOR_ENTER(ctx, msgrcv, msqid, msgp, msgsz, msgtyp, msgflg);
3278 SSIZE_T len = REAL(msgrcv)(msqid, msgp, msgsz, msgtyp, msgflg);
/freebsd/sys/arm64/linux/
H A Dlinux_systrace_args.c1472 iarg[a++] = p->msqid; /* l_int */ in systrace_args()
1481 iarg[a++] = p->msqid; /* l_int */ in systrace_args()
1492 iarg[a++] = p->msqid; /* l_int */ in systrace_args()
H A Dlinux_proto.h716 char msqid_l_[PADL_(l_int)]; l_int msqid; char msqid_r_[PADR_(l_int)]; member
721 char msqid_l_[PADL_(l_int)]; l_int msqid; char msqid_r_[PADR_(l_int)]; member
728 char msqid_l_[PADL_(l_int)]; l_int msqid; char msqid_r_[PADR_(l_int)]; member
/freebsd/sys/amd64/linux/
H A Dlinux_systrace_args.c615 iarg[a++] = p->msqid; /* l_int */ in systrace_args()
625 iarg[a++] = p->msqid; /* l_int */ in systrace_args()
636 iarg[a++] = p->msqid; /* l_int */ in systrace_args()
H A Dlinux_proto.h337 char msqid_l_[PADL_(l_int)]; l_int msqid; char msqid_r_[PADR_(l_int)]; member
343 char msqid_l_[PADL_(l_int)]; l_int msqid; char msqid_r_[PADR_(l_int)]; member
350 char msqid_l_[PADL_(l_int)]; l_int msqid; char msqid_r_[PADR_(l_int)]; member
/freebsd/sys/sys/
H A Dsysproto.h594 char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; member
600 char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; member
1502 char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; member
2606 char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; member