Lines Matching refs:xid

398 	unsigned int xid;  in cifs_get_file_info_unix()  local
406 xid = get_xid(); in cifs_get_file_info_unix()
416 rc = CIFSSMBUnixQFileInfo(xid, tcon, cfile->fid.netfid, &find_data); in cifs_get_file_info_unix()
427 free_xid(xid); in cifs_get_file_info_unix()
435 const unsigned int xid) in cifs_get_unix_fattr() argument
453 rc = CIFSSMBUnixQPathInfo(xid, tcon, full_path, &find_data, in cifs_get_unix_fattr()
472 tmprc = check_mf_symlink(xid, tcon, cifs_sb, fattr, full_path); in cifs_get_unix_fattr()
479 rc = server->ops->query_symlink(xid, tcon, in cifs_get_unix_fattr()
489 struct super_block *sb, unsigned int xid) in cifs_get_inode_info_unix() argument
494 rc = cifs_get_unix_fattr(full_path, sb, &fattr, pinode, xid); in cifs_get_inode_info_unix()
508 const unsigned int xid) in cifs_get_unix_fattr() argument
515 struct super_block *sb, unsigned int xid) in cifs_get_inode_info_unix() argument
523 struct cifs_sb_info *cifs_sb, unsigned int xid) in cifs_sfu_type() argument
573 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL); in cifs_sfu_type()
587 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms, in cifs_sfu_type()
628 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms, in cifs_sfu_type()
674 tcon->ses->server->ops->close(xid, tcon, &fid); in cifs_sfu_type()
687 struct cifs_sb_info *cifs_sb, unsigned int xid) in cifs_sfu_mode() argument
706 rc = tcon->ses->server->ops->query_all_EAs(xid, tcon, path, in cifs_sfu_mode()
872 unsigned int xid; in cifs_get_file_info() local
888 xid = get_xid(); in cifs_get_file_info()
889 rc = server->ops->query_file_info(xid, tcon, cfile, &data); in cifs_get_file_info()
935 free_xid(xid); in cifs_get_file_info()
967 cifs_backup_query_path_info(int xid, in cifs_backup_query_path_info() argument
995 rc = CIFSFindFirst(xid, tcon, full_path, in cifs_backup_query_path_info()
1006 static void cifs_set_fattr_ino(int xid, struct cifs_tcon *tcon, struct super_block *sb, in cifs_set_fattr_ino() argument
1026 rc = server->ops->get_srv_inum(xid, *inode ? NULL : tcon, cifs_sb, full_path, in cifs_set_fattr_ino()
1063 const unsigned int xid, in reparse_info_to_fattr() argument
1076 rc = server->ops->query_reparse_point(xid, tcon, cifs_sb, in reparse_info_to_fattr()
1090 rc = server->ops->query_symlink(xid, tcon, in reparse_info_to_fattr()
1134 struct super_block *sb, int xid, in cifs_get_fattr() argument
1160 rc = server->ops->query_path_info(xid, tcon, cifs_sb, in cifs_get_fattr()
1177 rc = reparse_info_to_fattr(data, sb, xid, tcon, in cifs_get_fattr()
1207 rc = cifs_backup_query_path_info(xid, tcon, sb, in cifs_get_fattr()
1239 cifs_set_fattr_ino(xid, tcon, sb, inode, full_path, data, fattr); in cifs_get_fattr()
1250 tmprc = cifs_sfu_type(fattr, full_path, cifs_sb, xid); in cifs_get_fattr()
1278 cifs_sfu_mode(fattr, full_path, cifs_sb, xid); in cifs_get_fattr()
1287 tmprc = check_mf_symlink(xid, tcon, cifs_sb, fattr, full_path); in cifs_get_fattr()
1301 struct super_block *sb, int xid, in cifs_get_inode_info() argument
1312 rc = cifs_get_fattr(data, sb, xid, fid, &fattr, inode, full_path); in cifs_get_inode_info()
1326 const unsigned int xid) in smb311_posix_get_fattr() argument
1346 rc = server->ops->query_path_info(xid, tcon, cifs_sb, in smb311_posix_get_fattr()
1358 rc = reparse_info_to_fattr(data, sb, xid, tcon, in smb311_posix_get_fattr()
1387 tmprc = check_mf_symlink(xid, tcon, cifs_sb, fattr, full_path); in smb311_posix_get_fattr()
1401 const unsigned int xid) in smb311_posix_get_inode_info() argument
1411 rc = smb311_posix_get_fattr(data, &fattr, full_path, sb, xid); in smb311_posix_get_inode_info()
1532 unsigned int xid; in cifs_root_iget() local
1551 xid = get_xid(); in cifs_root_iget()
1553 rc = cifs_get_unix_fattr(path, sb, &fattr, &inode, xid); in cifs_root_iget()
1563 rc = smb311_posix_get_fattr(NULL, &fattr, path, sb, xid); in cifs_root_iget()
1565 rc = cifs_get_fattr(NULL, sb, xid, NULL, &fattr, &inode, path); in cifs_root_iget()
1601 free_xid(xid); in cifs_root_iget()
1607 cifs_set_file_info(struct inode *inode, struct iattr *attrs, unsigned int xid, in cifs_set_file_info() argument
1654 return server->ops->set_file_info(inode, full_path, &info_buf, xid); in cifs_set_file_info()
1665 const unsigned int xid) in cifs_rename_pending_delete() argument
1703 rc = CIFS_open(xid, &oparms, &oplock, NULL); in cifs_rename_pending_delete()
1724 rc = CIFSSMBSetFileInfo(xid, tcon, info_buf, fid.netfid, in cifs_rename_pending_delete()
1735 rc = CIFSSMBRenameOpenFile(xid, tcon, fid.netfid, NULL, in cifs_rename_pending_delete()
1745 rc = CIFSSMBSetFileDisposition(xid, tcon, true, fid.netfid, in cifs_rename_pending_delete()
1765 CIFSSMBClose(xid, tcon, fid.netfid); in cifs_rename_pending_delete()
1777 CIFSSMBRenameOpenFile(xid, tcon, fid.netfid, dentry->d_name.name, in cifs_rename_pending_delete()
1782 if (!CIFSSMBSetFileInfo(xid, tcon, info_buf, fid.netfid, in cifs_rename_pending_delete()
1811 unsigned int xid; in cifs_unlink() local
1835 xid = get_xid(); in cifs_unlink()
1855 rc = CIFSPOSIXDelFile(xid, tcon, full_path, in cifs_unlink()
1870 rc = server->ops->unlink(xid, tcon, full_path, cifs_sb, dentry); in cifs_unlink()
1883 dentry, xid); in cifs_unlink()
1906 rc = cifs_set_file_info(inode, attrs, xid, full_path, dosattr); in cifs_unlink()
1915 cifs_set_file_info(inode, attrs, xid, full_path, origattr); in cifs_unlink()
1930 free_xid(xid); in cifs_unlink()
1938 struct cifs_tcon *tcon, const unsigned int xid) argument
1945 NULL, parent->i_sb, xid);
1949 xid);
1953 xid, NULL);
2000 CIFSSMBUnixSetPathInfo(xid, tcon, full_path, &args,
2011 tcon, xid);
2031 struct cifs_tcon *tcon, const unsigned int xid) argument
2046 rc = CIFSPOSIXCreate(xid, tcon, SMB_O_DIRECTORY | SMB_O_CREAT, mode,
2087 xid);
2096 unsigned int xid; local
2115 xid = get_xid();
2127 rc = server->ops->posix_mkdir(xid, inode, mode, tcon, full_path,
2137 tcon, xid);
2149 rc = server->ops->mkdir(xid, inode, mode, tcon, full_path, cifs_sb);
2158 xid);
2166 free_xid(xid);
2174 unsigned int xid; local
2185 xid = get_xid();
2219 rc = server->ops->rmdir(xid, tcon, full_path, cifs_sb);
2245 free_xid(xid);
2250 cifs_do_rename(const unsigned int xid, struct dentry *from_dentry, argument
2275 rc = server->ops->rename(xid, tcon, from_dentry,
2306 rc = CIFS_open(xid, &oparms, &oplock, NULL);
2308 rc = CIFSSMBRenameOpenFile(xid, tcon, fid.netfid,
2311 CIFSSMBClose(xid, tcon, fid.netfid);
2331 unsigned int xid; local
2353 xid = get_xid();
2371 rc = cifs_do_rename(xid, source_dentry, from_name, target_dentry,
2377 rc = cifs_do_rename(xid, source_dentry, from_name, target_dentry,
2406 tmprc = CIFSSMBUnixQPathInfo(xid, tcon, from_name,
2413 tmprc = CIFSSMBUnixQPathInfo(xid, tcon, to_name,
2441 rc = cifs_do_rename(xid, source_dentry, from_name,
2452 free_xid(xid);
2595 unsigned int xid; local
2609 xid = get_xid();
2625 NULL, sb, xid);
2627 rc = cifs_get_inode_info_unix(&inode, full_path, sb, xid);
2630 xid, NULL);
2636 free_xid(xid);
2812 unsigned int xid, const char *full_path, struct dentry *dentry) argument
2836 rc = server->ops->set_file_size(xid, tcon, open_file,
2862 rc = server->ops->set_path_size(xid, tcon, full_path,
2903 unsigned int xid; local
2917 xid = get_xid();
2953 rc = cifs_set_file_size(inode, attrs, xid, full_path, direntry);
3005 rc = CIFSSMBUnixSetFileInfo(xid, pTcon, args, nfid, npid);
3014 rc = CIFSSMBUnixSetPathInfo(xid, pTcon, full_path, args,
3044 free_xid(xid);
3052 unsigned int xid; local
3066 xid = get_xid();
3109 rc = tcon->ses->server->ops->flush(xid, tcon, &wfile->fid);
3120 rc = cifs_set_file_size(inode, attrs, xid, full_path, direntry);
3205 rc = cifs_set_file_info(inode, attrs, xid, full_path, dosattr);
3234 free_xid(xid);