Lines Matching refs:xdrp
230 nd_send_data(TIUSER *tiptr, caddr_t addr, int offset, XDR *xdrp, uint32_t *xidp) in nd_send_data() argument
262 xdrmem_create(xdrp, (caddr_t)header, HDR_SIZE, XDR_ENCODE); in nd_send_data()
267 if (!xdr_callhdr(xdrp, &call_msg)) { in nd_send_data()
287 if (!XDR_PUTINT32(xdrp, (int32_t *)&procnum) || in nd_send_data()
288 !nd_auth_marshall(xdrp) || in nd_send_data()
289 !xdr_fhandle(xdrp, &nfsdump_fhandle2) || in nd_send_data()
297 !XDR_PUTINT32(xdrp, (int32_t *)&offset) || in nd_send_data()
298 !XDR_PUTINT32(xdrp, (int32_t *)&offset) || in nd_send_data()
299 !XDR_PUTINT32(xdrp, (int32_t *)&tsize) || in nd_send_data()
300 !XDR_PUTINT32(xdrp, (int32_t *)&tsize)) { in nd_send_data()
308 if (!XDR_PUTINT32(xdrp, (int32_t *)&procnum) || in nd_send_data()
309 !nd_auth_marshall(xdrp) || in nd_send_data()
310 !xdr_nfs_fh3(xdrp, &nfsdump_fhandle3) || in nd_send_data()
318 !xdr_u_longlong_t(xdrp, &offset3) || in nd_send_data()
319 !XDR_PUTINT32(xdrp, (int32_t *)&tsize) || in nd_send_data()
320 !XDR_PUTINT32(xdrp, (int32_t *)&stable) || in nd_send_data()
321 !XDR_PUTINT32(xdrp, (int32_t *)&tsize)) { in nd_send_data()
332 mblk_p->b_wptr += (int)XDR_GETPOS(xdrp); in nd_send_data()
358 nd_get_reply(TIUSER *tiptr, XDR *xdrp, uint32_t call_xid, int *badmsg) in nd_get_reply() argument
400 xdrmblk_init(xdrp, rudata.udata.udata_mp, XDR_DECODE, 0); in nd_get_reply()
413 XDR_DESTROY(xdrp); in nd_get_reply()
417 if (!xdr_replymsg(xdrp, &reply_msg)) { in nd_get_reply()
418 XDR_DESTROY(xdrp); in nd_get_reply()
424 XDR_DESTROY(xdrp); in nd_get_reply()
432 XDR_DESTROY(xdrp); in nd_get_reply()
441 XDR_DESTROY(xdrp); in nd_get_reply()
448 XDR_DESTROY(xdrp); in nd_get_reply()
454 XDR_DESTROY(xdrp); in nd_get_reply()
460 xdrp->x_op = XDR_FREE; in nd_get_reply()
461 (void) xdr_opaque_auth(xdrp, &(reply_msg.acpted_rply.ar_verf)); in nd_get_reply()
464 XDR_DESTROY(xdrp); in nd_get_reply()
507 nd_auth_marshall(XDR *xdrp) in nd_auth_marshall() argument
516 ptr = XDR_INLINE(xdrp, 4 + 4 + credsize + 4 + 4); in nd_auth_marshall()