/titanic_50/usr/src/lib/libbc/libc/sys/common/ |
H A D | msgsys.c | 52 msgctl(int msqid, int cmd, struct msqid_ds *buf) in msgctl() argument 54 return (_syscall(SYS_msgsys, MSGCTL, msqid, cmd, buf)); in msgctl() 58 msgrcv(int msqid, struct msgbuf *msgp, int msgsz, long msgtyp, int msgflg) in msgrcv() argument 61 msqid, msgp, msgsz, msgtyp, msgflg)); in msgrcv() 65 msgsnd(int msqid, struct msgbuf *msgp, int msgsz, int msgflg) in msgsnd() argument 68 msqid, msgp, msgsz, msgflg)); in msgsnd() 78 int msqid, cmd; in msgsys() local 92 msqid = va_arg(ap, int); in msgsys() 96 return (msgctl(msqid, cmd, buf)); in msgsys() 98 msqid = va_arg(ap, int); in msgsys() [all …]
|
/titanic_50/usr/src/lib/libc/port/sys/ |
H A D | msgsys.c | 54 msgctl(int msqid, int cmd, struct msqid_ds *buf) in msgctl() argument 61 return (syscall(SYS_msgsys, MSGCTL, msqid, cmd, buf)); in msgctl() 65 msgctl64(int msqid, int cmd, struct msqid_ds64 *buf) in msgctl64() argument 72 return (syscall(SYS_msgsys, MSGCTL, msqid, cmd, buf)); in msgctl64() 76 __msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg) in __msgrcv() argument 87 error = __systemcall(&rval, SYS_msgsys, MSGRCV, msqid, in __msgrcv() 93 return ((ssize_t)syscall(SYS_msgsys, MSGRCV, msqid, in __msgrcv() 98 __msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg) in __msgsnd() argument 104 error = __systemcall(&rval, SYS_msgsys, MSGSND, msqid, in __msgsnd() 110 return (syscall(SYS_msgsys, MSGSND, msqid, msgp, msgsz, msgflg)); in __msgsnd() [all …]
|
/titanic_50/usr/src/cmd/mdb/common/modules/ipc/ |
H A D | ipc.c | 175 msq_print(kmsqid_t *msqid, uintptr_t addr) in msq_print() argument 181 " qmax: 0t%lu\n", msqid->msg_cbytes, msqid->msg_qnum, in msq_print() 182 msqid->msg_qbytes, msqid->msg_qmax); in msq_print() 184 (int)msqid->msg_lspid, (int)msqid->msg_lrpid); in msq_print() 185 printtime_nice("stime: ", msqid->msg_stime); in msq_print() 186 printtime_nice("rtime: ", msqid->msg_rtime); in msq_print() 187 printtime_nice("ctime: ", msqid->msg_ctime); in msq_print() 189 msqid->msg_snd_cnt, msqid->msg_snd_cv._opaque, in msq_print() 194 total += msgq_check_for_waiters(&msqid->msg_cpy_block, in msq_print() 196 total += msgq_check_for_waiters(msqid->msg_wait_snd_ngt, in msq_print() [all …]
|
/titanic_50/usr/src/lib/libnwam/common/ |
H A D | libnwam_events.c | 229 int msqid; in nwam_event_send() local 257 if ((msqid = msgget(key, 0644)) == -1) { in nwam_event_send() 266 if (msgctl(msqid, IPC_STAT, &buf) == -1) { in nwam_event_send() 290 if (msgsnd(msqid, (struct msgbuf *)event, event->nwe_size, in nwam_event_send() 315 int msqid; in nwam_event_queue_fini() local 318 (msqid = msgget(key, 0644)) != -1 && in nwam_event_queue_fini() 319 msgctl(msqid, IPC_RMID, NULL) != -1) in nwam_event_queue_fini()
|
/titanic_50/usr/src/uts/common/os/ |
H A D | msg.c | 666 msgrcv(int msqid, struct ipcmsgbuf *msgp, size_t msgsz, long msgtyp, int msgflg) in msgrcv() argument 680 if ((lock = ipc_lookup(msq_svc, msqid, (kipc_perm_t **)&qp)) == NULL) { in msgrcv() 968 msgsnap(int msqid, caddr_t buf, size_t bufsz, long msgtyp) in msgsnap() argument 987 if ((lock = ipc_lookup(msq_svc, msqid, (kipc_perm_t **)&qp)) == NULL) in msgsnap() 1094 msgsnd(int msqid, struct ipcmsgbuf *msgp, size_t msgsz, int msgflg) in msgsnd() argument 1147 if ((lock = ipc_lookup(msq_svc, msqid, (kipc_perm_t **)&qp)) == NULL) { in msgsnd()
|
/titanic_50/usr/src/cmd/ipcs/ |
H A D | ipcs.c | 461 dumpmsgq(int msqid) in dumpmsgq() argument 478 if (msgsnap(msqid, buf, bufsize, mtype) != 0) { in dumpmsgq()
|
/titanic_50/usr/src/lib/libc/port/threads/ |
H A D | scalls.c | 795 msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg) in msgrcv() argument 800 PERFORM(__msgrcv(msqid, msgp, msgsz, msgtyp, msgflg)) in msgrcv() 804 msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg) in msgsnd() argument 809 PERFORM(__msgsnd(msqid, msgp, msgsz, msgflg)) in msgsnd()
|
/titanic_50/usr/src/lib/libc/port/ |
H A D | llib-lc | 1372 int msgctl(int msqid, int cmd, struct msqid_ds *buf); 1373 ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); 1374 int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg);
|