| /components/dfs/dfs_v1/filesystems/nfs/ |
| A D | nfs_xdr.c | 30 if (!xdr_longlong_t(xdrs, objp)) in xdr_int64() 38 if (!xdr_u_long(xdrs, objp)) in xdr_uint32() 46 if (!xdr_long(xdrs, objp)) in xdr_int32() 70 if (!xdr_uint64(xdrs, objp)) in xdr_fileid3() 78 if (!xdr_uint64(xdrs, objp)) in xdr_cookie3() 110 if (!xdr_uint32(xdrs, objp)) in xdr_uid3() 118 if (!xdr_uint32(xdrs, objp)) in xdr_gid3() 126 if (!xdr_uint64(xdrs, objp)) in xdr_size3() 134 if (!xdr_uint64(xdrs, objp)) in xdr_offset3() 142 if (!xdr_uint32(xdrs, objp)) in xdr_mode3() [all …]
|
| A D | mount_xdr.c | 20 xdr_fhandle3(register XDR *xdrs, fhandle3 *objp) in xdr_fhandle3() argument 28 xdr_dirpath(register XDR *xdrs, dirpath *objp) in xdr_dirpath() argument 30 if (!xdr_string(xdrs, objp, MNTPATHLEN)) in xdr_dirpath() 36 xdr_name(register XDR *xdrs, name *objp) in xdr_name() argument 38 if (!xdr_string(xdrs, objp, MNTNAMLEN)) in xdr_name() 44 xdr_exports(register XDR *xdrs, exports *objp) in xdr_exports() argument 52 xdr_groups(register XDR *xdrs, groups *objp) in xdr_groups() argument 86 if (!xdr_fhandle3(xdrs, &objp->fhandle)) in xdr_mountres3_ok() 125 if (!xdr_name(xdrs, &objp->gr_name)) in xdr_groupnode() 127 if (!xdr_groups(xdrs, &objp->gr_next)) in xdr_groupnode() [all …]
|
| A D | nfs_auth.c | 30 static bool_t authnone_marshal(AUTH *client, XDR *xdrs); 63 register XDR *xdrs; in authnone_create() local 64 extern bool_t xdr_opaque_auth(XDR * xdrs, struct opaque_auth * ap); in authnone_create() 131 xdrs = &xdr_stream; in authnone_create() 132 xdrmem_create(xdrs, ap->marshalled_client, in authnone_create() 134 (void) xdr_opaque_auth(xdrs, &ap->no_client.ah_cred); in authnone_create() 135 (void) xdr_opaque_auth(xdrs, &ap->no_client.ah_verf); in authnone_create() 136 ap->mcnt = XDR_GETPOS(xdrs); in authnone_create() 137 XDR_DESTROY(xdrs); in authnone_create() 144 static bool_t authnone_marshal(AUTH *client, XDR *xdrs) in authnone_marshal() argument [all …]
|
| /components/dfs/dfs_v1/filesystems/nfs/rpc/ |
| A D | xdr_mem.c | 88 xdrs->x_op = op; in xdrmem_create() 90 xdrs->x_private = xdrs->x_base = (char*)addr; in xdrmem_create() 91 xdrs->x_handy = size; in xdrmem_create() 103 xdrs->x_handy -= 4; in xdrmem_getlong() 106 xdrs->x_private += 4; in xdrmem_getlong() 114 xdrs->x_handy -= 4; in xdrmem_putlong() 117 xdrs->x_private += 4; in xdrmem_putlong() 125 xdrs->x_handy -= len; in xdrmem_getbytes() 135 xdrs->x_handy -= len; in xdrmem_putbytes() 143 return ((unsigned long) xdrs->x_private - (unsigned long) xdrs->x_base); in xdrmem_getpos() [all …]
|
| A D | xdr.c | 102 switch (xdrs->x_op) { in xdr_int() 128 switch (xdrs->x_op) { in xdr_u_int() 203 switch (xdrs->x_op) in xdr_longlong_t() 208 return (XDR_PUTLONG (xdrs, &t1) && XDR_PUTLONG (xdrs, &t2)); in xdr_longlong_t() 211 if (!XDR_GETLONG (xdrs, &t1) || !XDR_GETLONG (xdrs, &t2)) in xdr_longlong_t() 230 switch (xdrs->x_op) in xdr_u_longlong_t() 259 switch (xdrs->x_op) { in xdr_short() 285 switch (xdrs->x_op) { in xdr_u_short() 342 switch (xdrs->x_op) { in xdr_bool() 454 switch (xdrs->x_op) { in xdr_bytes() [all …]
|
| A D | xdr.h | 177 (*(xdrs)->x_ops->x_getlong)(xdrs, longp) 179 (*(xdrs)->x_ops->x_getlong)(xdrs, longp) 182 (*(xdrs)->x_ops->x_putlong)(xdrs, longp) 184 (*(xdrs)->x_ops->x_putlong)(xdrs, longp) 187 (*(xdrs)->x_ops->x_getbytes)(xdrs, addr, len) 197 (*(xdrs)->x_ops->x_getpostn)(xdrs) 199 (*(xdrs)->x_ops->x_getpostn)(xdrs) 202 (*(xdrs)->x_ops->x_setpostn)(xdrs, pos) 204 (*(xdrs)->x_ops->x_setpostn)(xdrs, pos) 207 (*(xdrs)->x_ops->x_inline)(xdrs, len) [all …]
|
| A D | rpc_prot.c | 66 if (xdr_enum(xdrs, &(ap->oa_flavor))) in xdr_opaque_auth() 67 return (xdr_bytes(xdrs, &ap->oa_base, in xdr_opaque_auth() 75 bool_t xdr_des_block(XDR *xdrs, des_block *blkp) in xdr_des_block() argument 89 if (!xdr_opaque_auth(xdrs, &(ar->ar_verf))) in xdr_accepted_reply() 91 if (!xdr_enum(xdrs, (enum_t *) & (ar->ar_stat))) in xdr_accepted_reply() 99 if (!xdr_u_long(xdrs, &(ar->ar_vers.low))) in xdr_accepted_reply() 118 if (!xdr_u_long(xdrs, &(rr->rj_vers.low))) in xdr_rejected_reply() 139 if (xdr_u_long(xdrs, &(rmsg->rm_xid)) && in xdr_replymsg() 154 bool_t xdr_callhdr(XDR *xdrs, struct rpc_msg *cmsg) in xdr_callhdr() argument 160 (xdrs->x_op == XDR_ENCODE) && in xdr_callhdr() [all …]
|
| A D | auth_none.c | 61 static bool_t authnone_marshal(AUTH *client, XDR *xdrs); 83 register XDR *xdrs; in authnone_create() local 84 extern bool_t xdr_opaque_auth(XDR *xdrs, struct opaque_auth *ap); in authnone_create() 95 xdrs = &xdr_stream; in authnone_create() 96 xdrmem_create(xdrs, ap->marshalled_client, in authnone_create() 98 (void) xdr_opaque_auth(xdrs, &ap->no_client.ah_cred); in authnone_create() 99 (void) xdr_opaque_auth(xdrs, &ap->no_client.ah_verf); in authnone_create() 100 ap->mcnt = XDR_GETPOS(xdrs); in authnone_create() 101 XDR_DESTROY(xdrs); in authnone_create() 107 static bool_t authnone_marshal(AUTH *client, XDR *xdrs) in authnone_marshal() argument [all …]
|
| A D | pmap.c | 17 bool_t xdr_pmap(XDR *xdrs, struct pmap *regs) in xdr_pmap() argument 19 if (xdr_u_long(xdrs, ®s->pm_prog) && in xdr_pmap() 20 xdr_u_long(xdrs, ®s->pm_vers) && in xdr_pmap() 21 xdr_u_long(xdrs, ®s->pm_prot)) in xdr_pmap() 22 return (xdr_u_long(xdrs, ®s->pm_port)); in xdr_pmap()
|
| A D | clnt_udp.c | 221 register XDR *xdrs; in clntudp_call() local 233 xdrs = &(cu->cu_outxdrs); in clntudp_call() 234 xdrs->x_op = XDR_ENCODE; in clntudp_call() 235 XDR_SETPOS(xdrs, cu->cu_xdrpos); in clntudp_call() 242 if ((!XDR_PUTLONG(xdrs, (long *) &proc)) || in clntudp_call() 243 (!AUTH_MARSHALL(cl->cl_auth, xdrs)) || (!(*xargs) (xdrs, argsp))) in clntudp_call() 248 outlen = (int) XDR_GETPOS(xdrs); in clntudp_call() 316 xdrs->x_op = XDR_FREE; in clntudp_call() 348 register XDR *xdrs = &(cu->cu_outxdrs); in clntudp_freeres() local 350 xdrs->x_op = XDR_FREE; in clntudp_freeres() [all …]
|
| A D | auth.h | 87 #define AUTH_MARSHALL(auth, xdrs) \ argument 88 ((*((auth)->ah_ops->ah_marshal))(auth, xdrs)) 89 #define auth_marshall(auth, xdrs) \ argument 90 ((*((auth)->ah_ops->ah_marshal))(auth, xdrs))
|