Home
last modified time | relevance | path

Searched refs:fr_pool (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/infiniband/ulp/iser/
A Diser_memory.c50 struct iser_fr_pool *fr_pool = &ib_conn->fr_pool; in iser_reg_desc_get_fr() local
54 spin_lock_irqsave(&fr_pool->lock, flags); in iser_reg_desc_get_fr()
55 desc = list_first_entry(&fr_pool->list, in iser_reg_desc_get_fr()
58 spin_unlock_irqrestore(&fr_pool->lock, flags); in iser_reg_desc_get_fr()
67 struct iser_fr_pool *fr_pool = &ib_conn->fr_pool; in iser_reg_desc_put_fr() local
70 spin_lock_irqsave(&fr_pool->lock, flags); in iser_reg_desc_put_fr()
71 list_add(&desc->list, &fr_pool->list); in iser_reg_desc_put_fr()
72 spin_unlock_irqrestore(&fr_pool->lock, flags); in iser_reg_desc_put_fr()
A Diser_verbs.c177 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()
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()
226 if (i < fr_pool->size) in iser_free_fastreg_pool()
[all …]
A Discsi_iser.h386 struct iser_fr_pool fr_pool; member
/linux/drivers/infiniband/ulp/srp/
A Dib_srp.c536 struct srp_fr_pool *fr_pool = NULL; in srp_create_ch_ib() local
591 fr_pool = srp_alloc_fr_pool(target); in srp_create_ch_ib()
592 if (IS_ERR(fr_pool)) { in srp_create_ch_ib()
593 ret = PTR_ERR(fr_pool); in srp_create_ch_ib()
612 if (ch->fr_pool) in srp_create_ch_ib()
613 srp_destroy_fr_pool(ch->fr_pool); in srp_create_ch_ib()
614 ch->fr_pool = fr_pool; in srp_create_ch_ib()
667 if (ch->fr_pool) in srp_free_ch_ib()
668 srp_destroy_fr_pool(ch->fr_pool); in srp_free_ch_ib()
1458 desc = srp_fr_pool_get(ch->fr_pool); in srp_map_finish_fr()
[all …]
A Dib_srp.h150 struct srp_fr_pool *fr_pool; member

Completed in 18 milliseconds