Lines Matching refs:tcon
340 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); local
343 rc = CIFSSMBUnixQFileInfo(xid, tcon, cfile->fid.netfid, &find_data);
363 struct cifs_tcon *tcon; local
372 tcon = tlink_tcon(tlink);
375 rc = CIFSSMBUnixQPathInfo(xid, tcon, full_path, &find_data,
390 int tmprc = check_mf_symlink(xid, tcon, cifs_sb, &fattr,
433 struct cifs_tcon *tcon; local
459 tcon = tlink_tcon(tlink);
461 oparms.tcon = tcon;
470 if (tcon->ses->server->oplocks)
474 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL);
484 io_parms.tcon = tcon;
488 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms,
530 tcon->ses->server->ops->close(xid, tcon, &fid);
550 struct cifs_tcon *tcon; local
555 tcon = tlink_tcon(tlink);
557 if (tcon->ses->server->ops->query_all_EAs == NULL) {
562 rc = tcon->ses->server->ops->query_all_EAs(xid, tcon, path,
590 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); local
606 fattr->cf_ctime.tv_sec += tcon->ses->server->timeAdj;
607 fattr->cf_mtime.tv_sec += tcon->ses->server->timeAdj;
626 if (!tcon->unix_ext)
640 if ((fattr->cf_nlink < 1) && !tcon->unix_ext &&
662 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); local
663 struct TCP_Server_Info *server = tcon->ses->server;
669 rc = server->ops->query_file_info(xid, tcon, &cfile->fid, &find_data);
712 struct cifs_tcon *tcon; local
725 tcon = tlink_tcon(tlink);
726 server = tcon->ses->server;
749 rc = server->ops->query_path_info(xid, tcon, cifs_sb, full_path,
774 rc = CIFSFindFirst(xid, tcon, full_path,
806 tcon, cifs_sb, full_path,
846 tmprc = check_mf_symlink(xid, tcon, cifs_sb, &fattr,
984 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); local
987 if (tcon->unix_ext) {
993 tcon->unix_ext = false;
1006 tcon->resource_id = CIFS_I(inode)->uniqueid;
1009 if (rc && tcon->ipc) {
1098 struct cifs_tcon *tcon; local
1105 tcon = tlink_tcon(tlink);
1111 if (!(tcon->ses->capabilities & CAP_INFOLEVEL_PASSTHRU)) {
1116 oparms.tcon = tcon;
1146 rc = CIFSSMBSetFileInfo(xid, tcon, info_buf, fid.netfid,
1157 rc = CIFSSMBRenameOpenFile(xid, tcon, fid.netfid, NULL,
1167 rc = CIFSSMBSetFileDisposition(xid, tcon, true, fid.netfid,
1187 CIFSSMBClose(xid, tcon, fid.netfid);
1199 CIFSSMBRenameOpenFile(xid, tcon, fid.netfid, dentry->d_name.name,
1204 if (!CIFSSMBSetFileInfo(xid, tcon, info_buf, fid.netfid,
1239 struct cifs_tcon *tcon; local
1249 tcon = tlink_tcon(tlink);
1250 server = tcon->ses->server;
1262 if (cap_unix(tcon->ses) && (CIFS_UNIX_POSIX_PATH_OPS_CAP &
1263 le64_to_cpu(tcon->fsUnixInfo.Capability))) {
1264 rc = CIFSPOSIXDelFile(xid, tcon, full_path,
1278 rc = server->ops->unlink(xid, tcon, full_path, cifs_sb);
1342 struct cifs_tcon *tcon, const unsigned int xid) argument
1347 if (tcon->unix_ext)
1369 if (tcon->unix_ext) {
1387 CIFSSMBUnixSetPathInfo(xid, tcon, full_path, &args,
1391 struct TCP_Server_Info *server = tcon->ses->server;
1395 tcon, xid);
1414 struct cifs_tcon *tcon, const unsigned int xid) argument
1429 rc = CIFSPOSIXCreate(xid, tcon, SMB_O_DIRECTORY | SMB_O_CREAT, mode,
1469 rc = cifs_mkdir_qinfo(inode, dentry, mode, full_path, cifs_sb, tcon,
1480 struct cifs_tcon *tcon; local
1491 tcon = tlink_tcon(tlink);
1501 if (cap_unix(tcon->ses) && (CIFS_UNIX_POSIX_PATH_OPS_CAP &
1502 le64_to_cpu(tcon->fsUnixInfo.Capability))) {
1504 tcon, xid);
1509 server = tcon->ses->server;
1517 rc = server->ops->mkdir(xid, tcon, full_path, cifs_sb);
1524 rc = cifs_mkdir_qinfo(inode, direntry, mode, full_path, cifs_sb, tcon,
1544 struct cifs_tcon *tcon; local
1565 tcon = tlink_tcon(tlink);
1566 server = tcon->ses->server;
1574 rc = server->ops->rmdir(xid, tcon, full_path, cifs_sb);
1611 struct cifs_tcon *tcon; local
1620 tcon = tlink_tcon(tlink);
1621 server = tcon->ses->server;
1627 rc = server->ops->rename(xid, tcon, from_path, to_path, cifs_sb);
1641 oparms.tcon = tcon;
1653 rc = CIFSSMBRenameOpenFile(xid, tcon, fid.netfid,
1656 CIFSSMBClose(xid, tcon, fid.netfid);
1672 struct cifs_tcon *tcon; local
1685 tcon = tlink_tcon(tlink);
1714 if (rc == -EEXIST && tcon->unix_ext) {
1728 tmprc = CIFSSMBUnixQPathInfo(xid, tcon, from_name,
1735 tmprc = CIFSSMBUnixQPathInfo(xid, tcon, to_name,
1959 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); local
1991 !tcon->unix_ext) {
2035 struct cifs_tcon *tcon = NULL; local
2049 tcon = tlink_tcon(open_file->tlink);
2050 server = tcon->ses->server;
2052 rc = server->ops->set_file_size(xid, tcon, open_file,
2064 if (tcon == NULL) {
2068 tcon = tlink_tcon(tlink);
2069 server = tcon->ses->server;
2078 rc = server->ops->set_path_size(xid, tcon, full_path,