Lines Matching refs: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()
141 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry_optional_prefix() local
143 return __build_path_from_dentry_optional_prefix(direntry, page, tcon->tree_name, in build_path_from_dentry_optional_prefix()
153 check_name(struct dentry *direntry, struct cifs_tcon *tcon) in check_name() argument
158 if (unlikely(tcon->fsAttrInfo.MaxPathNameComponentLength && in check_name()
160 le32_to_cpu(tcon->fsAttrInfo.MaxPathNameComponentLength))) in check_name()
185 struct cifs_tcon *tcon = tlink_tcon(tlink); local
190 struct TCP_Server_Info *server = tcon->ses->server;
194 if (tcon->ses->server->oplocks)
204 if (tcon->unix_ext && cap_unix(tcon->ses) && !tcon->broken_posix_open &&
206 le64_to_cpu(tcon->fsUnixInfo.Capability))) {
217 CIFSSMBClose(xid, tcon, fid->netfid);
231 CIFSSMBClose(xid, tcon, fid->netfid);
250 tcon->broken_posix_open = true;
304 if (!tcon->unix_ext && (mode & S_IWUGO) == 0)
308 .tcon = tcon,
328 if ((tcon->unix_ext) && (*oplock & CIFS_CREATE_ACTION)) {
347 CIFSSMBUnixSetFileInfo(xid, tcon, &args, fid->netfid,
361 if (tcon->unix_ext)
411 server->ops->close(xid, tcon, fid);
424 struct cifs_tcon *tcon; local
474 tcon = tlink_tcon(tlink);
476 rc = check_name(direntry, tcon);
480 server = tcon->ses->server;
500 server->ops->close(xid, tcon, &fid);
516 server->ops->close(xid, tcon, &fid);
547 struct cifs_tcon *tcon; local
566 tcon = tlink_tcon(tlink);
567 server = tcon->ses->server;
574 server->ops->close(xid, tcon, &fid);
590 struct cifs_tcon *tcon; local
606 tcon = tlink_tcon(tlink);
615 rc = tcon->ses->server->ops->make_node(xid, inode, direntry, tcon,