Searched refs:txdr_unsigned (Results 1 – 13 of 13) sorted by relevance
157 sdata->prog = txdr_unsigned(prog); in krpc_portmap()158 sdata->vers = txdr_unsigned(vers); in krpc_portmap()159 sdata->proto = txdr_unsigned(IPPROTO_UDP); in krpc_portmap()284 call->rp_xid = txdr_unsigned(xid); in krpc_call()286 call->rp_rpcvers = txdr_unsigned(2); in krpc_call()287 call->rp_prog = txdr_unsigned(prog); in krpc_call()288 call->rp_vers = txdr_unsigned(vers); in krpc_call()289 call->rp_proc = txdr_unsigned(func); in krpc_call()291 call->rpc_auth.authtype = txdr_unsigned(RPCAUTH_UNIX); in krpc_call()292 call->rpc_auth.authlen = txdr_unsigned(sizeof(struct auth_unix)); in krpc_call()[all …]
165 *tl++ = *xidp = txdr_unsigned(xid); in nfsm_rpchead()168 *tl++ = txdr_unsigned(NFS_PROG); in nfsm_rpchead()170 *tl++ = txdr_unsigned(NFS_VER3); in nfsm_rpchead()172 *tl++ = txdr_unsigned(NFS_VER2); in nfsm_rpchead()174 *tl++ = txdr_unsigned(procid); in nfsm_rpchead()176 *tl++ = txdr_unsigned(nfsv2_procid[procid]); in nfsm_rpchead()181 *tl++ = txdr_unsigned(auth_type); in nfsm_rpchead()182 *tl = txdr_unsigned(authsiz); in nfsm_rpchead()188 *tl++ = txdr_unsigned(cr->cr_uid); in nfsm_rpchead()189 *tl++ = txdr_unsigned(cr->cr_groups[0]); in nfsm_rpchead()[all …]
569 rpc_vers = txdr_unsigned(RPC_VER2); in nfs_init()570 rpc_call = txdr_unsigned(RPC_CALL); in nfs_init()571 rpc_reply = txdr_unsigned(RPC_REPLY); in nfs_init()572 rpc_msgdenied = txdr_unsigned(RPC_MSGDENIED); in nfs_init()573 rpc_msgaccepted = txdr_unsigned(RPC_MSGACCEPTED); in nfs_init()574 rpc_mismatch = txdr_unsigned(RPC_MISMATCH); in nfs_init()575 rpc_autherr = txdr_unsigned(RPC_AUTHERR); in nfs_init()576 rpc_auth_unix = txdr_unsigned(RPCAUTH_UNIX); in nfs_init()577 rpc_auth_kerb = txdr_unsigned(RPCAUTH_KERB4); in nfs_init()578 nfs_prog = txdr_unsigned(NFS_PROG); in nfs_init()[all …]
266 *tl = txdr_unsigned(nfsmode); in nfsrv3_access()776 *tl = txdr_unsigned(len); in nfsrv_readlink()979 *tl++ = txdr_unsigned(cnt); in nfsrv_read()985 *tl = txdr_unsigned(cnt); in nfsrv_read()1180 *tl++ = txdr_unsigned(retlen); in nfsrv_write()1185 *tl++ = txdr_unsigned(stable); in nfsrv_write()1187 *tl++ = txdr_unsigned(NFSV3WRITE_FILESYNC); in nfsrv_write()1195 *tl++ = txdr_unsigned(nfsver.tv_sec); in nfsrv_write()1196 *tl = txdr_unsigned(nfsver.tv_nsec / 1000); in nfsrv_write()1477 *tl++ = txdr_unsigned(nfsd->nd_len); in nfsrv_writegather()[all …]
228 txdr_unsigned(((t) == VFIFO) ? MAKEIMODE(VCHR, (m)) : \230 #define vtonfsv3_mode(m) txdr_unsigned((m) & ALLPERMS)232 #define vtonfsv2_type(a) txdr_unsigned(nfsv2_type[((int32_t)(a))])233 #define vtonfsv3_type(a) txdr_unsigned(nfsv3_type[((int32_t)(a))])
282 *tl = txdr_unsigned(wmode); in nfs3_access_otw()932 sp->sa_uid = txdr_unsigned(vap->va_uid); in nfs_setattrrpc()936 sp->sa_gid = txdr_unsigned(vap->va_gid); in nfs_setattrrpc()937 sp->sa_size = txdr_unsigned(vap->va_size); in nfs_setattrrpc()1406 *(tl + 2) = txdr_unsigned(len); in nfs_readrpc_uio()1408 *tl++ = txdr_unsigned(uiop->uio_offset); in nfs_readrpc_uio()1409 *tl++ = txdr_unsigned(len); in nfs_readrpc_uio()1491 *tl++ = txdr_unsigned(len); in nfs_writerpc_uio()1492 *tl++ = txdr_unsigned(*iomode); in nfs_writerpc_uio()1493 *tl = txdr_unsigned(len); in nfs_writerpc_uio()[all …]
1358 *(tl + 2) = txdr_unsigned(len); in nfs_readrpc_bio()1360 *tl++ = txdr_unsigned(bio->bio_offset); in nfs_readrpc_bio()1361 *tl++ = txdr_unsigned(len); in nfs_readrpc_bio()1501 *tl++ = txdr_unsigned(len); in nfs_writerpc_bio()1502 *tl++ = txdr_unsigned(iomode); in nfs_writerpc_bio()1503 *tl = txdr_unsigned(len); in nfs_writerpc_bio()1509 x = txdr_unsigned((u_int32_t)offset); in nfs_writerpc_bio()1512 x = txdr_unsigned(len); in nfs_writerpc_bio()1705 *tl = txdr_unsigned(bp->b_dirtyend - bp->b_dirtyoff); in nfs_commitrpc_bio()
1612 *tl++ = txdr_unsigned(nd->nd_retxid); in nfs_rephead()1618 *tl = txdr_unsigned(err & ~NFSERR_AUTHERR); in nfs_rephead()1623 *tl++ = txdr_unsigned(RPC_VER2); in nfs_rephead()1624 *tl = txdr_unsigned(RPC_VER2); in nfs_rephead()1657 *tl++ = txdr_unsigned(3 * NFSX_UNSIGNED); in nfs_rephead()1661 *tl++ = txdr_unsigned(nuidp->nu_cr.cr_uid); in nfs_rephead()1672 *tl = txdr_unsigned(RPC_PROGUNAVAIL); in nfs_rephead()1675 *tl = txdr_unsigned(RPC_PROGMISMATCH); in nfs_rephead()1677 *tl++ = txdr_unsigned(2); in nfs_rephead()1678 *tl = txdr_unsigned(3); in nfs_rephead()[all …]
53 #define txdr_unsigned(v) (htonl((int32_t)(v))) macro
1116 *nickp++ = txdr_unsigned(RPCAKN_NICKNAME); in nfs_getnickauth()1117 *nickp = txdr_unsigned(nuidp->nu_nickname); in nfs_getnickauth()1125 *verfp++ = txdr_unsigned(RPCAKN_NICKNAME); in nfs_getnickauth()
237 *mtod(m, u_int32_t *) = txdr_unsigned(*fhsizep); in md_lookup_swap()
1196 ifctx->call.xid = txdr_unsigned(ifctx->xid); in bootpc_compose_query()
236 txdr_unsigned(((t) == VFIFO) ? MAKEIMODE(VCHR, (m)) : \238 #define vtonfsv3_mode(m) txdr_unsigned((m) & 07777)240 #define vtonfsv2_type(a) txdr_unsigned(nfsv2_type[((int32_t)(a))])241 #define vtonfsv3_type(a) txdr_unsigned(nfsv3_type[((int32_t)(a))])