Lines Matching refs:xid

416 cifs_negotiate(const unsigned int xid, struct cifs_ses *ses)
419 rc = CIFSSMBNegotiate(xid, ses);
423 rc = CIFSSMBNegotiate(xid, ses);
507 cifs_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon,
510 CIFSSMBQFSDeviceInfo(xid, tcon);
511 CIFSSMBQFSAttributeInfo(xid, tcon);
515 cifs_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon,
525 rc = CIFSSMBQPathInfo(xid, tcon, full_path, file_info,
530 rc = SMBQueryInformation(xid, tcon, full_path, file_info,
537 cifs_query_path_info(const unsigned int xid, struct cifs_tcon *tcon,
546 rc = CIFSSMBQPathInfo(xid, tcon, full_path, data, 0 /* not legacy */,
554 rc = SMBQueryInformation(xid, tcon, full_path, data,
576 tmprc = CIFS_open(xid, &oparms, &oplock, NULL);
580 CIFSSMBClose(xid, tcon, fid.netfid);
587 cifs_get_srv_inum(const unsigned int xid, struct cifs_tcon *tcon,
602 return CIFSGetSrvInodeNumber(xid, tcon, full_path, uniqueid,
608 cifs_query_file_info(const unsigned int xid, struct cifs_tcon *tcon,
611 return CIFSSMBQFileInfo(xid, tcon, fid->netfid, data);
679 const unsigned int xid)
690 rc = CIFSSMBSetPathInfo(xid, tcon, full_path, &info, cifs_sb->local_nls,
697 cifs_open_file(const unsigned int xid, struct cifs_open_parms *oparms,
701 return SMBLegacyOpen(xid, oparms->tcon, oparms->path,
708 return CIFS_open(xid, oparms, oplock, buf);
721 cifs_close_file(const unsigned int xid, struct cifs_tcon *tcon,
724 CIFSSMBClose(xid, tcon, fid->netfid);
728 cifs_flush_file(const unsigned int xid, struct cifs_tcon *tcon,
731 return CIFSSMBFlush(xid, tcon, fid->netfid);
735 cifs_sync_read(const unsigned int xid, struct cifs_fid *pfid,
740 return CIFSSMBRead(xid, parms, bytes_read, buf, buf_type);
744 cifs_sync_write(const unsigned int xid, struct cifs_fid *pfid,
750 return CIFSSMBWrite2(xid, parms, written, iov, nr_segs);
755 FILE_BASIC_INFO *buf, const unsigned int xid)
785 rc = CIFSSMBSetPathInfo(xid, tcon, full_path, buf, cifs_sb->local_nls,
804 rc = CIFS_open(xid, &oparms, &oplock, NULL);
814 rc = CIFSSMBSetFileInfo(xid, tcon, buf, fid.netfid, netpid);
819 CIFSSMBClose(xid, tcon, fid.netfid);
829 cifs_set_compression(const unsigned int xid, struct cifs_tcon *tcon,
832 return CIFSSMB_set_compression(xid, tcon, cfile->fid.netfid);
836 cifs_query_dir_first(const unsigned int xid, struct cifs_tcon *tcon,
843 rc = CIFSFindFirst(xid, tcon, path, cifs_sb,
851 cifs_query_dir_next(const unsigned int xid, struct cifs_tcon *tcon,
855 return CIFSFindNext(xid, tcon, fid->netfid, search_flags, srch_inf);
859 cifs_close_dir(const unsigned int xid, struct cifs_tcon *tcon,
862 return CIFSFindClose(xid, tcon, fid->netfid);
875 cifs_queryfs(const unsigned int xid, struct cifs_tcon *tcon,
887 rc = CIFSSMBQFSPosixInfo(xid, tcon, buf);
894 rc = CIFSSMBQFSInfo(xid, tcon, buf);
902 rc = SMBOldQFSInfo(xid, tcon, buf);
907 cifs_mand_lock(const unsigned int xid, struct cifsFileInfo *cfile, __u64 offset,
910 return CIFSSMBLock(xid, tlink_tcon(cfile->tlink), cfile->fid.netfid,
916 cifs_unix_dfs_readlink(const unsigned int xid, struct cifs_tcon *tcon,
924 rc = get_dfs_path(xid, tcon->ses, searchName, nls_codepage, &referral,
942 cifs_query_symlink(const unsigned int xid, struct cifs_tcon *tcon,
960 rc = CIFSSMBUnixQuerySymLink(xid, tcon, full_path, target_path,
964 rc = cifs_unix_dfs_readlink(xid, tcon, full_path,
981 rc = CIFS_open(xid, &oparms, &oplock, NULL);
985 rc = CIFSSMBQuerySymLink(xid, tcon, fid.netfid, target_path,
992 CIFSSMBClose(xid, tcon, fid.netfid);
1027 cifs_make_node(unsigned int xid, struct inode *inode,
1062 rc = CIFSSMBUnixSetPathInfo(xid, tcon, full_path, &args,
1069 inode->i_sb, xid);
1108 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, buf);
1128 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms,
1134 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms,
1137 tcon->ses->server->ops->close(xid, tcon, &fid);