Searched defs:msqid (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dmsgsys.c52 msgctl(int msqid, int cmd, struct msqid_ds *buf) argument
54 return (_syscall(SYS_msgsys, MSGCTL, msqid, cmd, buf));
58 msgrcv(int msqid, struct msgbuf *msgp, int msgsz, long msgtyp, int msgflg) argument
61 msqid, msgp, msgsz, msgtyp, msgflg));
65 msgsnd(int msqid, struct msgbuf *msgp, int msgsz, int msgflg) argument
68 msqid, msgp, msgsz, msgflg));
78 int msqid, cmd; local
92 msqid = va_arg(ap, int);
96 return (msgctl(msqid, cmd, buf));
98 msqid
[all...]
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dmsgsys.c54 msgctl(int msqid, int cmd, struct msqid_ds *buf) argument
61 return (syscall(SYS_msgsys, MSGCTL, msqid, cmd, buf));
65 msgctl64(int msqid, int cmd, struct msqid_ds64 *buf) argument
72 return (syscall(SYS_msgsys, MSGCTL, msqid, cmd, buf));
76 __msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg) argument
87 error = __systemcall(&rval, SYS_msgsys, MSGRCV, msqid,
93 return ((ssize_t)syscall(SYS_msgsys, MSGRCV, msqid,
98 __msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg) argument
104 error = __systemcall(&rval, SYS_msgsys, MSGSND, msqid,
110 return (syscall(SYS_msgsys, MSGSND, msqid, msg
120 msgsnap(int msqid, void *buf, size_t bufsz, long msgtyp) argument
[all...]
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_events.c65 * This is protecting simultaneous access to the msqid and its configuration.
229 int msqid; local
257 if ((msqid = msgget(key, 0644)) == -1) {
266 if (msgctl(msqid, IPC_STAT, &buf) == -1) {
290 if (msgsnd(msqid, (struct msgbuf *)event, event->nwe_size,
315 int msqid; local
318 (msqid = msgget(key, 0644)) != -1 &&
319 msgctl(msqid, IPC_RMID, NULL) != -1)
/illumos-gate/usr/src/cmd/ipcs/
H A Dipcs.c461 dumpmsgq(int msqid) argument
478 if (msgsnap(msqid, buf, bufsize, mtype) != 0) {
481 * read permission on msqid or msqid was deleted.
/illumos-gate/usr/src/cmd/mdb/common/modules/ipc/
H A Dipc.c175 msq_print(kmsqid_t *msqid, uintptr_t addr) argument
181 " qmax: 0t%lu\n", msqid->msg_cbytes, msqid->msg_qnum,
182 msqid->msg_qbytes, msqid->msg_qmax);
184 (int)msqid->msg_lspid, (int)msqid->msg_lrpid);
185 printtime_nice("stime: ", msqid->msg_stime);
186 printtime_nice("rtime: ", msqid->msg_rtime);
187 printtime_nice("ctime: ", msqid
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dmsg.c666 msgrcv(int msqid, struct ipcmsgbuf *msgp, size_t msgsz, long msgtyp, int msgflg) argument
680 if ((lock = ipc_lookup(msq_svc, msqid, (kipc_perm_t **)&qp)) == NULL) {
968 msgsnap(int msqid, caddr_t buf, size_t bufsz, long msgtyp) argument
987 if ((lock = ipc_lookup(msq_svc, msqid, (kipc_perm_t **)&qp)) == NULL)
1094 msgsnd(int msqid, struct ipcmsgbuf *msgp, size_t msgsz, int msgflg) argument
1147 if ((lock = ipc_lookup(msq_svc, msqid, (kipc_perm_t **)&qp)) == NULL) {
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dscalls.c795 msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg) argument
800 PERFORM(__msgrcv(msqid, msgp, msgsz, msgtyp, msgflg))
804 msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg) argument
809 PERFORM(__msgsnd(msqid, msgp, msgsz, msgflg))

Completed in 83 milliseconds