Lines Matching refs:tgt_it

343 				       struct dfs_cache_tgt_iterator **tgt_it)  in reconn_set_next_dfs_target()  argument
350 if (!*tgt_it) { in reconn_set_next_dfs_target()
351 *tgt_it = dfs_cache_get_tgt_iterator(tgt_list); in reconn_set_next_dfs_target()
353 *tgt_it = dfs_cache_get_next_tgt(tgt_list, *tgt_it); in reconn_set_next_dfs_target()
354 if (!*tgt_it) in reconn_set_next_dfs_target()
355 *tgt_it = dfs_cache_get_tgt_iterator(tgt_list); in reconn_set_next_dfs_target()
360 name = dfs_cache_get_tgt_name(*tgt_it); in reconn_set_next_dfs_target()
402 struct dfs_cache_tgt_iterator *tgt_it = NULL; in cifs_reconnect() local
526 reconn_set_next_dfs_target(server, cifs_sb, &tgt_list, &tgt_it); in cifs_reconnect()
554 if (tgt_it) { in cifs_reconnect()
556 tgt_it); in cifs_reconnect()
4281 struct dfs_cache_tgt_iterator **tgt_it) in get_next_dfs_tgt() argument
4283 if (!*tgt_it) in get_next_dfs_tgt()
4284 *tgt_it = dfs_cache_get_tgt_iterator(tgt_list); in get_next_dfs_tgt()
4286 *tgt_it = dfs_cache_get_next_tgt(tgt_list, *tgt_it); in get_next_dfs_tgt()
4287 return !*tgt_it ? -EHOSTDOWN : 0; in get_next_dfs_tgt()
4290 static int update_vol_info(const struct dfs_cache_tgt_iterator *tgt_it, in update_vol_info() argument
4293 const char *tgt = dfs_cache_get_tgt_name(tgt_it); in update_vol_info()
4316 const struct dfs_cache_tgt_iterator *tgt_it, in setup_dfs_tgt_conn() argument
4328 rc = dfs_cache_get_tgt_referral(path, tgt_it, &ref); in setup_dfs_tgt_conn()
4360 rc = update_vol_info(tgt_it, &fake_vol, vol); in setup_dfs_tgt_conn()
4374 struct dfs_cache_tgt_iterator *tgt_it = NULL; in do_dfs_failover() local
4385 rc = get_next_dfs_tgt(path, &tgt_list, &tgt_it); in do_dfs_failover()
4389 rc = setup_dfs_tgt_conn(path, full_path, tgt_it, cifs_sb, vol, xid, server, ses, in do_dfs_failover()
4402 tgt_it); in do_dfs_failover()