Lines Matching refs:res

96   static char res;
98 return (voidp) &res;
113 static nfsattrstat res;
128 res.ns_status = NFSERR_STALE;
129 return &res;
143 res.ns_status = NFS_OK;
144 res.ns_u.ns_attr_u = rootfattr;
163 res.ns_status = NFS_OK;
164 res.ns_u.ns_attr_u = slinkfattr;
167 res.ns_status = NFSERR_STALE;
173 res.ns_status = NFS_OK;
175 res.ns_u.ns_attr_u = un_fattr;
179 res.ns_status = NFSERR_STALE;
183 return &res;
190 static nfsattrstat res = {NFSERR_ROFS};
192 return &res;
199 static char res;
201 return (voidp) &res;
208 static nfsdiropres res;
224 res.dr_status = NFSERR_NOTDIR;
225 return &res;
229 res.dr_status = NFSERR_NOENT;
230 return &res;
248 res.dr_u.dr_drok_u.drok_fhandle = root;
249 res.dr_u.dr_drok_u.drok_attributes = rootfattr;
250 res.dr_status = NFS_OK;
251 return &res;
270 res.dr_u.dr_drok_u.drok_fhandle = slink;
271 res.dr_u.dr_drok_u.drok_attributes = slinkfattr;
272 res.dr_status = NFS_OK;
273 return &res;
277 res.dr_status = NFSERR_NOENT;
278 return &res;
283 res.dr_status = NFSERR_NOENT;
284 return &res;
288 res.dr_u.dr_drok_u.drok_attributes = un_fattr;
295 res.dr_u.dr_drok_u.drok_fhandle = un_fhandle;
296 res.dr_status = NFS_OK;
299 return &res;
303 res.dr_status = NFSERR_STALE;
304 return &res;
311 static nfsreadlinkres res;
320 res.rlr_status = NFSERR_ISDIR;
327 res.rlr_status = NFS_OK;
329 res.rlr_u.rlr_data_u = DOTSTRING;
330 } else if (!(res.rlr_u.rlr_data_u = path_val = homedir(userid, groupid))) {
350 if (!(res.rlr_u.rlr_data_u = mailbox(userid, username)))
353 res.rlr_status = NFSERR_STALE;
360 (long) userid, (long) groupid, (char *) res.rlr_u.rlr_data_u);
366 return &res;
368 if (!svc_sendreply(nfsxprt, (XDRPROC_T_TYPE) xdr_readlinkres, (SVC_IN_ARG_TYPE) &res))
392 return &res;
399 static nfsreadres res = {NFSERR_ACCES};
401 return &res;
408 static char res;
410 return (voidp) &res;
417 static nfsattrstat res = {NFSERR_ROFS};
419 return &res;
426 static nfsdiropres res = {NFSERR_ROFS};
428 return &res;
435 static nfsstat res = {NFSERR_ROFS};
437 return &res;
444 static nfsstat res = {NFSERR_ROFS};
446 return &res;
453 static nfsstat res = {NFSERR_ROFS};
455 return &res;
462 static nfsstat res = {NFSERR_ROFS};
464 return &res;
471 static nfsdiropres res = {NFSERR_ROFS};
473 return &res;
480 static nfsstat res = {NFSERR_ROFS};
482 return &res;
489 static nfsreaddirres res;
497 res.rdr_status = NFSERR_NOTDIR;
501 res.rdr_status = NFS_OK;
504 res.rdr_u.rdr_reply_u.dl_entries = &dotent;
507 res.rdr_u.rdr_reply_u.dl_entries = &dotdotent;
510 res.rdr_u.rdr_reply_u.dl_entries = &slinkent;
513 res.rdr_u.rdr_reply_u.dl_entries = (nfsentry *) NULL;
516 res.rdr_u.rdr_reply_u.dl_eof = TRUE;
518 res.rdr_status = NFSERR_STALE;
520 return &res;
527 static nfsstatfsres res = {NFS_OK};
529 res.sfr_u.sfr_reply_u.sfrok_tsize = 1024;
530 res.sfr_u.sfr_reply_u.sfrok_bsize = 1024;
536 res.sfr_u.sfr_reply_u.sfrok_blocks = 0;
537 res.sfr_u.sfr_reply_u.sfrok_bfree = 0;
538 res.sfr_u.sfr_reply_u.sfrok_bavail = 0;
540 return &res;