Lines Matching refs:fr_pool
177 struct iser_fr_pool *fr_pool = &ib_conn->fr_pool; in iser_alloc_fastreg_pool() local
181 INIT_LIST_HEAD(&fr_pool->list); in iser_alloc_fastreg_pool()
182 INIT_LIST_HEAD(&fr_pool->all_list); in iser_alloc_fastreg_pool()
183 spin_lock_init(&fr_pool->lock); in iser_alloc_fastreg_pool()
184 fr_pool->size = 0; in iser_alloc_fastreg_pool()
193 list_add_tail(&desc->list, &fr_pool->list); in iser_alloc_fastreg_pool()
194 list_add_tail(&desc->all_list, &fr_pool->all_list); in iser_alloc_fastreg_pool()
195 fr_pool->size++; in iser_alloc_fastreg_pool()
211 struct iser_fr_pool *fr_pool = &ib_conn->fr_pool; in iser_free_fastreg_pool() local
215 if (list_empty(&fr_pool->all_list)) in iser_free_fastreg_pool()
220 list_for_each_entry_safe(desc, tmp, &fr_pool->all_list, all_list) { in iser_free_fastreg_pool()
226 if (i < fr_pool->size) in iser_free_fastreg_pool()
228 fr_pool->size - i); in iser_free_fastreg_pool()