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;
195 if (tcon->ses->server->oplocks)
209 if (tcon->unix_ext && cap_unix(tcon->ses) && !tcon->broken_posix_open &&
211 le64_to_cpu(tcon->fsUnixInfo.Capability))) {
222 CIFSSMBClose(xid, tcon, fid->netfid);
236 CIFSSMBClose(xid, tcon, fid->netfid);
255 tcon->broken_posix_open = true;
311 if (!tcon->unix_ext && (mode & S_IWUGO) == 0)
316 .tcon = tcon,
343 if ((tcon->unix_ext) && (*oplock & CIFS_CREATE_ACTION)) {
362 CIFSSMBUnixSetFileInfo(xid, tcon, &args, fid->netfid,
369 /* CIFSSMBWinSetPerms(xid,tcon,path,mode,-1,-1,nls);*/
376 if (tcon->unix_ext)
426 server->ops->close(xid, tcon, fid);
439 struct cifs_tcon *tcon;
489 tcon = tlink_tcon(tlink);
491 rc = check_name(direntry, tcon);
495 server = tcon->ses->server;
515 server->ops->close(xid, tcon, &fid);
531 server->ops->close(xid, tcon, &fid);
562 struct cifs_tcon *tcon;
581 tcon = tlink_tcon(tlink);
582 server = tcon->ses->server;
589 server->ops->close(xid, tcon, &fid);
605 struct cifs_tcon *tcon;
621 tcon = tlink_tcon(tlink);
630 trace_smb3_mknod_enter(xid, tcon->ses->Suid, tcon->tid, full_path);
632 rc = tcon->ses->server->ops->make_node(xid, inode, direntry, tcon,
638 trace_smb3_mknod_err(xid, tcon->ses->Suid, tcon->tid, rc);
640 trace_smb3_mknod_done(xid, tcon->ses->Suid, tcon->tid);