Lines Matching defs:rc
51 int rc;
56 rc = generic_file_aio_read(iocb, iov, nr_segs, pos);
61 if (-EIOCBQUEUED == rc)
62 rc = wait_on_sync_kiocb(iocb);
63 if (rc >= 0) {
68 return rc;
88 int rc;
91 rc = ecryptfs_decode_and_decrypt_filename(&name, &name_size,
94 if (rc) {
96 "filename [%s]; rc = [%d]\n", __func__, lower_name,
97 rc);
100 rc = buf->filldir(buf->dirent, name, name_size, offset, ino, d_type);
102 if (rc >= 0)
105 return rc;
116 int rc;
130 rc = vfs_readdir(lower_file, ecryptfs_filldir, (void *)&buf);
132 if (rc < 0)
136 if (rc >= 0)
140 return rc;
156 int rc = 0;
173 rc = -EPERM;
182 rc = -ENOMEM;
196 rc = ecryptfs_init_persistent_file(ecryptfs_dentry);
197 if (rc) {
200 "[%s]; rc = [%d]\n", __func__,
201 ecryptfs_dentry->d_name.name, rc);
207 rc = -EPERM;
219 rc = 0;
225 rc = ecryptfs_read_metadata(ecryptfs_dentry);
226 if (rc) {
231 rc = -EIO;
240 rc = 0;
255 return rc;
260 int rc = 0;
265 rc = lower_file->f_op->flush(lower_file, td);
266 return rc;
284 int rc = 0;
290 rc = lower_file->f_op->fasync(fd, lower_file, flag);
292 return rc;
299 long rc = -ENOTTY;
304 rc = lower_file->f_op->unlocked_ioctl(lower_file, cmd, arg);
305 return rc;
313 long rc = -ENOIOCTLCMD;
318 rc = lower_file->f_op->compat_ioctl(lower_file, cmd, arg);
319 return rc;