Lines Matching full:tcon

354 	struct cifs_tcon *tcon = tlink_tcon(cfile->tlink);  local
357 rc = CIFSSMBUnixQFileInfo(xid, tcon, cfile->fid.netfid, &find_data);
377 struct cifs_tcon *tcon; local
386 tcon = tlink_tcon(tlink);
389 rc = CIFSSMBUnixQPathInfo(xid, tcon, full_path, &find_data,
404 int tmprc = check_mf_symlink(xid, tcon, cifs_sb, &fattr,
449 struct cifs_tcon *tcon; local
475 tcon = tlink_tcon(tlink);
477 oparms.tcon = tcon;
486 if (tcon->ses->server->oplocks)
490 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL);
500 io_parms.tcon = tcon;
504 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms,
546 tcon->ses->server->ops->close(xid, tcon, &fid);
566 struct cifs_tcon *tcon; local
571 tcon = tlink_tcon(tlink);
573 if (tcon->ses->server->ops->query_all_EAs == NULL) {
578 rc = tcon->ses->server->ops->query_all_EAs(xid, tcon, path,
605 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); local
622 fattr->cf_ctime.tv_sec += tcon->ses->server->timeAdj;
623 fattr->cf_mtime.tv_sec += tcon->ses->server->timeAdj;
662 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); local
678 fattr->cf_ctime.tv_sec += tcon->ses->server->timeAdj;
679 fattr->cf_mtime.tv_sec += tcon->ses->server->timeAdj;
712 if (!tcon->unix_ext)
726 if ((fattr->cf_nlink < 1) && !tcon->unix_ext &&
747 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); local
748 struct TCP_Server_Info *server = tcon->ses->server;
754 rc = server->ops->query_file_info(xid, tcon, &cfile->fid, &find_data);
814 struct cifs_tcon *tcon, argument
827 if (tcon->unix_ext)
829 else if ((tcon->ses->capabilities &
830 tcon->ses->server->vals->cap_nt_find) == 0)
841 rc = CIFSFindFirst(xid, tcon, full_path,
853 struct cifs_tcon *tcon, argument
861 struct TCP_Server_Info *server = tcon->ses->server;
873 * If we have an inode pass a NULL tcon to ensure we don't
877 *inode ? NULL : tcon,
904 fattr->cf_uniqueid = simple_hashstr(tcon->treeName);
922 struct cifs_tcon *tcon; local
939 tcon = tlink_tcon(tlink);
940 server = tcon->ses->server;
956 rc = server->ops->query_path_info(xid, tcon, cifs_sb,
975 rc = server->ops->query_reparse_tag(xid, tcon, cifs_sb,
1001 rc = cifs_backup_query_path_info(xid, tcon, sb,
1029 cifs_set_fattr_ino(xid, tcon, sb, inode, full_path, data, &fattr);
1073 tmprc = check_mf_symlink(xid, tcon, cifs_sb, &fattr,
1120 struct cifs_tcon *tcon; local
1133 tcon = tlink_tcon(tlink);
1149 rc = smb311_posix_query_path_info(xid, tcon, cifs_sb,
1186 tmprc = check_mf_symlink(xid, tcon, cifs_sb, &fattr,
1337 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); local
1356 if (tcon->unix_ext) {
1362 tcon->unix_ext = false;
1366 if (tcon->posix_extensions)
1378 /* populate tcon->resource_id */
1379 tcon->resource_id = CIFS_I(inode)->uniqueid;
1382 if (rc && tcon->pipe) {
1471 struct cifs_tcon *tcon; local
1478 tcon = tlink_tcon(tlink);
1484 if (!(tcon->ses->capabilities & CAP_INFOLEVEL_PASSTHRU)) {
1489 oparms.tcon = tcon;
1519 rc = CIFSSMBSetFileInfo(xid, tcon, info_buf, fid.netfid,
1530 rc = CIFSSMBRenameOpenFile(xid, tcon, fid.netfid, NULL,
1540 rc = CIFSSMBSetFileDisposition(xid, tcon, true, fid.netfid,
1560 CIFSSMBClose(xid, tcon, fid.netfid);
1572 CIFSSMBRenameOpenFile(xid, tcon, fid.netfid, dentry->d_name.name,
1577 if (!CIFSSMBSetFileInfo(xid, tcon, info_buf, fid.netfid,
1612 struct cifs_tcon *tcon; local
1622 tcon = tlink_tcon(tlink);
1623 server = tcon->ses->server;
1627 if (tcon->nodelete) {
1640 if (cap_unix(tcon->ses) && (CIFS_UNIX_POSIX_PATH_OPS_CAP &
1641 le64_to_cpu(tcon->fsUnixInfo.Capability))) {
1642 rc = CIFSPOSIXDelFile(xid, tcon, full_path,
1656 rc = server->ops->unlink(xid, tcon, full_path, cifs_sb);
1720 struct cifs_tcon *tcon, const unsigned int xid) argument
1725 if (tcon->posix_extensions)
1727 else if (tcon->unix_ext)
1749 if (tcon->unix_ext) {
1767 CIFSSMBUnixSetPathInfo(xid, tcon, full_path, &args,
1771 struct TCP_Server_Info *server = tcon->ses->server;
1775 tcon, xid);
1794 struct cifs_tcon *tcon, const unsigned int xid) argument
1809 rc = CIFSPOSIXCreate(xid, tcon, SMB_O_DIRECTORY | SMB_O_CREAT, mode,
1849 rc = cifs_mkdir_qinfo(inode, dentry, mode, full_path, cifs_sb, tcon,
1860 struct cifs_tcon *tcon; local
1871 tcon = tlink_tcon(tlink);
1881 server = tcon->ses->server;
1883 if ((server->ops->posix_mkdir) && (tcon->posix_extensions)) {
1884 rc = server->ops->posix_mkdir(xid, inode, mode, tcon, full_path,
1890 if (cap_unix(tcon->ses) && (CIFS_UNIX_POSIX_PATH_OPS_CAP &
1891 le64_to_cpu(tcon->fsUnixInfo.Capability))) {
1893 tcon, xid);
1904 rc = server->ops->mkdir(xid, inode, mode, tcon, full_path, cifs_sb);
1912 rc = cifs_mkdir_qinfo(inode, direntry, mode, full_path, cifs_sb, tcon,
1932 struct cifs_tcon *tcon; local
1953 tcon = tlink_tcon(tlink);
1954 server = tcon->ses->server;
1962 if (tcon->nodelete) {
1968 rc = server->ops->rmdir(xid, tcon, full_path, cifs_sb);
2005 struct cifs_tcon *tcon; local
2014 tcon = tlink_tcon(tlink);
2015 server = tcon->ses->server;
2021 rc = server->ops->rename(xid, tcon, from_path, to_path, cifs_sb);
2039 oparms.tcon = tcon;
2051 rc = CIFSSMBRenameOpenFile(xid, tcon, fid.netfid,
2054 CIFSSMBClose(xid, tcon, fid.netfid);
2072 struct cifs_tcon *tcon; local
2085 tcon = tlink_tcon(tlink);
2114 if (rc == -EEXIST && tcon->unix_ext) {
2128 tmprc = CIFSSMBUnixQPathInfo(xid, tcon, from_name,
2135 tmprc = CIFSSMBUnixQPathInfo(xid, tcon, to_name,
2370 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); local
2427 !tcon->unix_ext) {
2441 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); local
2442 struct TCP_Server_Info *server = tcon->ses->server;
2464 rc = server->ops->fiemap(tcon, cfile, fei, start, len);
2512 struct cifs_tcon *tcon = NULL; local
2526 tcon = tlink_tcon(open_file->tlink);
2527 server = tcon->ses->server;
2529 rc = server->ops->set_file_size(xid, tcon, open_file,
2541 if (tcon == NULL) {
2545 tcon = tlink_tcon(tlink);
2546 server = tcon->ses->server;
2555 rc = server->ops->set_path_size(xid, tcon, full_path,
2738 struct cifs_tcon *tcon; local
2789 tcon = tlink_tcon(wfile->tlink);
2790 rc = tcon->ses->server->ops->flush(xid, tcon, &wfile->fid);