Lines Matching refs:it
40 const struct dfs_cache_tgt_iterator *it);
41 int dfs_cache_noreq_update_tgthint(const char *path, const struct dfs_cache_tgt_iterator *it);
42 int dfs_cache_get_tgt_referral(const char *path, const struct dfs_cache_tgt_iterator *it,
44 int dfs_cache_get_tgt_share(char *path, const struct dfs_cache_tgt_iterator *it, char **share,
53 struct dfs_cache_tgt_iterator *it) in dfs_cache_get_next_tgt() argument
55 if (!tl || list_empty(&tl->tl_list) || !it || in dfs_cache_get_next_tgt()
56 list_is_last(&it->it_list, &tl->tl_list)) in dfs_cache_get_next_tgt()
58 return list_next_entry(it, it_list); in dfs_cache_get_next_tgt()
73 struct dfs_cache_tgt_iterator *it, *nit; in dfs_cache_free_tgts() local
77 list_for_each_entry_safe(it, nit, &tl->tl_list, it_list) { in dfs_cache_free_tgts()
78 list_del(&it->it_list); in dfs_cache_free_tgts()
79 kfree(it->it_name); in dfs_cache_free_tgts()
80 kfree(it); in dfs_cache_free_tgts()
86 dfs_cache_get_tgt_name(const struct dfs_cache_tgt_iterator *it) in dfs_cache_get_tgt_name() argument
88 return it ? it->it_name : NULL; in dfs_cache_get_tgt_name()