/illumos-gate/usr/src/uts/common/ktli/ |
H A D | t_kconnect.c | 72 int msgsz; local 85 msgsz = (int)TCONNREQSZ; 98 while (!(bp = allocb_cred(msgsz + sndcall->addr.len + sndcall->opt.len, 100 if (strwaitbuf(msgsz + sndcall->addr.len + sndcall->opt.len, 112 bcopy(sndcall->addr.buf, (bp->b_wptr+msgsz), sndcall->addr.len); 113 creq->DEST_offset = (t_scalar_t)msgsz; 114 msgsz += sndcall->addr.len; 119 bcopy(sndcall->opt.buf, (bp->b_wptr+msgsz), sndcall->opt.len); 120 creq->OPT_offset = (t_scalar_t)msgsz; 121 msgsz [all...] |
H A D | t_ksndudat.c | 67 int msgsz; local 77 msgsz = unitdata->udata.len; 91 (size_t)msgsz, BPRI_LO, frtn)) == NULL) 96 KTLILOG(2, "len %d, ", msgsz); 101 while (!(dbp = allocb(msgsz, BPRI_LO))) 102 if (strwaitbuf((size_t)msgsz, BPRI_LO)) 124 dbp->b_wptr += msgsz; /* on behalf of the user */ 130 msgsz = (int)TUNITDATAREQSZ; 143 while (!(bp = allocb_cred(msgsz + unitdata->addr.len + 145 if (strwaitbuf(msgsz [all...] |
H A D | t_kutil.c | 116 int msgsz; local 130 if ((msgsz = (int)MBLKL(bp)) < sizeof (int)) { 138 if (msgsz < TOKACKSZ || pptr->ok_ack.CORRECT_prim != type) 143 if (msgsz < TERRORACKSZ) {
|
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | msgsys.c | 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)); 81 int msgsz; local 100 msgsz = va_arg(ap, int); 104 return (msgrcv(msqid, msgp, msgsz, msgtyp, msgflg)); 108 msgsz = va_arg(ap, int); 111 return (msgsnd(msqid, msgp, msgsz, msgflg));
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | msgsys.c | 76 __msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg) argument 78 if (msgsz > INT_MAX) { 88 msgp, msgsz, msgtyp, msgflg); 94 msgp, msgsz, msgtyp, msgflg)); 98 __msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg) argument 100 if (msgsz > INT_MAX) { 105 msgp, msgsz, msgflg); 110 return (syscall(SYS_msgsys, MSGSND, msqid, msgp, msgsz, msgflg));
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/lib/snmp/ |
H A D | pdu.c | 189 size_t msgsz = reply_pktsz; local 202 if ((p = asn_parse_sequence(reply_pkt, &msgsz, exp_id)) == NULL) { 210 if ((p = asn_parse_int(p, &msgsz, &reply_pdu->version)) == NULL) { 223 p = asn_parse_string(p, &msgsz, &reply_pdu->community, 233 if ((p = snmp_parse_pdu(reqid, p, &msgsz, reply_pdu)) == NULL) {
|
H A D | snmplib.c | 1089 ssize_t msgsz; local 1103 msgsz = recvfrom(smd->fd, pkt, SNMP_MAX_RECV_PKTSZ, 0, 1105 if (msgsz < 0 || msgsz >= SNMP_MAX_RECV_PKTSZ) { 1110 pktsz = (size_t)msgsz;
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | svc_clts.c | 433 int msgsz; local 514 msgsz = (int)xmsgsize(ud->ud_resp->b_cont); 516 if (msgsz <= 0 || (clone_xprt->xp_msg_size != -1 && 517 msgsz > clone_xprt->xp_msg_size)) { 521 msgsz, clone_xprt->xp_msg_size);
|
H A D | clnt_clts.c | 2021 int msgsz; local 2041 msgsz = (int)TUNITDATAREQSZ; 2046 while (!(bp = allocb_cred(msgsz + addr->len, cr, NOPID))) { 2047 if (strwaitbuf(msgsz + addr->len, BPRI_LO)) 2056 bcopy(addr->buf, bp->b_wptr + msgsz, addr->len); 2057 udreq->DEST_offset = (t_scalar_t)msgsz; 2058 msgsz += addr->len; 2065 bp->b_wptr += msgsz;
|
/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 710 error = msg_copyout(qp, msgtyp, &lock, &xtsz, msgsz, 805 size_t msgsz, struct msg *smp, struct ipcmsgbuf *msgp, int msgflg) 813 if (msgsz < smp->msg_size) { 817 xtsz = msgsz; 1094 msgsnd(int msqid, struct ipcmsgbuf *msgp, size_t msgsz, int msgflg) argument 1128 if (msgsz <= MSG_PREALLOC_LIMIT) { 1136 mp->msg_size = msgsz; 1137 if (msgsz) { 1138 mp->msg_addr = kmem_alloc(msgsz, KM_SLEE 804 msg_copyout(kmsqid_t *qp, long msgtyp, kmutex_t **lock, size_t *xtsz_ret, size_t msgsz, struct msg *smp, struct ipcmsgbuf *msgp, int msgflg) argument [all...] |
/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))
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | ds_common.c | 1565 int msgsz; local 1580 msgsz = len - hdrsz; 1583 msg = (msgsz) ? (buf + hdrsz) : NULL; 1603 DS_DUMP_MSG(DS_DBG_FLAG_PRCL, msg, msgsz); 1606 (*svc->ops.ds_data_cb)(svc->ops.cb_arg, msg, msgsz);
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | expound.c | 2262 show_msgbuf(private_t *pri, long offset, long msgsz) argument 2270 if (msgsz > MYBUFSIZ / 4) 2277 (long)(offset + sizeof (msgb.mtype)), msgsz); 2280 if (msgsz > MYBUFSIZ / 4) 2287 show_msgbuf32(private_t *pri, long offset, long msgsz) argument 2295 if (msgsz > MYBUFSIZ / 4) 2302 (long)(offset + sizeof (msgb.mtype)), msgsz); 2305 if (msgsz > MYBUFSIZ / 4) 2313 show_msgsys(private_t *pri, long msgsz) argument 2346 show_msgbuf(pri, pri->sys_args[2], msgsz); 2369 show_msgsys(private_t *pri, long msgsz) argument [all...] |