Lines Matching defs:tgt_it
343 struct dfs_cache_tgt_iterator **tgt_it)
350 if (!*tgt_it) {
351 *tgt_it = dfs_cache_get_tgt_iterator(tgt_list);
353 *tgt_it = dfs_cache_get_next_tgt(tgt_list, *tgt_it);
354 if (!*tgt_it)
355 *tgt_it = dfs_cache_get_tgt_iterator(tgt_list);
360 name = dfs_cache_get_tgt_name(*tgt_it);
402 struct dfs_cache_tgt_iterator *tgt_it = NULL;
526 reconn_set_next_dfs_target(server, cifs_sb, &tgt_list, &tgt_it);
554 if (tgt_it) {
556 tgt_it);
4283 struct dfs_cache_tgt_iterator **tgt_it)
4285 if (!*tgt_it)
4286 *tgt_it = dfs_cache_get_tgt_iterator(tgt_list);
4288 *tgt_it = dfs_cache_get_next_tgt(tgt_list, *tgt_it);
4289 return !*tgt_it ? -EHOSTDOWN : 0;
4292 static int update_vol_info(const struct dfs_cache_tgt_iterator *tgt_it,
4295 const char *tgt = dfs_cache_get_tgt_name(tgt_it);
4318 const struct dfs_cache_tgt_iterator *tgt_it,
4330 rc = dfs_cache_get_tgt_referral(path, tgt_it, &ref);
4362 rc = update_vol_info(tgt_it, &fake_vol, vol);
4376 struct dfs_cache_tgt_iterator *tgt_it = NULL;
4387 rc = get_next_dfs_tgt(path, &tgt_list, &tgt_it);
4391 rc = setup_dfs_tgt_conn(path, full_path, tgt_it, cifs_sb, vol, xid, server, ses,
4404 tgt_it);