Home
last modified time | relevance | path

Searched refs:RNDUP (Results 1 – 25 of 47) sorted by relevance

12

/titanic_41/usr/src/uts/common/rpc/
H A Drpc_calmsg.c67 RNDUP(cmsg->rm_call.cb_cred.oa_length) + in xdr_callmsg()
69 RNDUP(cmsg->rm_call.cb_verf.oa_length)); in xdr_callmsg()
86 buf += RNDUP(oa->oa_length) / sizeof (int32_t); in xdr_callmsg()
118 buf = XDR_INLINE(xdrs, RNDUP(oa->oa_length)); in xdr_callmsg()
143 buf = XDR_INLINE(xdrs, RNDUP(oa->oa_length)); in xdr_callmsg()
H A Drpc_prot.c152 RNDUP(rmsg->rm_reply.rp_acpt.ar_verf.oa_length)))) != NULL) { in xdr_replymsg()
215 buf = XDR_INLINE(xdrs, RNDUP(oa->oa_length)); in xdr_replymsg()
269 RNDUP(rmsg->rm_reply.rp_acpt.ar_verf.oa_length)))) != NULL) { in xdr_replymsg_hdr()
H A Dxdr_mem.c182 len = RNDUP((int)(*int32p)); in xdrmem_control()
/titanic_41/usr/src/lib/libnsl/rpc/
H A Drpc_callmsg.c62 + RNDUP(cmsg->rm_call.cb_cred.oa_length) in xdr_callmsg()
64 + RNDUP(cmsg->rm_call.cb_verf.oa_length)); in xdr_callmsg()
81 buf += RNDUP(oa->oa_length) / sizeof (int32_t); in xdr_callmsg()
125 buf = XDR_INLINE(xdrs, RNDUP(oa->oa_length)); in xdr_callmsg()
162 buf = XDR_INLINE(xdrs, RNDUP(oa->oa_length)); in xdr_callmsg()
H A Dsvc_auth_loopb.c85 str_len = RNDUP(str_len); in __svcauth_loopback()
H A Dsvc_auth_sys.c97 str_len = RNDUP(str_len); in __svcauth_sys()
H A Drpc_prot.c140 RNDUP(rmsg->rm_reply.rp_acpt.ar_verf.oa_length)))) != NULL) { in xdr_replymsg()
210 buf = XDR_INLINE(xdrs, RNDUP(oa->oa_length)); in xdr_replymsg()
H A Dxdr_rec.c888 minreqrecsize = RNDUP(minreqrecsize); in __xdrrec_getbytes_nonblock()
951 minreqrecsize = RNDUP(minreqrecsize); in __xdrrec_getbytes_nonblock()
1134 return (RNDUP(s)); in fix_buf_size()
/titanic_41/usr/src/uts/common/rpc/sec_gss/
H A Drpcsec_gss_utils.c114 cp += RNDUP(*(int *)cp) + sizeof (int);
135 plen = RNDUP(name->length) + sizeof (int);
140 (*principal)->len = RNDUP(name->length);
/titanic_41/usr/src/lib/nsswitch/dns/common/
H A Dgethostent6.c78 #ifdef RNDUP
79 #undef RNDUP
81 #define RNDUP(x) ((1 + (((x)-1)/sizeof (void *))) * sizeof (void *)) macro
230 stringSize += RNDUP(strlen(h->h_aliases[aliasCount])+1); in cloneAliasList()
263 aliasList = PTROFF(aliasList, RNDUP(len+1)); in cloneAliasList()
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs_xdr.c75 ptr = XDR_INLINE(xdrs, RNDUP(sizeof (fhandle_t))); in xdr_fhandle()
111 ptr = XDR_INLINE(xdrs, RNDUP(sizeof (fhandle_t))); in xdr_fastfhandle()
132 ptr = XDR_INLINE(xdrs, RNDUP(sizeof (fhandle_t)) + in xdr_writeargs()
214 ptr = XDR_INLINE(xdrs, RNDUP(sizeof (fhandle_t)) + in xdr_writeargs()
392 RNDUP(sizeof (fhandle_t)) + 3 * BYTES_PER_XDR_UNIT); in xdr_readargs()
682 RNDUP(sizeof (fhandle_t)) + 2 * BYTES_PER_XDR_UNIT); in xdr_rddirargs()
901 ptr = XDR_INLINE(xdrs, RNDUP(sizeof (fhandle_t)) + in xdr_diropargs()
925 ptr = XDR_INLINE(xdrs, RNDUP(size)); in xdr_diropargs()
965 ptr = XDR_INLINE(xdrs, (int)(RNDUP(sizeof (fhandle_t)) + in xdr_diropargs()
966 1 * BYTES_PER_XDR_UNIT + RNDUP(size))); in xdr_diropargs()
[all …]
H A Dnfs4_attr.c357 RNDUP(na[attrcnt].owner.utf8string_len); in vattr_to_fattr4()
362 RNDUP( in vattr_to_fattr4()
371 xdr_size += RNDUP((vsap->vsa_aclcnt * in vattr_to_fattr4()
380 RNDUP(tmpacl[j].who.utf8string_len); in vattr_to_fattr4()
H A Dnfs4_srv_readdir.c559 mp = allocb(RNDUP(mpcount), BPRI_MED); in rfs4_op_readdir()
570 mp = allocb_wait(RNDUP(mpcount), BPRI_MED, in rfs4_op_readdir()
594 (uint32_t *)(((char *)ptr) + RNDUP(args->maxcount)); in rfs4_op_readdir()
597 (uint32_t *)((((char *)ptr) + RNDUP(mpcount)) - 128); in rfs4_op_readdir()
795 rndup = RNDUP(namelen) / BYTES_PER_XDR_UNIT; in rfs4_op_readdir()
1262 rndup = RNDUP(owner.utf8string_len) / in rfs4_op_readdir()
1319 rndup = RNDUP(group.utf8string_len) / in rfs4_op_readdir()
H A Dnfs_acl_xdr.c151 ptr = XDR_INLINE(xdrs, RNDUP(sizeof (GETACL2args))); in xdr_fastGETACL2args()
267 ptr = XDR_INLINE(xdrs, RNDUP(sizeof (GETATTR2args))); in xdr_fastGETATTR2args()
347 ptr = XDR_INLINE(xdrs, RNDUP(sizeof (ACCESS2args))); in xdr_fastACCESS2args()
/titanic_41/usr/src/uts/common/rpc/sec/
H A Dauth_kern.c141 rounded_namelen = RNDUP(namelen); in authkern_marshal()
153 RNDUP(MAX_MACHINE_NAME) <= MAX_AUTH_BYTES); in authkern_marshal()
H A Dauth_loopb.c144 rounded_namelen = RNDUP(namelen); in authloopback_marshal()
155 CTASSERT(NFIELDS * BYTES_PER_XDR_UNIT + RNDUP(MAX_MACHINE_NAME) <= in authloopback_marshal()
H A Dsvc_authu.c104 str_len = RNDUP(str_len); in _svcauth_unix()
/titanic_41/usr/src/uts/i86pc/dboot/
H A Ddboot_xboot.h68 #define RNDUP(x, y) ((x) + ((y) - 1ul) & ~((y) - 1ul)) macro
H A Ddboot_startkern.c714 scratch_start = RNDUP((paddr_t)(uintptr_t)&local, MMU_PAGESIZE); in init_mem_alloc()
716 scratch_end = RNDUP((paddr_t)scratch_start + 512 * 1024, TWO_MEG); in init_mem_alloc()
1066 next_avail_addr = RNDUP(a + 1, MMU_PAGESIZE); in check_higher()
1231 size = RNDUP(size, MMU_PAGESIZE); in do_mem_alloc()
1232 next_avail_addr = RNDUP(next_avail_addr, align); in do_mem_alloc()
1261 RNDUP(start, align) + size <= end) in do_mem_alloc()
1262 best = RNDUP(start, align); in do_mem_alloc()
/titanic_41/usr/src/lib/rpcsec_gss/
H A Drpcsec_gss_utils.c222 plen = RNDUP(name_buf.length) + sizeof (int); in __rpc_gss_get_principal_name()
229 (*principal)->len = RNDUP(name_buf.length); in __rpc_gss_get_principal_name()
/titanic_41/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dtoken.c187 start = RNDUP(hsize); in __make_ap_token()
363 hsize = RNDUP(hsize); in __get_ap_token()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_rpc.c129 xdr_skip(RNDUP(getxdr_long())); /* Verf auth data */ in interpret_rpc()
149 xdr_skip(RNDUP(getxdr_long())); in interpret_rpc()
H A Dsnoop_rpcsec.c314 xdr_skip(RNDUP(getxdr_u_long())); in extract_rpcsec_gss_cred_info()
/titanic_41/usr/src/lib/libbc/inc/include/rpc/
H A Dxdr.h82 #define RNDUP(x) ((((x) + BYTES_PER_XDR_UNIT - 1) / BYTES_PER_XDR_UNIT) \ macro
/titanic_41/usr/src/lib/libidmap/common/
H A Dutils.c320 sendsz = RNDUP(sendsz / 2); in _idmap_clnt_connect()

12