Lines Matching refs:len
429 tres.len = 0;
829 t_call.opt.len = 0;
962 opt->len = sizeof (int);
965 optreq.opt.maxlen = optreq.opt.len =
996 xprt->xp_rtaddr.len = tcp->addr.len;
997 xprt->xp_rtaddr.maxlen = tcp->addr.len;
998 if ((xprt->xp_rtaddr.buf = malloc(tcp->addr.len)) == NULL)
1000 (void) memcpy(xprt->xp_rtaddr.buf, tcp->addr.buf, tcp->addr.len);
1030 if (tcp->opt.len > 0) {
1037 netptr->len = tcp->opt.len;
1038 netptr->maxlen = tcp->opt.len;
1039 if ((netptr->buf = malloc(tcp->opt.len)) == NULL)
1041 (void) memcpy(netptr->buf, tcp->opt.buf, tcp->opt.len);
1176 cb(xprt, (xprt->xp_rtaddr.len != 0));
1291 read_vc(SVCXPRT *xprt, caddr_t buf, int len)
1311 * Up to "len" bytes are requested.
1312 * If fewer than "len" bytes are received, the
1321 if ((len = t_rcvnonblock(xprt, buf, len)) >= 0) {
1322 if (len > 0) {
1325 return (len);
1351 if ((len = t_rcvall(fd, buf, len)) > 0) {
1352 return (len);
1364 * Requests up to "len" bytes of data.
1368 t_rcvnonblock(SVCXPRT *xprt, caddr_t buf, int len)
1374 res = t_rcv(fd, buf, (unsigned)len, &flag);
1491 t_rcvall(int fd, char *buf, int len)
1498 res = t_rcv(fd, buf, (unsigned)len, &flag);
1517 len -= res;
1518 } while (len && (flag & T_MORE));
1527 write_vc(SVCXPRT *xprt, caddr_t buf, int len)
1540 maxsz = len;
1542 if ((len = t_snd(xprt->xp_fd, buf, (unsigned)len,
1563 return (len);
1578 for (cnt = len, i = 0; cnt > 0; cnt -= i, buf += i) {
1625 return (len);