Home
last modified time | relevance | path

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

/linux/drivers/infiniband/ulp/iser/
H A Diser_verbs.c164 int iser_alloc_fastreg_pool(struct ib_conn *ib_conn, in iser_alloc_fastreg_pool() argument
168 struct iser_device *device = ib_conn->device; in iser_alloc_fastreg_pool()
169 struct iser_fr_pool *fr_pool = &ib_conn->fr_pool; in iser_alloc_fastreg_pool()
179 ib_conn->pi_support, size); in iser_alloc_fastreg_pool()
193 iser_free_fastreg_pool(ib_conn); in iser_alloc_fastreg_pool()
201 void iser_free_fastreg_pool(struct ib_conn *ib_conn) in iser_free_fastreg_pool() argument
203 struct iser_fr_pool *fr_pool = &ib_conn->fr_pool; in iser_free_fastreg_pool()
210 iser_info("freeing conn %p fr pool\n", ib_conn); in iser_free_fastreg_pool()
228 static int iser_create_ib_conn_res(struct ib_conn *ib_conn) in iser_create_ib_conn_res() argument
230 struct iser_conn *iser_conn = to_iser_conn(ib_conn); in iser_create_ib_conn_res()
[all …]
H A Diser_initiator.c147 struct iser_device *device = iser_conn->ib_conn.device; in iser_create_send_desc()
162 struct iser_device *device = iser_conn->ib_conn.device; in iser_free_login_buf()
184 struct iser_device *device = iser_conn->ib_conn.device; in iser_alloc_login_buf()
230 struct ib_conn *ib_conn = &iser_conn->ib_conn; in iser_alloc_rx_descriptors() local
231 struct iser_device *device = ib_conn->device; in iser_alloc_rx_descriptors()
235 if (iser_alloc_fastreg_pool(ib_conn, session->scsi_cmds_max, in iser_alloc_rx_descriptors()
277 iser_free_fastreg_pool(ib_conn); in iser_alloc_rx_descriptors()
287 struct ib_conn *ib_conn = &iser_conn->ib_conn; in iser_free_rx_descriptors() local
288 struct iser_device *device = ib_conn->device; in iser_free_rx_descriptors()
290 iser_free_fastreg_pool(ib_conn); in iser_free_rx_descriptors()
[all …]
H A Discsi_iser.h295 struct ib_conn;
367 struct ib_conn { struct
404 struct ib_conn ib_conn; member
524 int iser_post_send(struct ib_conn *ib_conn, struct iser_tx_desc *tx_desc);
538 int iser_alloc_fastreg_pool(struct ib_conn *ib_conn,
541 void iser_free_fastreg_pool(struct ib_conn *ib_conn);
546 to_iser_conn(struct ib_conn *ib_conn) in to_iser_conn() argument
548 return container_of(ib_conn, struct iser_conn, ib_conn); in to_iser_conn()
H A 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 …]
H A 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()