Lines Matching defs:objp
38 xdr_b_nfsstat(XDR *xdrs, nfsstat *objp)
40 return (xdr_enum(xdrs, (enum_t *)objp));
44 xdr_b_ftype(XDR *xdrs, ftype *objp)
46 return (xdr_enum(xdrs, (enum_t *)objp));
50 xdr_nfs_fh(XDR *xdrs, nfs_fh *objp)
52 return (xdr_opaque(xdrs, objp->data, NFS_FHSIZE));
56 xdr_b_nfstime(XDR *xdrs, nfstime *objp)
58 if (!xdr_u_int(xdrs, &objp->seconds)) {
61 return (xdr_u_int(xdrs, &objp->useconds));
65 xdr_b_fattr(XDR *xdrs, fattr *objp)
67 if (!xdr_b_ftype(xdrs, &objp->type)) {
70 if (!xdr_u_int(xdrs, &objp->mode)) {
73 if (!xdr_u_int(xdrs, &objp->nlink)) {
76 if (!xdr_u_int(xdrs, &objp->uid)) {
79 if (!xdr_u_int(xdrs, &objp->gid)) {
82 if (!xdr_u_int(xdrs, &objp->size)) {
85 if (!xdr_u_int(xdrs, &objp->blocksize)) {
88 if (!xdr_u_int(xdrs, &objp->rdev)) {
91 if (!xdr_u_int(xdrs, &objp->blocks)) {
94 if (!xdr_u_int(xdrs, &objp->fsid)) {
97 if (!xdr_u_int(xdrs, &objp->fileid)) {
100 if (!xdr_b_nfstime(xdrs, &objp->atime)) {
103 if (!xdr_b_nfstime(xdrs, &objp->mtime)) {
106 return (xdr_b_nfstime(xdrs, &objp->ctime));
110 xdr_b_filename(XDR *xdrs, filename *objp)
112 return (xdr_string(xdrs, objp, NFS_MAXNAMLEN));
116 xdr_b_nfspath(XDR *xdrs, nfspath *objp)
118 return (xdr_string(xdrs, objp, NFS_MAXPATHLEN));
122 xdr_attrstat(XDR *xdrs, attrstat *objp)
124 if (!xdr_b_nfsstat(xdrs, &objp->status)) {
127 if (objp->status == NFS_OK) {
128 return (xdr_b_fattr(xdrs, &objp->attrstat_u.attributes));
134 xdr_diropargs(XDR *xdrs, diropargs *objp)
136 if (!xdr_nfs_fh(xdrs, &objp->dir)) {
139 return (xdr_b_filename(xdrs, &objp->name));
143 xdr_b_diropokres(XDR *xdrs, diropokres *objp)
145 if (!xdr_nfs_fh(xdrs, &objp->file)) {
148 return (xdr_b_fattr(xdrs, &objp->attributes));
152 xdr_diropres(XDR *xdrs, diropres *objp)
154 if (!xdr_b_nfsstat(xdrs, &objp->status)) {
157 if (objp->status == NFS_OK) {
158 return (xdr_b_diropokres(xdrs, &objp->diropres_u.diropres));
164 xdr_readlinkres(XDR *xdrs, readlinkres *objp)
166 if (!xdr_b_nfsstat(xdrs, &objp->status)) {
169 if (objp->status == NFS_OK) {
170 return (xdr_b_nfspath(xdrs, &objp->readlinkres_u.data));
176 xdr_readargs(XDR *xdrs, readargs *objp)
178 if (!xdr_nfs_fh(xdrs, &objp->file)) {
181 if (!xdr_u_int(xdrs, &objp->offset)) {
184 if (!xdr_u_int(xdrs, &objp->count)) {
187 return (xdr_u_int(xdrs, &objp->totalcount));
191 xdr_b_readokres(XDR *xdrs, readokres *objp)
193 if (!xdr_b_fattr(xdrs, &objp->attributes)) {
196 return (xdr_bytes(xdrs, (char **)&objp->data.data_val,
197 (uint_t *)&objp->data.data_len, NFS_MAXDATA));
201 xdr_readres(XDR *xdrs, readres *objp)
203 if (!xdr_b_nfsstat(xdrs, &objp->status)) {
206 if (objp->status == NFS_OK) {
207 return (xdr_b_readokres(xdrs, &objp->readres_u.reply));
213 xdr_b_nfscookie(XDR *xdrs, nfscookie objp)
215 return (xdr_opaque(xdrs, objp, NFS_COOKIESIZE));
219 xdr_readdirargs(XDR *xdrs, readdirargs *objp)
221 if (!xdr_nfs_fh(xdrs, &objp->dir)) {
224 if (!xdr_b_nfscookie(xdrs, objp->cookie)) {
227 return (xdr_u_int(xdrs, &objp->count));
231 xdr_b_entry(XDR *xdrs, entry *objp)
233 if (!xdr_u_int(xdrs, &objp->fileid)) {
236 if (!xdr_b_filename(xdrs, &objp->name)) {
239 if (!xdr_b_nfscookie(xdrs, objp->cookie)) {
242 return (xdr_pointer(xdrs, (char **)&objp->nextentry, sizeof (entry),
247 xdr_b_dirlist(XDR *xdrs, dirlist *objp)
249 if (!xdr_pointer(xdrs, (char **)&objp->entries, sizeof (entry),
253 return (xdr_bool(xdrs, &objp->eof));
257 xdr_readdirres(XDR *xdrs, readdirres *objp)
259 if (!xdr_b_nfsstat(xdrs, &objp->status)) {
262 if (objp->status == NFS_OK) {
263 return (xdr_b_dirlist(xdrs, &objp->readdirres_u.reply));