Lines Matching refs:xid

423 cifs_negotiate(const unsigned int xid,  in cifs_negotiate()  argument
428 rc = CIFSSMBNegotiate(xid, ses, server); in cifs_negotiate()
432 rc = CIFSSMBNegotiate(xid, ses, server); in cifs_negotiate()
516 cifs_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, in cifs_qfs_tcon() argument
519 CIFSSMBQFSDeviceInfo(xid, tcon); in cifs_qfs_tcon()
520 CIFSSMBQFSAttributeInfo(xid, tcon); in cifs_qfs_tcon()
524 cifs_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon, in cifs_is_path_accessible() argument
534 rc = CIFSSMBQPathInfo(xid, tcon, full_path, file_info, in cifs_is_path_accessible()
539 rc = SMBQueryInformation(xid, tcon, full_path, file_info, in cifs_is_path_accessible()
545 static int cifs_query_path_info(const unsigned int xid, in cifs_query_path_info() argument
558 rc = CIFSSMBQPathInfo(xid, tcon, full_path, &fi, 0 /* not legacy */, cifs_sb->local_nls, in cifs_query_path_info()
566 rc = SMBQueryInformation(xid, tcon, full_path, &fi, cifs_sb->local_nls, in cifs_query_path_info()
593 tmprc = CIFS_open(xid, &oparms, &oplock, NULL); in cifs_query_path_info()
597 CIFSSMBClose(xid, tcon, fid.netfid); in cifs_query_path_info()
603 static int cifs_get_srv_inum(const unsigned int xid, struct cifs_tcon *tcon, in cifs_get_srv_inum() argument
618 return CIFSGetSrvInodeNumber(xid, tcon, full_path, uniqueid, in cifs_get_srv_inum()
623 static int cifs_query_file_info(const unsigned int xid, struct cifs_tcon *tcon, in cifs_query_file_info() argument
635 rc = CIFSSMBQFileInfo(xid, tcon, cfile->fid.netfid, &fi); in cifs_query_file_info()
706 const unsigned int xid) in cifs_mkdir_setinfo() argument
717 rc = CIFSSMBSetPathInfo(xid, tcon, full_path, &info, cifs_sb->local_nls, in cifs_mkdir_setinfo()
723 static int cifs_open_file(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock, in cifs_open_file() argument
731 rc = SMBLegacyOpen(xid, oparms->tcon, oparms->path, in cifs_open_file()
739 rc = CIFS_open(xid, oparms, oplock, &fi); in cifs_open_file()
757 cifs_close_file(const unsigned int xid, struct cifs_tcon *tcon, in cifs_close_file() argument
760 CIFSSMBClose(xid, tcon, fid->netfid); in cifs_close_file()
764 cifs_flush_file(const unsigned int xid, struct cifs_tcon *tcon, in cifs_flush_file() argument
767 return CIFSSMBFlush(xid, tcon, fid->netfid); in cifs_flush_file()
771 cifs_sync_read(const unsigned int xid, struct cifs_fid *pfid, in cifs_sync_read() argument
776 return CIFSSMBRead(xid, parms, bytes_read, buf, buf_type); in cifs_sync_read()
780 cifs_sync_write(const unsigned int xid, struct cifs_fid *pfid, in cifs_sync_write() argument
786 return CIFSSMBWrite2(xid, parms, written, iov, nr_segs); in cifs_sync_write()
791 FILE_BASIC_INFO *buf, const unsigned int xid) in smb_set_file_info() argument
821 rc = CIFSSMBSetPathInfo(xid, tcon, full_path, buf, cifs_sb->local_nls, in smb_set_file_info()
841 rc = CIFS_open(xid, &oparms, &oplock, NULL); in smb_set_file_info()
851 rc = CIFSSMBSetFileInfo(xid, tcon, buf, fid.netfid, netpid); in smb_set_file_info()
856 CIFSSMBClose(xid, tcon, fid.netfid); in smb_set_file_info()
866 cifs_set_compression(const unsigned int xid, struct cifs_tcon *tcon, in cifs_set_compression() argument
869 return CIFSSMB_set_compression(xid, tcon, cfile->fid.netfid); in cifs_set_compression()
873 cifs_query_dir_first(const unsigned int xid, struct cifs_tcon *tcon, in cifs_query_dir_first() argument
880 rc = CIFSFindFirst(xid, tcon, path, cifs_sb, in cifs_query_dir_first()
888 cifs_query_dir_next(const unsigned int xid, struct cifs_tcon *tcon, in cifs_query_dir_next() argument
892 return CIFSFindNext(xid, tcon, fid->netfid, search_flags, srch_inf); in cifs_query_dir_next()
896 cifs_close_dir(const unsigned int xid, struct cifs_tcon *tcon, in cifs_close_dir() argument
899 return CIFSFindClose(xid, tcon, fid->netfid); in cifs_close_dir()
911 cifs_queryfs(const unsigned int xid, struct cifs_tcon *tcon, in cifs_queryfs() argument
923 rc = CIFSSMBQFSPosixInfo(xid, tcon, buf); in cifs_queryfs()
930 rc = CIFSSMBQFSInfo(xid, tcon, buf); in cifs_queryfs()
938 rc = SMBOldQFSInfo(xid, tcon, buf); in cifs_queryfs()
943 cifs_mand_lock(const unsigned int xid, struct cifsFileInfo *cfile, __u64 offset, in cifs_mand_lock() argument
946 return CIFSSMBLock(xid, tlink_tcon(cfile->tlink), cfile->fid.netfid, in cifs_mand_lock()
952 cifs_unix_dfs_readlink(const unsigned int xid, struct cifs_tcon *tcon, in cifs_unix_dfs_readlink() argument
960 rc = get_dfs_path(xid, tcon->ses, searchName, nls_codepage, &referral, in cifs_unix_dfs_readlink()
975 static int cifs_query_symlink(const unsigned int xid, in cifs_query_symlink() argument
988 rc = CIFSSMBUnixQuerySymLink(xid, tcon, full_path, target_path, in cifs_query_symlink()
991 rc = cifs_unix_dfs_readlink(xid, tcon, full_path, in cifs_query_symlink()
1038 cifs_make_node(unsigned int xid, struct inode *inode, in cifs_make_node() argument
1073 rc = CIFSSMBUnixSetPathInfo(xid, tcon, full_path, &args, in cifs_make_node()
1080 inode->i_sb, xid); in cifs_make_node()
1114 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, &buf); in cifs_make_node()
1134 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms, in cifs_make_node()
1140 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms, in cifs_make_node()
1143 tcon->ses->server->ops->close(xid, tcon, &fid); in cifs_make_node()