Lines Matching defs:tcon
1132 * Mark dfs tcon for reconnecting when the currently connected tcon does not match any of the new
1162 struct cifs_tcon *tcon = ses->tcon_ipc;
1169 !tcon->need_reconnect;
1175 /* Refresh dfs referral of tcon and mark it for reconnect if needed */
1224 static int refresh_tcon(struct cifs_tcon *tcon, bool force_refresh)
1226 struct TCP_Server_Info *server = tcon->ses->server;
1227 struct cifs_ses *ses = tcon->ses;
1248 struct cifs_tcon *tcon;
1253 tcon = cifs_sb_master_tcon(cifs_sb);
1255 spin_lock(&tcon->tc_lock);
1256 if (!tcon->origin_fullpath) {
1257 spin_unlock(&tcon->tc_lock);
1261 spin_unlock(&tcon->tc_lock);
1274 return refresh_tcon(tcon, true);
1277 /* Refresh all DFS referrals related to DFS tcon */
1282 struct cifs_tcon *tcon;
1285 tcon = container_of(work, struct cifs_tcon, dfs_cache_work.work);
1286 ses = tcon->ses;
1294 list_for_each_entry(rses, &tcon->dfs_ses_list, list) {
1303 queue_delayed_work(dfscache_wq, &tcon->dfs_cache_work,