Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/ulp/iser/
Diser_verbs.c172 int iser_alloc_fastreg_pool(struct ib_conn *ib_conn, in iser_alloc_fastreg_pool() argument
176 struct iser_device *device = ib_conn->device; in iser_alloc_fastreg_pool()
177 struct iser_fr_pool *fr_pool = &ib_conn->fr_pool; in iser_alloc_fastreg_pool()
187 ib_conn->pi_support, size); in iser_alloc_fastreg_pool()
201 iser_free_fastreg_pool(ib_conn); in iser_alloc_fastreg_pool()
209 void iser_free_fastreg_pool(struct ib_conn *ib_conn) in iser_free_fastreg_pool() argument
211 struct iser_fr_pool *fr_pool = &ib_conn->fr_pool; in iser_free_fastreg_pool()
218 iser_info("freeing conn %p fr pool\n", ib_conn); in iser_free_fastreg_pool()
236 static int iser_create_ib_conn_res(struct ib_conn *ib_conn) in iser_create_ib_conn_res() argument
238 struct iser_conn *iser_conn = to_iser_conn(ib_conn); in iser_create_ib_conn_res()
[all …]
Diser_initiator.c166 struct iser_device *device = iser_conn->ib_conn.device; in iser_create_send_desc()
178 struct iser_device *device = iser_conn->ib_conn.device; in iser_free_login_buf()
200 struct iser_device *device = iser_conn->ib_conn.device; in iser_alloc_login_buf()
246 struct ib_conn *ib_conn = &iser_conn->ib_conn; in iser_alloc_rx_descriptors() local
247 struct iser_device *device = ib_conn->device; in iser_alloc_rx_descriptors()
253 if (iser_alloc_fastreg_pool(ib_conn, session->scsi_cmds_max, in iser_alloc_rx_descriptors()
296 iser_free_fastreg_pool(ib_conn); in iser_alloc_rx_descriptors()
306 struct ib_conn *ib_conn = &iser_conn->ib_conn; in iser_free_rx_descriptors() local
307 struct iser_device *device = ib_conn->device; in iser_free_rx_descriptors()
309 iser_free_fastreg_pool(ib_conn); in iser_free_rx_descriptors()
[all …]
Discsi_iser.h299 struct ib_conn;
378 struct ib_conn { struct
421 struct ib_conn ib_conn; member
548 int iser_post_send(struct ib_conn *ib_conn, struct iser_tx_desc *tx_desc,
564 int iser_alloc_fastreg_pool(struct ib_conn *ib_conn,
567 void iser_free_fastreg_pool(struct ib_conn *ib_conn);
572 to_iser_conn(struct ib_conn *ib_conn) in to_iser_conn() argument
574 return container_of(ib_conn, struct iser_conn, ib_conn); in to_iser_conn()
Diser_memory.c48 iser_reg_desc_get_fr(struct ib_conn *ib_conn) in iser_reg_desc_get_fr() argument
50 struct iser_fr_pool *fr_pool = &ib_conn->fr_pool; in iser_reg_desc_get_fr()
64 iser_reg_desc_put_fr(struct ib_conn *ib_conn, in iser_reg_desc_put_fr() argument
67 struct iser_fr_pool *fr_pool = &ib_conn->fr_pool; in iser_reg_desc_put_fr()
83 dev = iser_task->iser_conn->ib_conn.device->ib_device; in iser_dma_map_task_data()
99 dev = iser_task->iser_conn->ib_conn.device->ib_device; in iser_dma_unmap_task_data()
153 iser_reg_desc_put_fr(&iser_task->iser_conn->ib_conn, reg->mem_h); in iser_unreg_mem_fastreg()
240 struct ib_cqe *cqe = &iser_task->iser_conn->ib_conn.reg_cqe; in iser_reg_sig_mr()
297 struct ib_cqe *cqe = &iser_task->iser_conn->ib_conn.reg_cqe; in iser_fast_reg_mr()
345 struct iser_device *device = task->iser_conn->ib_conn.device; in iser_reg_data_sg()
[all …]
Discsi_iser.c187 struct iser_device *device = iser_conn->ib_conn.device; in iser_initialize_task_headers()
372 struct iser_device *device = iser_conn->ib_conn.device; in iscsi_iser_cleanup_task()
614 struct ib_conn *ib_conn; in iscsi_iser_session_create() local
645 ib_conn = &iser_conn->ib_conn; in iscsi_iser_session_create()
646 ib_dev = ib_conn->device->ib_device; in iscsi_iser_session_create()
647 if (ib_conn->pi_support) { in iscsi_iser_session_create()
774 if (!iser_conn || !iser_conn->ib_conn.cma_id) in iscsi_iser_get_ep_param()
778 &iser_conn->ib_conn.cma_id->route.addr.dst_addr, in iscsi_iser_get_ep_param()