Searched refs:rndup (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/common/rpc/
H A Drpc_prot.c146 uint_t rndup; local
151 (buf = XDR_INLINE(xdrs, 6 * BYTES_PER_XDR_UNIT + (rndup =
163 if ((rndup = (rndup - oa->oa_length)) > 0) {
164 bzero(buf, rndup);
165 buf = (int32_t *)(((caddr_t)buf) + rndup);
261 uint_t rndup; local
268 if ((buf = XDR_INLINE(xdrs, 6 * BYTES_PER_XDR_UNIT + (rndup =
280 if ((rndup = (rndup
[all...]
H A Dxdr.c409 uint_t rndup; local
421 rndup = cnt % BYTES_PER_XDR_UNIT;
422 if (rndup != 0)
423 rndup = BYTES_PER_XDR_UNIT - rndup;
429 if (rndup == 0)
431 return (XDR_GETBYTES(xdrs, (caddr_t)crud, rndup));
438 if (rndup == 0)
440 return (XDR_PUTBYTES(xdrs, xdr_zero, rndup));
H A Dclnt_rdma.c588 rdma_buf_t rndup; local
614 bzero(&rndup, sizeof (rndup));
878 status = clnt_setup_wlist(conn, rdmahdr_o_xdrs, call_xdrp, &rndup);
1168 if (rndup.rb_private) {
1169 rdma_buf_free(conn, &rndup);
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dxdr.c382 uint_t rndup; local
394 rndup = cnt % BYTES_PER_XDR_UNIT;
395 if ((int)rndup > 0)
396 rndup = BYTES_PER_XDR_UNIT - rndup;
402 if (rndup == 0)
404 return (XDR_GETBYTES(xdrs, crud, rndup));
408 if (rndup == 0)
410 return (XDR_PUTBYTES(xdrs, (caddr_t)&xdr_zero[0], rndup));
H A Drpc_prot.c134 uint_t rndup; local
139 (buf = XDR_INLINE(xdrs, 6 * BYTES_PER_XDR_UNIT + (rndup =
153 if ((rndup = (rndup - oa->oa_length)) > 0) {
154 (void) memset((caddr_t)buf, 0, rndup);
156 buf = (rpc_inline_t *)(((caddr_t)buf) + rndup);
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_readdir.c420 uint32_t rndup; local
792 rndup = RNDUP(namelen) / BYTES_PER_XDR_UNIT;
795 if ((ptr + (1 + rndup)) > ptr_redzone) {
803 ptr[rndup - 1] = 0;
807 ptr += rndup;
1259 rndup = RNDUP(owner.utf8string_len) /
1261 ptr[rndup - 1] = 0;
1265 ptr += rndup;
1316 rndup = RNDUP(group.utf8string_len) /
1318 ptr[rndup
[all...]
H A Dnfs_xdr.c539 int i, rndup; local
544 rndup = BYTES_PER_XDR_UNIT -
546 if (rndup != BYTES_PER_XDR_UNIT)
547 for (i = 0; i < rndup; i++)
896 int rndup; local
979 rndup = BYTES_PER_XDR_UNIT -
981 if (rndup != BYTES_PER_XDR_UNIT) {
983 for (i = 0; i < rndup; i++)

Completed in 54 milliseconds