Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/uts/common/rpc/
H A Drpc_calmsg.c67 credrndup = RNDUP(cmsg->rm_call.cb_cred.oa_length); in xdr_callmsg()
68 verfrndup = RNDUP(cmsg->rm_call.cb_verf.oa_length); in xdr_callmsg()
127 buf = XDR_INLINE(xdrs, RNDUP(oa->oa_length)); in xdr_callmsg()
152 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.c180 len = RNDUP((int)(*int32p)); in xdrmem_control()
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Drpc_callmsg.c62 credrndup = RNDUP(cmsg->rm_call.cb_cred.oa_length); in xdr_callmsg()
63 verfrndup = RNDUP(cmsg->rm_call.cb_verf.oa_length); in xdr_callmsg()
127 buf = XDR_INLINE(xdrs, RNDUP(oa->oa_length)); in xdr_callmsg()
163 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.c136 RNDUP(rmsg->rm_reply.rp_acpt.ar_verf.oa_length)))) != NULL) { in xdr_replymsg()
205 buf = XDR_INLINE(xdrs, RNDUP(oa->oa_length)); in xdr_replymsg()
H A Dxdr_rec.c886 minreqrecsize = RNDUP(minreqrecsize); in __xdrrec_getbytes_nonblock()
949 minreqrecsize = RNDUP(minreqrecsize); in __xdrrec_getbytes_nonblock()
1132 return (RNDUP(s)); in fix_buf_size()
/illumos-gate/usr/src/uts/common/rpc/sec_gss/
H A Drpcsec_gss_utils.c112 cp += RNDUP(*(int *)cp) + sizeof (int);
133 plen = RNDUP(name->length) + sizeof (int);
138 (*principal)->len = RNDUP(name->length);
/illumos-gate/usr/src/lib/nsswitch/dns/common/
H A Dgethostent6.c76 #ifdef RNDUP
77 #undef RNDUP
79 #define RNDUP(x) ((1 + (((x)-1)/sizeof (void *))) * sizeof (void *)) macro
228 stringSize += RNDUP(strlen(h->h_aliases[aliasCount])+1); in cloneAliasList()
261 aliasList = PTROFF(aliasList, RNDUP(len+1)); in cloneAliasList()
/illumos-gate/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_srv_readdir.c543 mp = allocb(RNDUP(mpcount), BPRI_MED); in rfs4_op_readdir()
554 mp = allocb_wait(RNDUP(mpcount), BPRI_MED, in rfs4_op_readdir()
578 (uint32_t *)(((char *)ptr) + RNDUP(args->maxcount)); in rfs4_op_readdir()
581 (uint32_t *)((((char *)ptr) + RNDUP(mpcount)) - 128); in rfs4_op_readdir()
778 rndup = RNDUP(namelen) / BYTES_PER_XDR_UNIT; in rfs4_op_readdir()
1270 rndup = RNDUP(owner.utf8string_len) / in rfs4_op_readdir()
1320 rndup = RNDUP(group.utf8string_len) / in rfs4_op_readdir()
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 Dnfs_acl_xdr.c148 ptr = XDR_INLINE(xdrs, RNDUP(sizeof (GETACL2args))); in xdr_fastGETACL2args()
264 ptr = XDR_INLINE(xdrs, RNDUP(sizeof (GETATTR2args))); in xdr_fastGETATTR2args()
344 ptr = XDR_INLINE(xdrs, RNDUP(sizeof (ACCESS2args))); in xdr_fastACCESS2args()
/illumos-gate/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()
/illumos-gate/usr/src/lib/rpcsec_gss/
H A Drpcsec_gss_utils.c220 plen = RNDUP(name_buf.length) + sizeof (int); in __rpc_gss_get_principal_name()
227 (*principal)->len = RNDUP(name_buf.length); in __rpc_gss_get_principal_name()
H A Dsvc_rpcsec_gss.c353 plen = RNDUP(name->length) + sizeof (int); in __rpc_gss_make_principal()
358 (*principal)->len = RNDUP(name->length); in __rpc_gss_make_principal()
1083 if (sizeof (hdr) < (8 * BYTES_PER_XDR_UNIT + RNDUP(oa->oa_length))) in check_verf()
1096 len = RNDUP(oa->oa_length); in check_verf()
/illumos-gate/usr/src/uts/i86pc/dboot/
H A Ddboot_xboot.h66 #define RNDUP(x, y) (((x) + ((y) - 1ul)) & ~((y) - 1ul)) macro
H A Ddboot_startkern.c672 next_avail_addr = RNDUP(a + 1, MMU_PAGESIZE); in check_higher()
985 scratch_start = RNDUP((paddr_t)(uintptr_t)&local, MMU_PAGESIZE); in init_mem_alloc()
987 scratch_end = RNDUP((paddr_t)scratch_start + 512 * 1024, TWO_MEG); in init_mem_alloc()
2002 size = RNDUP(size, MMU_PAGESIZE); in do_mem_alloc()
2003 next_avail_addr = RNDUP(next_avail_addr, align); in do_mem_alloc()
2032 RNDUP(start, align) + size <= end) in do_mem_alloc()
2033 best = RNDUP(start, align); in do_mem_alloc()
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dtoken.c185 start = RNDUP(hsize); in __make_ap_token()
361 hsize = RNDUP(hsize); in __get_ap_token()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_rpc.c130 xdr_skip(RNDUP(getxdr_long())); /* Verf auth data */ in interpret_rpc()
150 xdr_skip(RNDUP(getxdr_long())); in interpret_rpc()
H A Dsnoop_rpcsec.c313 xdr_skip(RNDUP(getxdr_u_long())); in extract_rpcsec_gss_cred_info()
/illumos-gate/usr/src/lib/libidmap/common/
H A Dutils.c320 sendsz = RNDUP(sendsz / 2); in _idmap_clnt_connect()

12