Lines Matching refs:it
148 struct mr_mfc_iter *it, loff_t pos)
150 struct mr_table *mrt = it->mrt;
154 it->cache = &mrt->mfc_cache_list;
160 spin_lock_bh(it->lock);
161 it->cache = &mrt->mfc_unres_queue;
162 list_for_each_entry(mfc, it->cache, list)
165 spin_unlock_bh(it->lock);
167 it->cache = NULL;
175 struct mr_mfc_iter *it = seq->private;
177 struct mr_table *mrt = it->mrt;
185 if (c->list.next != it->cache)
188 if (it->cache == &mrt->mfc_unres_queue)
193 it->cache = &mrt->mfc_unres_queue;
195 spin_lock_bh(it->lock);
196 if (!list_empty(it->cache))
197 return list_first_entry(it->cache, struct mr_mfc, list);
200 spin_unlock_bh(it->lock);
201 it->cache = NULL;