Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/infiniband/ulp/iser/
Diser_verbs.c171 int iser_alloc_fastreg_pool(struct ib_conn *ib_conn, in iser_alloc_fastreg_pool() argument
175 struct iser_device *device = ib_conn->device; in iser_alloc_fastreg_pool()
176 struct iser_fr_pool *fr_pool = &ib_conn->fr_pool; in iser_alloc_fastreg_pool()
186 ib_conn->pi_support, size); in iser_alloc_fastreg_pool()
200 iser_free_fastreg_pool(ib_conn); in iser_alloc_fastreg_pool()
208 void iser_free_fastreg_pool(struct ib_conn *ib_conn) in iser_free_fastreg_pool() argument
210 struct iser_fr_pool *fr_pool = &ib_conn->fr_pool; in iser_free_fastreg_pool()
217 iser_info("freeing conn %p fr pool\n", ib_conn); in iser_free_fastreg_pool()
235 static int iser_create_ib_conn_res(struct ib_conn *ib_conn) in iser_create_ib_conn_res() argument
237 struct iser_conn *iser_conn = to_iser_conn(ib_conn); in iser_create_ib_conn_res()
[all …]
Diser_initiator.c146 struct iser_device *device = iser_conn->ib_conn.device; in iser_create_send_desc()
158 struct iser_device *device = iser_conn->ib_conn.device; in iser_free_login_buf()
180 struct iser_device *device = iser_conn->ib_conn.device; in iser_alloc_login_buf()
226 struct ib_conn *ib_conn = &iser_conn->ib_conn; in iser_alloc_rx_descriptors() local
227 struct iser_device *device = ib_conn->device; in iser_alloc_rx_descriptors()
231 if (iser_alloc_fastreg_pool(ib_conn, session->scsi_cmds_max, in iser_alloc_rx_descriptors()
273 iser_free_fastreg_pool(ib_conn); in iser_alloc_rx_descriptors()
283 struct ib_conn *ib_conn = &iser_conn->ib_conn; in iser_free_rx_descriptors() local
284 struct iser_device *device = ib_conn->device; in iser_free_rx_descriptors()
286 iser_free_fastreg_pool(ib_conn); in iser_free_rx_descriptors()
[all …]
Discsi_iser.h295 struct ib_conn;
370 struct ib_conn { struct
407 struct ib_conn ib_conn; member
531 int iser_post_send(struct ib_conn *ib_conn, struct iser_tx_desc *tx_desc);
545 int iser_alloc_fastreg_pool(struct ib_conn *ib_conn,
548 void iser_free_fastreg_pool(struct ib_conn *ib_conn);
553 to_iser_conn(struct ib_conn *ib_conn) in to_iser_conn() argument
555 return container_of(ib_conn, struct iser_conn, ib_conn); in to_iser_conn()
Diser_memory.c46 static struct iser_fr_desc *iser_reg_desc_get_fr(struct ib_conn *ib_conn) in iser_reg_desc_get_fr() argument
48 struct iser_fr_pool *fr_pool = &ib_conn->fr_pool; in iser_reg_desc_get_fr()
61 static void iser_reg_desc_put_fr(struct ib_conn *ib_conn, in iser_reg_desc_put_fr() argument
64 struct iser_fr_pool *fr_pool = &ib_conn->fr_pool; in iser_reg_desc_put_fr()
80 dev = iser_task->iser_conn->ib_conn.device->ib_device; in iser_dma_map_task_data()
113 dev = iser_task->iser_conn->ib_conn.device->ib_device; in iser_dma_unmap_task_data()
172 iser_reg_desc_put_fr(&iser_task->iser_conn->ib_conn, reg->desc); in iser_unreg_mem_fastreg()
254 struct ib_cqe *cqe = &iser_task->iser_conn->ib_conn.reg_cqe; in iser_reg_sig_mr()
311 struct ib_cqe *cqe = &iser_task->iser_conn->ib_conn.reg_cqe; in iser_fast_reg_mr()
356 struct ib_conn *ib_conn = &task->iser_conn->ib_conn; in iser_reg_mem_fastreg() local
[all …]
Discsi_iser.c199 struct iser_device *device = iser_conn->ib_conn.device; in iser_initialize_task_headers()
369 struct iser_device *device = iser_conn->ib_conn.device; in iscsi_iser_cleanup_task()
611 struct ib_conn *ib_conn; in iscsi_iser_session_create() local
642 ib_conn = &iser_conn->ib_conn; in iscsi_iser_session_create()
643 ib_dev = ib_conn->device->ib_device; in iscsi_iser_session_create()
644 if (ib_conn->pi_support) { in iscsi_iser_session_create()
770 if (!iser_conn || !iser_conn->ib_conn.cma_id) in iscsi_iser_get_ep_param()
774 &iser_conn->ib_conn.cma_id->route.addr.dst_addr, in iscsi_iser_get_ep_param()