Lines Matching defs:msglen
129 static int vdc_send(vdc_t *vdc, caddr_t pkt, size_t *msglen);
1628 size_t msglen = sizeof (pkt);
1651 status = vdc_send(vdc, (caddr_t)&pkt, &msglen);
1654 if ((status != 0) || (msglen != sizeof (vio_ver_msg_t))) {
1657 vdc->curr_server->ldc_handle, status, msglen);
1658 if (msglen != sizeof (vio_ver_msg_t))
1724 size_t msglen = sizeof (pkt);
1746 status = vdc_send(vdc, (caddr_t)&pkt, &msglen);
1749 if ((status != 0) || (msglen != sizeof (vd_attr_msg_t))) {
1752 vdc->curr_server->ldc_handle, status, msglen);
1753 if (msglen != sizeof (vd_attr_msg_t))
1820 size_t msglen = sizeof (pkt);
1857 status = vdc_send(vdc, (caddr_t)&pkt, &msglen);
1928 size_t msglen = sizeof (vio_msg_t);
1939 status = vdc_send(vdcp, (caddr_t)&msg, &msglen);
2153 * msglen - the size of the message being sent. When the function
2158 * EINVAL - pkt or msglen were NULL
2164 vdc_send(vdc_t *vdc, caddr_t pkt, size_t *msglen)
2172 ASSERT(msglen != NULL);
2173 ASSERT(*msglen != 0);
2185 size = *msglen;
2218 *msglen = size;
3072 size_t msglen;
3166 msglen = sizeof (dmsg);
3167 rv = vdc_send(vdcp, (caddr_t)&dmsg, &msglen);
3435 size_t msglen;
3445 msglen = sizeof (dmsg);
3447 &msglen);
3456 if ((rv == 0) && (msglen == 0)) {