/illumos-gate/usr/src/uts/common/rpc/ |
H A D | rpc_calmsg.c | 67 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 D | rpc_prot.c | 152 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 D | xdr_mem.c | 180 len = RNDUP((int)(*int32p)); in xdrmem_control()
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | rpc_callmsg.c | 62 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 D | svc_auth_loopb.c | 85 str_len = RNDUP(str_len); in __svcauth_loopback()
|
H A D | svc_auth_sys.c | 97 str_len = RNDUP(str_len); in __svcauth_sys()
|
H A D | rpc_prot.c | 136 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 D | xdr_rec.c | 886 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 D | rpcsec_gss_utils.c | 112 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 D | gethostent6.c | 76 #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 D | nfs_xdr.c | 75 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 D | nfs4_srv_readdir.c | 543 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 D | nfs4_attr.c | 357 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 D | nfs_acl_xdr.c | 148 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 D | auth_kern.c | 141 rounded_namelen = RNDUP(namelen); in authkern_marshal() 153 RNDUP(MAX_MACHINE_NAME) <= MAX_AUTH_BYTES); in authkern_marshal()
|
H A D | auth_loopb.c | 144 rounded_namelen = RNDUP(namelen); in authloopback_marshal() 155 CTASSERT(NFIELDS * BYTES_PER_XDR_UNIT + RNDUP(MAX_MACHINE_NAME) <= in authloopback_marshal()
|
H A D | svc_authu.c | 104 str_len = RNDUP(str_len); in _svcauth_unix()
|
/illumos-gate/usr/src/lib/rpcsec_gss/ |
H A D | rpcsec_gss_utils.c | 220 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 D | svc_rpcsec_gss.c | 353 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 D | dboot_xboot.h | 66 #define RNDUP(x, y) (((x) + ((y) - 1ul)) & ~((y) - 1ul)) macro
|
H A D | dboot_startkern.c | 672 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 D | token.c | 185 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 D | snoop_rpc.c | 130 xdr_skip(RNDUP(getxdr_long())); /* Verf auth data */ in interpret_rpc() 150 xdr_skip(RNDUP(getxdr_long())); in interpret_rpc()
|
H A D | snoop_rpcsec.c | 313 xdr_skip(RNDUP(getxdr_u_long())); in extract_rpcsec_gss_cred_info()
|
/illumos-gate/usr/src/lib/libidmap/common/ |
H A D | utils.c | 320 sendsz = RNDUP(sendsz / 2); in _idmap_clnt_connect()
|