Lines Matching refs:tcon

1096 static bool target_share_equal(struct cifs_tcon *tcon, const char *s1)  in target_share_equal()  argument
1098 struct TCP_Server_Info *server = tcon->ses->server; in target_share_equal()
1099 const char *s2 = &tcon->tree_name[1]; in target_share_equal()
1123 static bool is_ses_good(struct cifs_tcon *tcon, struct cifs_ses *ses) in is_ses_good() argument
1150 ipc = cifs_setup_ipc(ses, tcon->seal); in is_ses_good()
1179 static void refresh_ses_referral(struct cifs_tcon *tcon, struct cifs_ses *ses) in refresh_ses_referral() argument
1195 if (!is_ses_good(tcon, ses)) { in refresh_ses_referral()
1211 static int __refresh_tcon_referral(struct cifs_tcon *tcon, in __refresh_tcon_referral() argument
1227 if (target_share_equal(tcon, refs[i].node_name)) { in __refresh_tcon_referral()
1248 cifs_signal_cifsd_for_reconnect(tcon->ses->server, true); in __refresh_tcon_referral()
1253 static void refresh_tcon_referral(struct cifs_tcon *tcon, bool force_refresh) in refresh_tcon_referral() argument
1265 ses = tcon->ses; in refresh_tcon_referral()
1283 if (!is_ses_good(tcon, ses)) { in refresh_tcon_referral()
1291 rc = __refresh_tcon_referral(tcon, path, refs, in refresh_tcon_referral()
1312 struct cifs_tcon *tcon; in dfs_cache_remount_fs() local
1317 tcon = cifs_sb_master_tcon(cifs_sb); in dfs_cache_remount_fs()
1319 spin_lock(&tcon->tc_lock); in dfs_cache_remount_fs()
1320 if (!tcon->origin_fullpath) { in dfs_cache_remount_fs()
1321 spin_unlock(&tcon->tc_lock); in dfs_cache_remount_fs()
1325 spin_unlock(&tcon->tc_lock); in dfs_cache_remount_fs()
1338 refresh_tcon_referral(tcon, true); in dfs_cache_remount_fs()
1345 struct cifs_tcon *tcon; in dfs_cache_refresh() local
1348 tcon = container_of(work, struct cifs_tcon, dfs_cache_work.work); in dfs_cache_refresh()
1350 list_for_each_entry(ses, &tcon->dfs_ses_list, dlist) in dfs_cache_refresh()
1351 refresh_ses_referral(tcon, ses); in dfs_cache_refresh()
1352 refresh_tcon_referral(tcon, false); in dfs_cache_refresh()
1354 queue_delayed_work(dfscache_wq, &tcon->dfs_cache_work, in dfs_cache_refresh()