Lines Matching refs:tcon
345 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); local
348 rc = CIFSSMBUnixQFileInfo(xid, tcon, cfile->fid.netfid, &find_data);
368 struct cifs_tcon *tcon; local
377 tcon = tlink_tcon(tlink);
380 rc = CIFSSMBUnixQPathInfo(xid, tcon, full_path, &find_data,
395 int tmprc = check_mf_symlink(xid, tcon, cifs_sb, &fattr,
438 struct cifs_tcon *tcon; local
464 tcon = tlink_tcon(tlink);
466 oparms.tcon = tcon;
477 if (tcon->ses->server->oplocks)
481 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL);
491 io_parms.tcon = tcon;
495 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms,
537 tcon->ses->server->ops->close(xid, tcon, &fid);
557 struct cifs_tcon *tcon; local
562 tcon = tlink_tcon(tlink);
564 if (tcon->ses->server->ops->query_all_EAs == NULL) {
569 rc = tcon->ses->server->ops->query_all_EAs(xid, tcon, path,
597 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); local
615 fattr->cf_ctime.tv_sec += tcon->ses->server->timeAdj;
616 fattr->cf_mtime.tv_sec += tcon->ses->server->timeAdj;
635 if (!tcon->unix_ext)
649 if ((fattr->cf_nlink < 1) && !tcon->unix_ext &&
670 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); local
671 struct TCP_Server_Info *server = tcon->ses->server;
677 rc = server->ops->query_file_info(xid, tcon, &cfile->fid, &find_data);
732 struct cifs_tcon *tcon; local
745 tcon = tlink_tcon(tlink);
746 server = tcon->ses->server;
770 rc = server->ops->query_path_info(xid, tcon, cifs_sb, full_path,
795 rc = CIFSFindFirst(xid, tcon, full_path,
827 tcon, cifs_sb, full_path,
841 simple_hashstr(tcon->treeName);
898 tmprc = check_mf_symlink(xid, tcon, cifs_sb, &fattr,
1046 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); local
1065 if (tcon->unix_ext) {
1071 tcon->unix_ext = false;
1085 tcon->resource_id = CIFS_I(inode)->uniqueid;
1088 if (rc && tcon->pipe) {
1177 struct cifs_tcon *tcon; local
1184 tcon = tlink_tcon(tlink);
1190 if (!(tcon->ses->capabilities & CAP_INFOLEVEL_PASSTHRU)) {
1195 oparms.tcon = tcon;
1225 rc = CIFSSMBSetFileInfo(xid, tcon, info_buf, fid.netfid,
1236 rc = CIFSSMBRenameOpenFile(xid, tcon, fid.netfid, NULL,
1246 rc = CIFSSMBSetFileDisposition(xid, tcon, true, fid.netfid,
1266 CIFSSMBClose(xid, tcon, fid.netfid);
1278 CIFSSMBRenameOpenFile(xid, tcon, fid.netfid, dentry->d_name.name,
1283 if (!CIFSSMBSetFileInfo(xid, tcon, info_buf, fid.netfid,
1318 struct cifs_tcon *tcon; local
1328 tcon = tlink_tcon(tlink);
1329 server = tcon->ses->server;
1341 if (cap_unix(tcon->ses) && (CIFS_UNIX_POSIX_PATH_OPS_CAP &
1342 le64_to_cpu(tcon->fsUnixInfo.Capability))) {
1343 rc = CIFSPOSIXDelFile(xid, tcon, full_path,
1357 rc = server->ops->unlink(xid, tcon, full_path, cifs_sb);
1421 struct cifs_tcon *tcon, const unsigned int xid) argument
1426 if (tcon->unix_ext)
1448 if (tcon->unix_ext) {
1466 CIFSSMBUnixSetPathInfo(xid, tcon, full_path, &args,
1470 struct TCP_Server_Info *server = tcon->ses->server;
1474 tcon, xid);
1493 struct cifs_tcon *tcon, const unsigned int xid) argument
1508 rc = CIFSPOSIXCreate(xid, tcon, SMB_O_DIRECTORY | SMB_O_CREAT, mode,
1548 rc = cifs_mkdir_qinfo(inode, dentry, mode, full_path, cifs_sb, tcon,
1559 struct cifs_tcon *tcon; local
1570 tcon = tlink_tcon(tlink);
1580 server = tcon->ses->server;
1582 if ((server->ops->posix_mkdir) && (tcon->posix_extensions)) {
1583 rc = server->ops->posix_mkdir(xid, inode, mode, tcon, full_path,
1589 if (cap_unix(tcon->ses) && (CIFS_UNIX_POSIX_PATH_OPS_CAP &
1590 le64_to_cpu(tcon->fsUnixInfo.Capability))) {
1592 tcon, xid);
1603 rc = server->ops->mkdir(xid, tcon, full_path, cifs_sb);
1610 rc = cifs_mkdir_qinfo(inode, direntry, mode, full_path, cifs_sb, tcon,
1630 struct cifs_tcon *tcon; local
1651 tcon = tlink_tcon(tlink);
1652 server = tcon->ses->server;
1660 rc = server->ops->rmdir(xid, tcon, full_path, cifs_sb);
1697 struct cifs_tcon *tcon; local
1706 tcon = tlink_tcon(tlink);
1707 server = tcon->ses->server;
1713 rc = server->ops->rename(xid, tcon, from_path, to_path, cifs_sb);
1727 oparms.tcon = tcon;
1739 rc = CIFSSMBRenameOpenFile(xid, tcon, fid.netfid,
1742 CIFSSMBClose(xid, tcon, fid.netfid);
1758 struct cifs_tcon *tcon; local
1771 tcon = tlink_tcon(tlink);
1800 if (rc == -EEXIST && tcon->unix_ext) {
1814 tmprc = CIFSSMBUnixQPathInfo(xid, tcon, from_name,
1821 tmprc = CIFSSMBUnixQPathInfo(xid, tcon, to_name,
2046 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); local
2091 !tcon->unix_ext) {
2139 struct cifs_tcon *tcon = NULL; local
2153 tcon = tlink_tcon(open_file->tlink);
2154 server = tcon->ses->server;
2156 rc = server->ops->set_file_size(xid, tcon, open_file,
2168 if (tcon == NULL) {
2172 tcon = tlink_tcon(tlink);
2173 server = tcon->ses->server;
2182 rc = server->ops->set_path_size(xid, tcon, full_path,