Home
last modified time | relevance | path

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

/freebsd/sys/dev/iser/
H A Diser_verbs.c90 iser_handle_comp_error(struct ib_conn *ib_conn, in iser_handle_comp_error() argument
94 struct iser_conn *iser_conn = container_of(ib_conn, struct iser_conn, in iser_handle_comp_error()
95 ib_conn); in iser_handle_comp_error()
101 ib_conn->post_recv_buf_count--; in iser_handle_comp_error()
117 struct ib_conn *ib_conn; in iser_handle_wc() local
121 ib_conn = wc->qp->qp_context; in iser_handle_wc()
126 ib_conn); in iser_handle_wc()
130 iser_snd_completion(tx_desc, ib_conn); in iser_handle_wc()
135 struct iser_conn *iser_conn = container_of(ib_conn, struct iser_conn, in iser_handle_wc()
136 ib_conn); in iser_handle_wc()
[all …]
H A Diser_memory.c29 iser_reg_desc_get(struct ib_conn *ib_conn) in iser_reg_desc_get() argument
33 mtx_lock(&ib_conn->lock); in iser_reg_desc_get()
34 desc = list_first_entry(&ib_conn->fastreg.pool, in iser_reg_desc_get()
37 mtx_unlock(&ib_conn->lock); in iser_reg_desc_get()
43 iser_reg_desc_put(struct ib_conn *ib_conn, in iser_reg_desc_put() argument
46 mtx_lock(&ib_conn->lock); in iser_reg_desc_put()
47 list_add(&desc->list, &ib_conn->fastreg.pool); in iser_reg_desc_put()
48 mtx_unlock(&ib_conn->lock); in iser_reg_desc_put()
104 dev = iser_pdu->iser_conn->ib_conn.device->ib_device; in iser_dma_unmap_task_data()
156 struct ib_conn *ib_conn = &iser_pdu->iser_conn->ib_conn; in iser_fast_reg_mr() local
[all …]
H A Diser_initiator.c105 struct iser_device *device = iser_conn->ib_conn.device; in iser_create_send_desc()
124 struct iser_device *device = iser_conn->ib_conn.device; in iser_free_login_buf()
150 struct iser_device *device = iser_conn->ib_conn.device; in iser_alloc_login_buf()
204 struct ib_conn *ib_conn = &iser_conn->ib_conn; in iser_alloc_rx_descriptors() local
205 struct iser_device *device = ib_conn->device; in iser_alloc_rx_descriptors()
210 if (iser_create_fastreg_pool(ib_conn, cmds_max)) in iser_alloc_rx_descriptors()
249 iser_free_fastreg_pool(ib_conn); in iser_alloc_rx_descriptors()
261 struct ib_conn *ib_conn = &iser_conn->ib_conn; in iser_free_rx_descriptors() local
262 struct iser_device *device = ib_conn->device; in iser_free_rx_descriptors()
264 iser_free_fastreg_pool(ib_conn); in iser_free_rx_descriptors()
[all …]
H A Dicl_iser.c92 struct iser_device *device = iser_conn->ib_conn.device; in iser_initialize_headers()
286 mtx_init(&iser_conn->ib_conn.beacon.flush_lock, "iser_flush_lock", NULL, MTX_DEF); in iser_new_conn()
287 cv_init(&iser_conn->ib_conn.beacon.flush_cv, "flush_cv"); in iser_new_conn()
288 mtx_init(&iser_conn->ib_conn.lock, "iser_lock", NULL, MTX_DEF); in iser_new_conn()
306 mtx_destroy(&iser_conn->ib_conn.lock); in iser_conn_free()
307 cv_destroy(&iser_conn->ib_conn.beacon.flush_cv); in iser_conn_free()
308 mtx_destroy(&iser_conn->ib_conn.beacon.flush_lock); in iser_conn_free()
357 struct ib_conn *ib_conn = &iser_conn->ib_conn; in iser_conn_release() local
382 if (ib_conn->cma_id != NULL) { in iser_conn_release()
383 rdma_destroy_id(ib_conn->cma_id); in iser_conn_release()
[all …]
H A Dicl_iser.h256 struct ib_conn;
409 struct ib_conn { struct
433 struct ib_conn ib_conn; argument
487 iser_post_send(struct ib_conn *, struct iser_tx_desc *, bool);
490 iser_snd_completion(struct iser_tx_desc *, struct ib_conn *);
494 struct ib_conn *);
524 iser_create_fastreg_pool(struct ib_conn *, unsigned);
527 iser_free_fastreg_pool(struct ib_conn *);