Lines Matching full:tcon
40 struct cifs_tcon *tcon, int add_treename) in cifs_build_path_to_root() argument
53 dfsplen = strnlen(tcon->tree_name, MAX_TREE_SIZE + 1); in cifs_build_path_to_root()
62 memcpy(full_path, tcon->tree_name, dfsplen); in cifs_build_path_to_root()
74 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry() local
75 bool prefix = tcon->Flags & SMB_SHARE_IS_IN_DFS; in build_path_from_dentry()
88 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry_optional_prefix() local
96 dfsplen = strnlen(tcon->tree_name, MAX_TREE_SIZE + 1); in build_path_from_dentry_optional_prefix()
126 memcpy(s, tcon->tree_name, dfsplen); in build_path_from_dentry_optional_prefix()
144 check_name(struct dentry *direntry, struct cifs_tcon *tcon) in check_name() argument
149 if (unlikely(tcon->fsAttrInfo.MaxPathNameComponentLength && in check_name()
151 le32_to_cpu(tcon->fsAttrInfo.MaxPathNameComponentLength))) in check_name()
176 struct cifs_tcon *tcon = tlink_tcon(tlink); local
181 struct TCP_Server_Info *server = tcon->ses->server;
185 if (tcon->ses->server->oplocks)
195 if (tcon->unix_ext && cap_unix(tcon->ses) && !tcon->broken_posix_open &&
197 le64_to_cpu(tcon->fsUnixInfo.Capability))) {
208 CIFSSMBClose(xid, tcon, fid->netfid);
222 CIFSSMBClose(xid, tcon, fid->netfid);
241 tcon->broken_posix_open = true;
295 if (!tcon->unix_ext && (mode & S_IWUGO) == 0)
298 oparms.tcon = tcon;
318 if ((tcon->unix_ext) && (*oplock & CIFS_CREATE_ACTION)) {
337 CIFSSMBUnixSetFileInfo(xid, tcon, &args, fid->netfid,
344 /* CIFSSMBWinSetPerms(xid,tcon,path,mode,-1,-1,nls);*/
351 if (tcon->unix_ext)
401 server->ops->close(xid, tcon, fid);
414 struct cifs_tcon *tcon; local
464 tcon = tlink_tcon(tlink);
466 rc = check_name(direntry, tcon);
470 server = tcon->ses->server;
490 server->ops->close(xid, tcon, &fid);
506 server->ops->close(xid, tcon, &fid);
537 struct cifs_tcon *tcon; local
556 tcon = tlink_tcon(tlink);
557 server = tcon->ses->server;
564 server->ops->close(xid, tcon, &fid);
580 struct cifs_tcon *tcon; local
596 tcon = tlink_tcon(tlink);
605 rc = tcon->ses->server->ops->make_node(xid, inode, direntry, tcon,