Lines Matching defs:xdrs
139 * xdrrec_create fills in xdrs. Sendsize and recvsize are
150 xdrrec_create(XDR *xdrs, const uint_t sendsize, const uint_t recvsize,
191 xdrs->x_ops = xdrrec_ops();
192 xdrs->x_private = (caddr_t)rstrm;
234 xdrrec_getint32(XDR *xdrs, int32_t *ip)
237 RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
258 if (!xdrrec_getbytes(xdrs, (caddr_t)&mylong, sizeof (int32_t)))
266 xdrrec_putint32(XDR *xdrs, int32_t *ip)
269 RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
291 xdrrec_getlong(XDR *xdrs, long *lp)
295 if (!xdrrec_getint32(xdrs, &i))
302 xdrrec_putlong(XDR *xdrs, long *lp)
313 return (xdrrec_putint32(xdrs, &i));
317 xdrrec_getbytes(XDR *xdrs, caddr_t addr, int len)
320 RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
343 xdrrec_putbytes(XDR *xdrs, caddr_t addr, int len)
346 RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
374 xdrrec_readbytes(XDR *xdrs, caddr_t addr, uint_t l)
377 RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
401 xdrrec_getpos(XDR *xdrs)
404 RECSTREAM *rstrm = (RECSTREAM *)xdrs->x_private;
409 switch (xdrs->x_op) {
427 xdrrec_setpos(XDR *xdrs, uint_t pos)
430 RECSTREAM *rstrm = (RECSTREAM *)xdrs->x_private;
431 uint_t currpos = xdrrec_getpos(xdrs);
436 switch (xdrs->x_op) {
462 xdrrec_inline(XDR *xdrs, int len)
465 RECSTREAM *rstrm = (RECSTREAM *)xdrs->x_private;
468 switch (xdrs->x_op) {
499 xdrrec_destroy(XDR *xdrs)
502 RECSTREAM *rstrm = (RECSTREAM *)xdrs->x_private;
519 xdrrec_skiprecord(XDR *xdrs)
522 RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
532 if (__xdrrec_getbytes_nonblock(xdrs, &pstat) ||
557 xdrrec_eof(XDR *xdrs)
560 RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
588 xdrrec_endofrecord(XDR *xdrs, bool_t sendnow)
591 RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
780 __xdrrec_set_conn_nonblock(XDR *xdrs, uint32_t tcp_maxrecsz)
783 RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
829 __xdrrec_getbytes_nonblock(XDR *xdrs, enum xprt_stat *pstat)
832 RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
1093 __is_xdrrec_first(XDR *xdrs)
1096 RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
1101 __xdrrec_setfirst(XDR *xdrs)
1104 RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
1119 __xdrrec_resetfirst(XDR *xdrs)
1122 RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
1140 xdrrec_control(XDR *xdrs, int request, void *info)
1143 RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);