Lines Matching refs:result
97 static int decode_nfsdata(struct xdr_stream *xdr, struct nfs_pgio_res *result) in decode_nfsdata() argument
110 result->eof = 0; /* NFSv2 does not pass EOF flag on the wire. */ in decode_nfsdata()
111 result->count = count; in decode_nfsdata()
465 static int decode_attrstat(struct xdr_stream *xdr, struct nfs_fattr *result, in decode_attrstat() argument
479 error = decode_fattr(xdr, result, userns); in decode_attrstat()
514 static int decode_diropok(struct xdr_stream *xdr, struct nfs_diropok *result, in decode_diropok() argument
519 error = decode_fhandle(xdr, result->fh); in decode_diropok()
522 error = decode_fattr(xdr, result->fattr, userns); in decode_diropok()
527 static int decode_diropres(struct xdr_stream *xdr, struct nfs_diropok *result, in decode_diropres() argument
538 error = decode_diropok(xdr, result, userns); in decode_diropres()
819 void *result) in nfs2_xdr_dec_attrstat() argument
821 return decode_attrstat(xdr, result, NULL, rpc_rqst_userns(req)); in nfs2_xdr_dec_attrstat()
825 void *result) in nfs2_xdr_dec_diropres() argument
827 return decode_diropres(xdr, result, rpc_rqst_userns(req)); in nfs2_xdr_dec_diropres()
872 struct nfs_pgio_res *result = data; in nfs2_xdr_dec_readres() local
879 result->op_status = status; in nfs2_xdr_dec_readres()
882 error = decode_fattr(xdr, result->fattr, rpc_rqst_userns(req)); in nfs2_xdr_dec_readres()
885 error = decode_nfsdata(xdr, result); in nfs2_xdr_dec_readres()
895 struct nfs_pgio_res *result = data; in nfs2_xdr_dec_writeres() local
898 result->verf->committed = NFS_FILE_SYNC; in nfs2_xdr_dec_writeres()
899 return decode_attrstat(xdr, result->fattr, &result->op_status, in nfs2_xdr_dec_writeres()
1024 static int decode_info(struct xdr_stream *xdr, struct nfs2_fsstat *result) in decode_info() argument
1031 result->tsize = be32_to_cpup(p++); in decode_info()
1032 result->bsize = be32_to_cpup(p++); in decode_info()
1033 result->blocks = be32_to_cpup(p++); in decode_info()
1034 result->bfree = be32_to_cpup(p++); in decode_info()
1035 result->bavail = be32_to_cpup(p); in decode_info()
1040 void *result) in nfs2_xdr_dec_statfsres() argument
1050 error = decode_info(xdr, result); in nfs2_xdr_dec_statfsres()