Lines Matching defs:result
97 static int decode_nfsdata(struct xdr_stream *xdr, struct nfs_pgio_res *result)
110 result->eof = 0; /* NFSv2 does not pass EOF flag on the wire. */
111 result->count = count;
114 dprintk("NFS: server cheating in read result: "
450 dprintk("NFS: server cheating in pathname result: "
465 static int decode_attrstat(struct xdr_stream *xdr, struct nfs_fattr *result,
479 error = decode_fattr(xdr, result, userns);
514 static int decode_diropok(struct xdr_stream *xdr, struct nfs_diropok *result,
519 error = decode_fhandle(xdr, result->fh);
522 error = decode_fattr(xdr, result->fattr, userns);
527 static int decode_diropres(struct xdr_stream *xdr, struct nfs_diropok *result,
538 error = decode_diropok(xdr, result, userns);
797 * NFSv2 result types are defined in section 2.2 of RFC 1094:
819 void *result)
821 return decode_attrstat(xdr, result, NULL, rpc_rqst_userns(req));
825 void *result)
827 return decode_diropres(xdr, result, rpc_rqst_userns(req));
872 struct nfs_pgio_res *result = data;
879 result->op_status = status;
882 error = decode_fattr(xdr, result->fattr, rpc_rqst_userns(req));
885 error = decode_nfsdata(xdr, result);
895 struct nfs_pgio_res *result = data;
898 result->verf->committed = NFS_FILE_SYNC;
899 return decode_attrstat(xdr, result->fattr, &result->op_status,
1024 static int decode_info(struct xdr_stream *xdr, struct nfs2_fsstat *result)
1031 result->tsize = be32_to_cpup(p++);
1032 result->bsize = be32_to_cpup(p++);
1033 result->blocks = be32_to_cpup(p++);
1034 result->bfree = be32_to_cpup(p++);
1035 result->bavail = be32_to_cpup(p);
1040 void *result)
1050 error = decode_info(xdr, result);