Home
last modified time | relevance | path

Searched refs:msgsz (Results 1 – 14 of 14) sorted by relevance

/titanic_44/usr/src/uts/common/ktli/
H A Dt_ksndudat.c67 int msgsz; in t_ksndudata() local
77 msgsz = unitdata->udata.len; in t_ksndudata()
91 (size_t)msgsz, BPRI_LO, frtn)) == NULL) in t_ksndudata()
96 KTLILOG(2, "len %d, ", msgsz); in t_ksndudata()
101 while (!(dbp = allocb(msgsz, BPRI_LO))) in t_ksndudata()
102 if (strwaitbuf((size_t)msgsz, BPRI_LO)) in t_ksndudata()
124 dbp->b_wptr += msgsz; /* on behalf of the user */ in t_ksndudata()
130 msgsz = (int)TUNITDATAREQSZ; in t_ksndudata()
143 while (!(bp = allocb_cred(msgsz + unitdata->addr.len + in t_ksndudata()
145 if (strwaitbuf(msgsz + unitdata->addr.len + unitdata->opt.len, in t_ksndudata()
[all …]
H A Dt_kconnect.c72 int msgsz; in t_kconnect() local
85 msgsz = (int)TCONNREQSZ; in t_kconnect()
98 while (!(bp = allocb_cred(msgsz + sndcall->addr.len + sndcall->opt.len, in t_kconnect()
100 if (strwaitbuf(msgsz + sndcall->addr.len + sndcall->opt.len, in t_kconnect()
112 bcopy(sndcall->addr.buf, (bp->b_wptr+msgsz), sndcall->addr.len); in t_kconnect()
113 creq->DEST_offset = (t_scalar_t)msgsz; in t_kconnect()
114 msgsz += sndcall->addr.len; in t_kconnect()
119 bcopy(sndcall->opt.buf, (bp->b_wptr+msgsz), sndcall->opt.len); in t_kconnect()
120 creq->OPT_offset = (t_scalar_t)msgsz; in t_kconnect()
121 msgsz += sndcall->opt.len; in t_kconnect()
[all …]
H A Dt_kutil.c116 int msgsz; in get_ok_ack() local
130 if ((msgsz = (int)MBLKL(bp)) < sizeof (int)) { in get_ok_ack()
138 if (msgsz < TOKACKSZ || pptr->ok_ack.CORRECT_prim != type) in get_ok_ack()
143 if (msgsz < TERRORACKSZ) { in get_ok_ack()
/titanic_44/usr/src/lib/libbc/libc/sys/common/
H A Dmsgsys.c58 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()
81 int msgsz; in msgsys() local
100 msgsz = va_arg(ap, int); in msgsys()
104 return (msgrcv(msqid, msgp, msgsz, msgtyp, msgflg)); in msgsys()
108 msgsz = va_arg(ap, int); in msgsys()
111 return (msgsnd(msqid, msgp, msgsz, msgflg)); in msgsys()
/titanic_44/usr/src/lib/libc/port/sys/
H A Dmsgsys.c76 __msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg) in __msgrcv() argument
78 if (msgsz > INT_MAX) { in __msgrcv()
88 msgp, msgsz, msgtyp, msgflg); in __msgrcv()
94 msgp, msgsz, msgtyp, msgflg)); in __msgrcv()
98 __msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg) in __msgsnd() argument
100 if (msgsz > INT_MAX) { in __msgsnd()
105 msgp, msgsz, msgflg); in __msgsnd()
110 return (syscall(SYS_msgsys, MSGSND, msqid, msgp, msgsz, msgflg)); in __msgsnd()
/titanic_44/usr/src/uts/common/os/
H A Dmsg.c666 msgrcv(int msqid, struct ipcmsgbuf *msgp, size_t msgsz, long msgtyp, int msgflg) in msgrcv() argument
710 error = msg_copyout(qp, msgtyp, &lock, &xtsz, msgsz, in msgrcv()
805 size_t msgsz, struct msg *smp, struct ipcmsgbuf *msgp, int msgflg) in msg_copyout() argument
813 if (msgsz < smp->msg_size) { in msg_copyout()
817 xtsz = msgsz; in msg_copyout()
1094 msgsnd(int msqid, struct ipcmsgbuf *msgp, size_t msgsz, int msgflg) in msgsnd() argument
1128 if (msgsz <= MSG_PREALLOC_LIMIT) { in msgsnd()
1136 mp->msg_size = msgsz; in msgsnd()
1137 if (msgsz) { in msgsnd()
1138 mp->msg_addr = kmem_alloc(msgsz, KM_SLEEP); in msgsnd()
[all …]
/titanic_44/usr/src/cmd/picl/plugins/sun4v/lib/snmp/
H A Dpdu.c189 size_t msgsz = reply_pktsz; in snmp_parse_reply() local
202 if ((p = asn_parse_sequence(reply_pkt, &msgsz, exp_id)) == NULL) { in snmp_parse_reply()
210 if ((p = asn_parse_int(p, &msgsz, &reply_pdu->version)) == NULL) { in snmp_parse_reply()
223 p = asn_parse_string(p, &msgsz, &reply_pdu->community, in snmp_parse_reply()
233 if ((p = snmp_parse_pdu(reqid, p, &msgsz, reply_pdu)) == NULL) { in snmp_parse_reply()
H A Dsnmplib.c1089 ssize_t msgsz; in snmp_recv_reply() local
1103 msgsz = recvfrom(smd->fd, pkt, SNMP_MAX_RECV_PKTSZ, 0, in snmp_recv_reply()
1105 if (msgsz < 0 || msgsz >= SNMP_MAX_RECV_PKTSZ) { in snmp_recv_reply()
1110 pktsz = (size_t)msgsz; in snmp_recv_reply()
/titanic_44/usr/src/uts/common/rpc/
H A Dsvc_clts.c430 int msgsz; in svc_clts_ksend() local
507 msgsz = (int)xmsgsize(ud->ud_resp->b_cont); in svc_clts_ksend()
509 if (msgsz <= 0 || (clone_xprt->xp_msg_size != -1 && in svc_clts_ksend()
510 msgsz > clone_xprt->xp_msg_size)) { in svc_clts_ksend()
514 msgsz, clone_xprt->xp_msg_size); in svc_clts_ksend()
H A Dclnt_clts.c2007 int msgsz; in clnt_clts_dispatch_send() local
2027 msgsz = (int)TUNITDATAREQSZ; in clnt_clts_dispatch_send()
2032 while (!(bp = allocb_cred(msgsz + addr->len, cr, NOPID))) { in clnt_clts_dispatch_send()
2033 if (strwaitbuf(msgsz + addr->len, BPRI_LO)) in clnt_clts_dispatch_send()
2042 bcopy(addr->buf, bp->b_wptr + msgsz, addr->len); in clnt_clts_dispatch_send()
2043 udreq->DEST_offset = (t_scalar_t)msgsz; in clnt_clts_dispatch_send()
2044 msgsz += addr->len; in clnt_clts_dispatch_send()
2051 bp->b_wptr += msgsz; in clnt_clts_dispatch_send()
/titanic_44/usr/src/lib/libc/port/threads/
H A Dscalls.c795 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_44/usr/src/cmd/truss/
H A Dexpound.c2246 show_msgbuf(private_t *pri, long offset, long msgsz) in show_msgbuf() argument
2254 if (msgsz > MYBUFSIZ / 4) in show_msgbuf()
2261 (long)(offset + sizeof (msgb.mtype)), msgsz); in show_msgbuf()
2264 if (msgsz > MYBUFSIZ / 4) in show_msgbuf()
2271 show_msgbuf32(private_t *pri, long offset, long msgsz) in show_msgbuf32() argument
2279 if (msgsz > MYBUFSIZ / 4) in show_msgbuf32()
2286 (long)(offset + sizeof (msgb.mtype)), msgsz); in show_msgbuf32()
2289 if (msgsz > MYBUFSIZ / 4) in show_msgbuf32()
2297 show_msgsys(private_t *pri, long msgsz) in show_msgsys() argument
2330 show_msgbuf(pri, pri->sys_args[2], msgsz); in show_msgsys()
[all …]
/titanic_44/usr/src/uts/sun4v/io/
H A Dds_common.c1565 int msgsz; in ds_handle_data() local
1580 msgsz = len - hdrsz; in ds_handle_data()
1583 msg = (msgsz) ? (buf + hdrsz) : NULL; in ds_handle_data()
1603 DS_DUMP_MSG(DS_DBG_FLAG_PRCL, msg, msgsz); in ds_handle_data()
1606 (*svc->ops.ds_data_cb)(svc->ops.cb_arg, msg, msgsz); in ds_handle_data()
/titanic_44/usr/src/lib/libc/port/
H A Dllib-lc1369 ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg);
1370 int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg);