/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | msgsys.c | 52 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 D | msgsys.c | 54 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 D | libnwam_events.c | 65 * 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 D | ipcs.c | 461 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 D | ipc.c | 175 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 D | msg.c | 666 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 D | scalls.c | 795 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))
|