Lines Matching full:tcon

41 			struct cifs_tcon *tcon, int add_treename)  in cifs_build_path_to_root()  argument
54 dfsplen = strnlen(tcon->tree_name, MAX_TREE_SIZE + 1); in cifs_build_path_to_root()
63 memcpy(full_path, tcon->tree_name, dfsplen); in cifs_build_path_to_root()
75 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry() local
76 bool prefix = tcon->Flags & SMB_SHARE_IS_IN_DFS; in build_path_from_dentry()
142 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry_optional_prefix() local
144 return __build_path_from_dentry_optional_prefix(direntry, page, tcon->tree_name, in build_path_from_dentry_optional_prefix()
154 check_name(struct dentry *direntry, struct cifs_tcon *tcon) in check_name() argument
159 if (unlikely(tcon->fsAttrInfo.MaxPathNameComponentLength && in check_name()
161 le32_to_cpu(tcon->fsAttrInfo.MaxPathNameComponentLength))) in check_name()
186 struct cifs_tcon *tcon = tlink_tcon(tlink); local
191 struct TCP_Server_Info *server = tcon->ses->server;
198 if (tcon->ses->server->oplocks)
212 if (tcon->unix_ext && cap_unix(tcon->ses) && !tcon->broken_posix_open &&
214 le64_to_cpu(tcon->fsUnixInfo.Capability))) {
225 CIFSSMBClose(xid, tcon, fid->netfid);
239 CIFSSMBClose(xid, tcon, fid->netfid);
258 tcon->broken_posix_open = true;
314 if (!tcon->unix_ext && (mode & S_IWUGO) == 0)
319 if (tcon->cfids && direntry->d_parent && server->dialect >= SMB30_PROT_ID) {
321 spin_lock(&tcon->cfids->cfid_list_lock);
322 list_for_each_entry(parent_cfid, &tcon->cfids->entries, entry) {
336 spin_unlock(&tcon->cfids->cfid_list_lock);
340 .tcon = tcon,
368 if ((tcon->unix_ext) && (*oplock & CIFS_CREATE_ACTION)) {
387 CIFSSMBUnixSetFileInfo(xid, tcon, &args, fid->netfid,
394 /* CIFSSMBWinSetPerms(xid,tcon,path,mode,-1,-1,nls);*/
401 if (tcon->unix_ext)
451 server->ops->close(xid, tcon, fid);
464 struct cifs_tcon *tcon; local
514 tcon = tlink_tcon(tlink);
516 rc = check_name(direntry, tcon);
520 server = tcon->ses->server;
540 server->ops->close(xid, tcon, &fid);
556 server->ops->close(xid, tcon, &fid);
587 struct cifs_tcon *tcon; local
606 tcon = tlink_tcon(tlink);
607 server = tcon->ses->server;
614 server->ops->close(xid, tcon, &fid);
630 struct cifs_tcon *tcon; local
646 tcon = tlink_tcon(tlink);
655 trace_smb3_mknod_enter(xid, tcon->tid, tcon->ses->Suid, full_path);
657 rc = tcon->ses->server->ops->make_node(xid, inode, direntry, tcon,
663 trace_smb3_mknod_err(xid, tcon->tid, tcon->ses->Suid, rc);
665 trace_smb3_mknod_done(xid, tcon->tid, tcon->ses->Suid);