Lines Matching refs:buf

45   int32_t *buf;  in xdr_callmsg()  local
58 buf = XDR_INLINE (xdrs, 8 * BYTES_PER_XDR_UNIT in xdr_callmsg()
62 if (buf != NULL) in xdr_callmsg()
64 (void) IXDR_PUT_LONG (buf, cmsg->rm_xid); in xdr_callmsg()
65 (void) IXDR_PUT_ENUM (buf, cmsg->rm_direction); in xdr_callmsg()
68 (void) IXDR_PUT_LONG (buf, cmsg->rm_call.cb_rpcvers); in xdr_callmsg()
71 (void) IXDR_PUT_LONG (buf, cmsg->rm_call.cb_prog); in xdr_callmsg()
72 (void) IXDR_PUT_LONG (buf, cmsg->rm_call.cb_vers); in xdr_callmsg()
73 (void) IXDR_PUT_LONG (buf, cmsg->rm_call.cb_proc); in xdr_callmsg()
75 (void) IXDR_PUT_ENUM (buf, oa->oa_flavor); in xdr_callmsg()
76 (void) IXDR_PUT_INT32 (buf, oa->oa_length); in xdr_callmsg()
79 memcpy ((caddr_t) buf, oa->oa_base, oa->oa_length); in xdr_callmsg()
80 buf = (int32_t *) ((char *) buf + RNDUP (oa->oa_length)); in xdr_callmsg()
83 (void) IXDR_PUT_ENUM (buf, oa->oa_flavor); in xdr_callmsg()
84 (void) IXDR_PUT_INT32 (buf, oa->oa_length); in xdr_callmsg()
87 memcpy ((caddr_t) buf, oa->oa_base, oa->oa_length); in xdr_callmsg()
97 buf = XDR_INLINE (xdrs, 8 * BYTES_PER_XDR_UNIT); in xdr_callmsg()
98 if (buf != NULL) in xdr_callmsg()
100 cmsg->rm_xid = IXDR_GET_LONG (buf); in xdr_callmsg()
101 cmsg->rm_direction = IXDR_GET_ENUM (buf, enum msg_type); in xdr_callmsg()
106 cmsg->rm_call.cb_rpcvers = IXDR_GET_LONG (buf); in xdr_callmsg()
111 cmsg->rm_call.cb_prog = IXDR_GET_LONG (buf); in xdr_callmsg()
112 cmsg->rm_call.cb_vers = IXDR_GET_LONG (buf); in xdr_callmsg()
113 cmsg->rm_call.cb_proc = IXDR_GET_LONG (buf); in xdr_callmsg()
115 oa->oa_flavor = IXDR_GET_ENUM (buf, enum_t); in xdr_callmsg()
116 oa->oa_length = IXDR_GET_INT32 (buf); in xdr_callmsg()
126 buf = XDR_INLINE (xdrs, RNDUP (oa->oa_length)); in xdr_callmsg()
127 if (buf == NULL) in xdr_callmsg()
135 memcpy (oa->oa_base, (caddr_t) buf, oa->oa_length); in xdr_callmsg()
143 buf = XDR_INLINE (xdrs, 2 * BYTES_PER_XDR_UNIT); in xdr_callmsg()
144 if (buf == NULL) in xdr_callmsg()
154 oa->oa_flavor = IXDR_GET_ENUM (buf, enum_t); in xdr_callmsg()
155 oa->oa_length = IXDR_GET_INT32 (buf); in xdr_callmsg()
166 buf = XDR_INLINE (xdrs, RNDUP (oa->oa_length)); in xdr_callmsg()
167 if (buf == NULL) in xdr_callmsg()
175 memcpy (oa->oa_base, (caddr_t) buf, oa->oa_length); in xdr_callmsg()