Lines Matching refs:rc
56 int rc, fd;
61 rc = kern_openat(td, AT_FDCWD, __DECONST(char *, path),
63 if (rc)
64 return (SET_ERROR(rc));
82 ssize_t rc;
104 rc = fo_write(fp, &auio, td->td_ucred, FOF_OFFSET, td);
105 if (rc)
106 return (SET_ERROR(rc));
112 return (rc);
119 ssize_t rc;
121 rc = zfs_file_write_impl(fp, buf, count, &off, resid);
122 if (rc == 0)
125 return (SET_ERROR(rc));
139 ssize_t rc;
158 rc = fo_read(fp, &auio, td->td_ucred, FOF_OFFSET, td);
159 if (rc)
160 return (SET_ERROR(rc));
171 ssize_t rc;
173 rc = zfs_file_read_impl(fp, buf, count, &off, resid);
174 if (rc == 0)
176 return (rc);
189 int rc;
195 rc = fo_seek(fp, *offp, whence, td);
196 if (rc == 0)
198 return (SET_ERROR(rc));
206 int rc;
210 rc = fo_stat(fp, &sb, td->td_ucred, td);
211 if (rc)
212 return (SET_ERROR(rc));
294 int rc;
297 rc = kern_funlinkat(curthread, AT_FDCWD, fnamep, FD_NONE, seg, 0, 0);
299 rc = kern_unlinkat(curthread, AT_FDCWD, __DECONST(char *, fnamep),
302 rc = kern_unlinkat(curthread, AT_FDCWD, __DECONST(char *, fnamep),
305 return (SET_ERROR(rc));