Lines Matching defs:error

110 	int error;
120 if (error = VOP_LOOKUP(dvp, d_name, &vp, NULL, 0, NULL, cs->cr,
122 return (error);
156 if ((error = traverse(&vp)) != 0) {
159 return (error);
176 * If it fails for any other reason, then return the error.
178 if (error = VOP_FID(vp, &fid, NULL)) {
181 return (error);
184 if (error != ENOSYS && error != ENOTSUP) {
187 return (error);
249 int error;
258 error = VOP_PATHCONF(vp, _PC_FILESIZEBITS, &pc_val, cr, NULL);
259 if (error)
260 return (error);
265 * error code on VOP_PATHCONF will be 0, even if the underlying
280 error = VOP_PATHCONF(vp, _PC_LINK_MAX, &pc_val, cr, NULL);
281 if (error)
282 return (error);
289 error = VOP_PATHCONF(vp, _PC_NAME_MAX, &pc_val, cr, NULL);
290 if (error)
291 return (error);
312 int error;
316 if (error = VFS_STATVFS(vfsp, &sb)) {
317 return (error);
391 int error;
485 error = VOP_ACCESS(dvp, VREAD, 0, cs->cr, NULL);
486 if (error) {
487 *cs->statusp = resp->status = puterrno4(error);
506 if (error = rfs4_get_pc_encode(cs->vp, &dpce, ar, cs->cr)) {
507 *cs->statusp = resp->status = puterrno4(error);
521 if (error = rfs4_get_sb_encode(dvp->v_vfsp, &dsbe)) {
522 *cs->statusp = resp->status = puterrno4(error);
656 error = VOP_READDIR(dvp, &uio, cs->cr, &iseofdir, NULL, 0);
660 if (error) {
665 *cs->statusp = resp->status = puterrno4(error);
718 * for the readdir response. If there was another error,
719 * then set the rddirattr_error and the error will be
726 error = nfs4_readdir_getvp(dvp, dp->d_name,
729 if (error == ENOENT) {
734 rddirattr_error = error;
750 if (error =
760 rddirattr_error = error;
766 if (error = rfs4_get_pc_encode(cs->vp,
771 rddirattr_error = error;
830 * succeeded; if an error occurs on the VOP_GETATTR() then
831 * return just the error (again if it is requested).
1503 * - no space encoding error
1524 * If we have entries, always return them, otherwise only error