• Home
  • Raw
  • Download

Lines Matching refs:rc

47 	int rc = 0;  in cifs_ioctl_query_info()  local
61 rc = -ENOMEM; in cifs_ioctl_query_info()
67 rc = tcon->ses->server->ops->ioctl_query_info( in cifs_ioctl_query_info()
71 rc = -EOPNOTSUPP; in cifs_ioctl_query_info()
77 return rc; in cifs_ioctl_query_info()
83 int rc; in cifs_ioctl_copychunk() local
95 rc = mnt_want_write_file(dst_file); in cifs_ioctl_copychunk()
96 if (rc) { in cifs_ioctl_copychunk()
97 cifs_dbg(FYI, "mnt_want_write failed with rc %d\n", rc); in cifs_ioctl_copychunk()
98 return rc; in cifs_ioctl_copychunk()
103 rc = -EBADF; in cifs_ioctl_copychunk()
108 rc = -EBADF; in cifs_ioctl_copychunk()
114 rc = -EINVAL; in cifs_ioctl_copychunk()
118 rc = cifs_file_copychunk_range(xid, src_file.file, 0, dst_file, 0, in cifs_ioctl_copychunk()
120 if (rc > 0) in cifs_ioctl_copychunk()
121 rc = 0; in cifs_ioctl_copychunk()
126 return rc; in cifs_ioctl_copychunk()
132 int rc = 0; in smb_mnt_get_fsinfo() local
158 rc = -EFAULT; in smb_mnt_get_fsinfo()
161 return rc; in smb_mnt_get_fsinfo()
168 int rc = -ENOTTY; /* strange error - but the precedent */ in cifs_ioctl() local
187 rc = CIFSGetExtAttr(xid, tcon, in cifs_ioctl()
190 if (rc == 0) in cifs_ioctl()
191 rc = put_user(ExtAttrBits & in cifs_ioctl()
194 if (rc != EOPNOTSUPP) in cifs_ioctl()
198 rc = 0; in cifs_ioctl()
202 rc = put_user(ExtAttrBits & FS_FL_USER_VISIBLE, in cifs_ioctl()
213 rc = -EFAULT; in cifs_ioctl()
233 rc = tcon->ses->server->ops->set_compression( in cifs_ioctl()
235 cifs_dbg(FYI, "set compress flag rc %d\n", rc); in cifs_ioctl()
239 rc = cifs_ioctl_copychunk(xid, filep, arg); in cifs_ioctl()
242 rc = cifs_ioctl_query_info(xid, filep, arg); in cifs_ioctl()
249 rc = tcon->ses->server->ops->set_integrity(xid, in cifs_ioctl()
252 rc = -EOPNOTSUPP; in cifs_ioctl()
258 rc = smb_mnt_get_fsinfo(xid, tcon, (void __user *)arg); in cifs_ioctl()
264 rc = -EINVAL; in cifs_ioctl()
269 rc = tcon->ses->server->ops->enum_snapshots(xid, tcon, in cifs_ioctl()
272 rc = -EOPNOTSUPP; in cifs_ioctl()
278 rc = -EACCES; in cifs_ioctl()
284 rc = -EOPNOTSUPP; in cifs_ioctl()
298 rc = -EFAULT; in cifs_ioctl()
300 rc = 0; in cifs_ioctl()
308 return rc; in cifs_ioctl()