Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/ulp/iser/
Diser_verbs.c237 struct iser_conn *iser_conn = to_iser_conn(ib_conn); in iser_create_ib_conn_res() local
280 iser_conn->max_cmds = ISER_GET_MAX_XMIT_CMDS(max_send_wr - 1); in iser_create_ib_conn_res()
353 static int iser_conn_state_comp_exch(struct iser_conn *iser_conn, in iser_conn_state_comp_exch() argument
359 ret = (iser_conn->state == comp); in iser_conn_state_comp_exch()
361 iser_conn->state = exch; in iser_conn_state_comp_exch()
368 struct iser_conn *iser_conn; in iser_release_work() local
370 iser_conn = container_of(work, struct iser_conn, release_work); in iser_release_work()
373 wait_for_completion(&iser_conn->stop_completion); in iser_release_work()
375 wait_for_completion(&iser_conn->ib_completion); in iser_release_work()
377 mutex_lock(&iser_conn->state_mutex); in iser_release_work()
[all …]
Discsi_iser.c198 struct iser_conn *iser_conn = task->conn->dd_data; in iser_initialize_task_headers() local
199 struct iser_device *device = iser_conn->ib_conn.device; in iser_initialize_task_headers()
203 if (unlikely(iser_conn->state != ISER_CONN_UP)) in iser_initialize_task_headers()
219 iser_task->iser_conn = iser_conn; in iser_initialize_task_headers()
368 struct iser_conn *iser_conn = task->conn->dd_data; in iscsi_iser_cleanup_task() local
369 struct iser_device *device = iser_conn->ib_conn.device; in iscsi_iser_cleanup_task()
457 struct iser_conn *iser_conn; in iscsi_iser_conn_bind() local
473 iser_conn = ep->dd_data; in iscsi_iser_conn_bind()
475 mutex_lock(&iser_conn->state_mutex); in iscsi_iser_conn_bind()
476 if (iser_conn->state != ISER_CONN_UP) { in iscsi_iser_conn_bind()
[all …]
Diser_initiator.c143 static void iser_create_send_desc(struct iser_conn *iser_conn, in iser_create_send_desc() argument
146 struct iser_device *device = iser_conn->ib_conn.device; in iser_create_send_desc()
156 static void iser_free_login_buf(struct iser_conn *iser_conn) in iser_free_login_buf() argument
158 struct iser_device *device = iser_conn->ib_conn.device; in iser_free_login_buf()
159 struct iser_login_desc *desc = &iser_conn->login_desc; in iser_free_login_buf()
178 static int iser_alloc_login_buf(struct iser_conn *iser_conn) in iser_alloc_login_buf() argument
180 struct iser_device *device = iser_conn->ib_conn.device; in iser_alloc_login_buf()
181 struct iser_login_desc *desc = &iser_conn->login_desc; in iser_alloc_login_buf()
219 int iser_alloc_rx_descriptors(struct iser_conn *iser_conn, in iser_alloc_rx_descriptors() argument
226 struct ib_conn *ib_conn = &iser_conn->ib_conn; in iser_alloc_rx_descriptors()
[all …]
Discsi_iser.h294 struct iser_conn;
406 struct iser_conn { struct
443 struct iser_conn *iser_conn; member
491 void iser_conn_init(struct iser_conn *iser_conn);
493 void iser_conn_release(struct iser_conn *iser_conn);
495 int iser_conn_terminate(struct iser_conn *iser_conn);
511 void iser_free_rx_descriptors(struct iser_conn *iser_conn);
523 int iser_connect(struct iser_conn *iser_conn,
528 int iser_post_recvl(struct iser_conn *iser_conn);
529 int iser_post_recvm(struct iser_conn *iser_conn,
[all …]
Diser_memory.c80 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()