Lines Matching refs:xid

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