Lines Matching defs:tcon
50 struct cifs_tcon *tcon, int add_treename)
63 dfsplen = strnlen(tcon->treeName, MAX_TREE_SIZE + 1);
72 memcpy(full_path, tcon->treeName, dfsplen);
84 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb);
85 bool prefix = tcon->Flags & SMB_SHARE_IS_IN_DFS;
101 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb);
106 dfsplen = strnlen(tcon->treeName, MAX_TREE_SIZE + 1);
183 strncpy(full_path, tcon->treeName, dfsplen);
201 check_name(struct dentry *direntry, struct cifs_tcon *tcon)
206 if (unlikely(tcon->fsAttrInfo.MaxPathNameComponentLength &&
208 le32_to_cpu(tcon->fsAttrInfo.MaxPathNameComponentLength)))
234 struct cifs_tcon *tcon = tlink_tcon(tlink);
239 struct TCP_Server_Info *server = tcon->ses->server;
243 if (tcon->ses->server->oplocks)
250 if (tcon->unix_ext && cap_unix(tcon->ses) && !tcon->broken_posix_open &&
252 le64_to_cpu(tcon->fsUnixInfo.Capability))) {
263 CIFSSMBClose(xid, tcon, fid->netfid);
277 CIFSSMBClose(xid, tcon, fid->netfid);
296 tcon->broken_posix_open = true;
355 if (!tcon->unix_ext && (mode & S_IWUGO) == 0)
358 oparms.tcon = tcon;
377 if ((tcon->unix_ext) && (*oplock & CIFS_CREATE_ACTION)) {
396 CIFSSMBUnixSetFileInfo(xid, tcon, &args, fid->netfid,
403 /* CIFSSMBWinSetPerms(xid,tcon,path,mode,-1,-1,nls);*/
410 if (tcon->unix_ext)
455 server->ops->close(xid, tcon, fid);
468 struct cifs_tcon *tcon;
514 tcon = tlink_tcon(tlink);
516 rc = check_name(direntry, tcon);
520 server = tcon->ses->server;
541 server->ops->close(xid, tcon, &fid);
557 server->ops->close(xid, tcon, &fid);
583 struct cifs_tcon *tcon;
596 tcon = tlink_tcon(tlink);
597 server = tcon->ses->server;
605 server->ops->close(xid, tcon, &fid);
620 struct cifs_tcon *tcon;
631 tcon = tlink_tcon(tlink);
641 rc = tcon->ses->server->ops->make_node(xid, inode, direntry, tcon,