Lines Matching defs:tcon

40 			struct cifs_tcon *tcon, int add_treename)
53 dfsplen = strnlen(tcon->tree_name, MAX_TREE_SIZE + 1);
62 memcpy(full_path, tcon->tree_name, dfsplen);
74 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb);
75 bool prefix = tcon->Flags & SMB_SHARE_IS_IN_DFS;
141 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb);
143 return __build_path_from_dentry_optional_prefix(direntry, page, tcon->tree_name,
153 check_name(struct dentry *direntry, struct cifs_tcon *tcon)
158 if (unlikely(tcon->fsAttrInfo.MaxPathNameComponentLength &&
160 le32_to_cpu(tcon->fsAttrInfo.MaxPathNameComponentLength)))
185 struct cifs_tcon *tcon = tlink_tcon(tlink);
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,
354 /* CIFSSMBWinSetPerms(xid,tcon,path,mode,-1,-1,nls);*/
361 if (tcon->unix_ext)
411 server->ops->close(xid, tcon, fid);
424 struct cifs_tcon *tcon;
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;
566 tcon = tlink_tcon(tlink);
567 server = tcon->ses->server;
574 server->ops->close(xid, tcon, &fid);
590 struct cifs_tcon *tcon;
606 tcon = tlink_tcon(tlink);
615 rc = tcon->ses->server->ops->make_node(xid, inode, direntry, tcon,