Lines Matching refs:it
45 void dfs_cache_noreq_update_tgthint(const char *path, const struct dfs_cache_tgt_iterator *it);
46 int dfs_cache_get_tgt_referral(const char *path, const struct dfs_cache_tgt_iterator *it,
48 int dfs_cache_get_tgt_share(char *path, const struct dfs_cache_tgt_iterator *it, char **share,
56 struct dfs_cache_tgt_iterator *it) in dfs_cache_get_next_tgt() argument
59 !it || list_is_last(&it->it_list, &tl->tl_list)) in dfs_cache_get_next_tgt()
61 return list_next_entry(it, it_list); in dfs_cache_get_next_tgt()
76 struct dfs_cache_tgt_iterator *it, *nit; in dfs_cache_free_tgts() local
80 list_for_each_entry_safe(it, nit, &tl->tl_list, it_list) { in dfs_cache_free_tgts()
81 list_del(&it->it_list); in dfs_cache_free_tgts()
82 kfree(it->it_name); in dfs_cache_free_tgts()
83 kfree(it); in dfs_cache_free_tgts()
89 dfs_cache_get_tgt_name(const struct dfs_cache_tgt_iterator *it) in dfs_cache_get_tgt_name() argument
91 return it ? it->it_name : NULL; in dfs_cache_get_tgt_name()