• Home
  • Raw
  • Download

Lines Matching refs:rc

36 	int rc = 0;  in cifs_ioctl_query_info()  local
52 rc = -ENOMEM; in cifs_ioctl_query_info()
58 rc = tcon->ses->server->ops->ioctl_query_info( in cifs_ioctl_query_info()
62 rc = -EOPNOTSUPP; in cifs_ioctl_query_info()
68 return rc; in cifs_ioctl_query_info()
74 int rc; in cifs_ioctl_copychunk() local
86 rc = mnt_want_write_file(dst_file); in cifs_ioctl_copychunk()
87 if (rc) { in cifs_ioctl_copychunk()
88 cifs_dbg(FYI, "mnt_want_write failed with rc %d\n", rc); in cifs_ioctl_copychunk()
89 return rc; in cifs_ioctl_copychunk()
94 rc = -EBADF; in cifs_ioctl_copychunk()
99 rc = -EBADF; in cifs_ioctl_copychunk()
105 rc = -EINVAL; in cifs_ioctl_copychunk()
109 rc = cifs_file_copychunk_range(xid, src_file.file, 0, dst_file, 0, in cifs_ioctl_copychunk()
111 if (rc > 0) in cifs_ioctl_copychunk()
112 rc = 0; in cifs_ioctl_copychunk()
117 return rc; in cifs_ioctl_copychunk()
123 int rc = 0; in smb_mnt_get_fsinfo() local
149 rc = -EFAULT; in smb_mnt_get_fsinfo()
152 return rc; in smb_mnt_get_fsinfo()
209 int rc = 0; in cifs_dump_full_key() local
214 rc = -EOPNOTSUPP; in cifs_dump_full_key()
220 rc = -EINVAL; in cifs_dump_full_key()
251 rc = -ENOENT; in cifs_dump_full_key()
268 rc = -EOPNOTSUPP; in cifs_dump_full_key()
275 rc = -ENOBUFS; in cifs_dump_full_key()
284 rc = -EINVAL; in cifs_dump_full_key()
291 rc = -EINVAL; in cifs_dump_full_key()
297 rc = -EINVAL; in cifs_dump_full_key()
303 rc = -EINVAL; in cifs_dump_full_key()
310 return rc; in cifs_dump_full_key()
317 int rc = -ENOTTY; /* strange error - but the precedent */ in cifs_ioctl() local
338 rc = CIFSGetExtAttr(xid, tcon, in cifs_ioctl()
341 if (rc == 0) in cifs_ioctl()
342 rc = put_user(ExtAttrBits & in cifs_ioctl()
345 if (rc != -EOPNOTSUPP) in cifs_ioctl()
349 rc = 0; in cifs_ioctl()
353 rc = put_user(ExtAttrBits & FS_FL_USER_VISIBLE, in cifs_ioctl()
364 rc = -EFAULT; in cifs_ioctl()
384 rc = tcon->ses->server->ops->set_compression( in cifs_ioctl()
386 cifs_dbg(FYI, "set compress flag rc %d\n", rc); in cifs_ioctl()
390 rc = cifs_ioctl_copychunk(xid, filep, arg); in cifs_ioctl()
393 rc = cifs_ioctl_query_info(xid, filep, arg); in cifs_ioctl()
400 rc = tcon->ses->server->ops->set_integrity(xid, in cifs_ioctl()
403 rc = -EOPNOTSUPP; in cifs_ioctl()
409 rc = smb_mnt_get_fsinfo(xid, tcon, (void __user *)arg); in cifs_ioctl()
415 rc = -EINVAL; in cifs_ioctl()
420 rc = tcon->ses->server->ops->enum_snapshots(xid, tcon, in cifs_ioctl()
423 rc = -EOPNOTSUPP; in cifs_ioctl()
433 rc = -EACCES; in cifs_ioctl()
439 rc = -EOPNOTSUPP; in cifs_ioctl()
453 rc = -EFAULT; in cifs_ioctl()
455 rc = 0; in cifs_ioctl()
464 rc = -EACCES; in cifs_ioctl()
468 rc = cifs_dump_full_key(tcon, (void __user *)arg); in cifs_ioctl()
473 rc = -EOPNOTSUPP; in cifs_ioctl()
479 rc = PTR_ERR(tlink); in cifs_ioctl()
484 rc = tcon->ses->server->ops->notify(xid, in cifs_ioctl()
486 cifs_dbg(FYI, "ioctl notify rc %d\n", rc); in cifs_ioctl()
488 rc = -EOPNOTSUPP; in cifs_ioctl()
492 rc = cifs_shutdown(inode->i_sb, arg); in cifs_ioctl()
500 return rc; in cifs_ioctl()