Lines Matching refs:tcon
299 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); local
302 rc = CIFSSMBUnixQFileInfo(xid, tcon, cfile->netfid, &find_data);
322 struct cifs_tcon *tcon; local
331 tcon = tlink_tcon(tlink);
334 rc = CIFSSMBUnixQPathInfo(xid, tcon, full_path, &find_data,
377 struct cifs_tcon *tcon; local
400 tcon = tlink_tcon(tlink);
402 rc = CIFSSMBOpen(xid, tcon, path, FILE_OPEN, GENERIC_READ,
412 io_parms.tcon = tcon;
456 CIFSSMBClose(xid, tcon, netfid);
477 struct cifs_tcon *tcon; local
482 tcon = tlink_tcon(tlink);
484 rc = CIFSSMBQAllEAs(xid, tcon, path, "SETFILEBITS",
511 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); local
527 fattr->cf_ctime.tv_sec += tcon->ses->server->timeAdj;
528 fattr->cf_mtime.tv_sec += tcon->ses->server->timeAdj;
572 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); local
575 rc = CIFSSMBQFileInfo(xid, tcon, cfile->netfid, &find_data);
760 struct cifs_tcon *tcon) argument
774 if (tcon->Flags & SMB_SHARE_IS_IN_DFS)
775 dfsplen = strnlen(tcon->treeName, MAX_TREE_SIZE + 1);
784 strncpy(full_path, tcon->treeName, dfsplen);
898 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); local
901 if (tcon->unix_ext)
913 tcon->resource_id = CIFS_I(inode)->uniqueid;
916 if (rc && tcon->ipc) {
1068 struct cifs_tcon *tcon; local
1075 tcon = tlink_tcon(tlink);
1077 rc = CIFSSMBOpen(xid, tcon, full_path, FILE_OPEN,
1101 rc = CIFSSMBSetFileInfo(xid, tcon, info_buf, netfid,
1112 rc = CIFSSMBRenameOpenFile(xid, tcon, netfid, NULL, cifs_sb->local_nls,
1122 rc = CIFSSMBSetFileDisposition(xid, tcon, true, netfid,
1142 CIFSSMBClose(xid, tcon, netfid);
1154 CIFSSMBRenameOpenFile(xid, tcon, netfid, dentry->d_name.name,
1160 if (!CIFSSMBSetFileInfo(xid, tcon, info_buf, netfid,
1186 struct cifs_tcon *tcon; local
1195 tcon = tlink_tcon(tlink);
1207 if ((tcon->ses->capabilities & CAP_UNIX) &&
1209 le64_to_cpu(tcon->fsUnixInfo.Capability))) {
1210 rc = CIFSPOSIXDelFile(xid, tcon, full_path,
1219 rc = CIFSSMBDelFile(xid, tcon, full_path, cifs_sb->local_nls,
1576 struct cifs_tcon *tcon; local
1585 tcon = tlink_tcon(tlink);
1608 if (rc == -EEXIST && tcon->unix_ext) {
1622 tmprc = CIFSSMBUnixQPathInfo(xid, tcon, fromName,
1630 tmprc = CIFSSMBUnixQPathInfo(xid, tcon, toName,
1806 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); local
1837 !tcon->unix_ext) {
1910 io_parms.tcon = pTcon;
1952 io_parms.tcon = pTcon;