Searched refs:fr_pool (Results 1 – 7 of 7) sorted by relevance
/linux-4.4.14/drivers/infiniband/ulp/iser/ |
D | iser_memory.c | 94 struct iser_fr_pool *fr_pool = &ib_conn->fr_pool; in iser_reg_desc_get_fr() local 98 spin_lock_irqsave(&fr_pool->lock, flags); in iser_reg_desc_get_fr() 99 desc = list_first_entry(&fr_pool->list, in iser_reg_desc_get_fr() 102 spin_unlock_irqrestore(&fr_pool->lock, flags); in iser_reg_desc_get_fr() 111 struct iser_fr_pool *fr_pool = &ib_conn->fr_pool; in iser_reg_desc_put_fr() local 114 spin_lock_irqsave(&fr_pool->lock, flags); in iser_reg_desc_put_fr() 115 list_add(&desc->list, &fr_pool->list); in iser_reg_desc_put_fr() 116 spin_unlock_irqrestore(&fr_pool->lock, flags); in iser_reg_desc_put_fr() 122 struct iser_fr_pool *fr_pool = &ib_conn->fr_pool; in iser_reg_desc_get_fmr() local 124 return list_first_entry(&fr_pool->list, in iser_reg_desc_get_fmr()
|
D | iser_verbs.c | 212 struct iser_fr_pool *fr_pool = &ib_conn->fr_pool; in iser_alloc_fmr_pool() local 219 INIT_LIST_HEAD(&fr_pool->list); in iser_alloc_fmr_pool() 220 spin_lock_init(&fr_pool->lock); in iser_alloc_fmr_pool() 256 list_add(&desc->list, &fr_pool->list); in iser_alloc_fmr_pool() 273 struct iser_fr_pool *fr_pool = &ib_conn->fr_pool; in iser_free_fmr_pool() local 276 desc = list_first_entry(&fr_pool->list, in iser_free_fmr_pool() 403 struct iser_fr_pool *fr_pool = &ib_conn->fr_pool; in iser_alloc_fastreg_pool() local 407 INIT_LIST_HEAD(&fr_pool->list); in iser_alloc_fastreg_pool() 408 spin_lock_init(&fr_pool->lock); in iser_alloc_fastreg_pool() 409 fr_pool->size = 0; in iser_alloc_fastreg_pool() [all …]
|
D | iscsi_iser.h | 494 struct iser_fr_pool fr_pool; member
|
/linux-4.4.14/drivers/infiniband/ulp/srp/ |
D | ib_srp.h | 150 struct srp_fr_pool *fr_pool; member
|
D | ib_srp.c | 490 struct srp_fr_pool *fr_pool = NULL; in srp_create_ch_ib() local 541 fr_pool = srp_alloc_fr_pool(target); in srp_create_ch_ib() 542 if (IS_ERR(fr_pool)) { in srp_create_ch_ib() 543 ret = PTR_ERR(fr_pool); in srp_create_ch_ib() 570 if (ch->fr_pool) in srp_create_ch_ib() 571 srp_destroy_fr_pool(ch->fr_pool); in srp_create_ch_ib() 572 ch->fr_pool = fr_pool; in srp_create_ch_ib() 619 if (ch->fr_pool) in srp_free_ch_ib() 620 srp_destroy_fr_pool(ch->fr_pool); in srp_free_ch_ib() 1087 srp_fr_pool_put(ch->fr_pool, req->fr_list, in srp_unmap_data() [all …]
|
/linux-4.4.14/drivers/infiniband/ulp/isert/ |
D | ib_isert.h | 172 struct list_head fr_pool; member
|
D | ib_isert.c | 462 if (list_empty(&isert_conn->fr_pool)) in isert_conn_free_fastreg_pool() 468 &isert_conn->fr_pool, list) { in isert_conn_free_fastreg_pool() 582 list_add_tail(&fr_desc->list, &isert_conn->fr_pool); in isert_conn_create_fastreg_pool() 607 INIT_LIST_HEAD(&isert_conn->fr_pool); in isert_init_conn() 1711 list_add_tail(&wr->fr_desc->list, &isert_conn->fr_pool); in isert_unreg_rdma() 2796 fr_desc = list_first_entry(&isert_conn->fr_pool, in isert_reg_rdma() 2847 list_add_tail(&fr_desc->list, &isert_conn->fr_pool); in isert_reg_rdma()
|