Lines Matching refs:srpt_rdma_ch

106 static void srpt_process_wait_list(struct srpt_rdma_ch *ch);
112 static bool srpt_set_ch_state(struct srpt_rdma_ch *ch, enum rdma_ch_state new) in srpt_set_ch_state()
221 struct srpt_rdma_ch *ch = ptr; in srpt_qp_event()
828 static int srpt_post_recv(struct srpt_device *sdev, struct srpt_rdma_ch *ch, in srpt_post_recv()
860 static int srpt_zerolength_write(struct srpt_rdma_ch *ch) in srpt_zerolength_write()
879 struct srpt_rdma_ch *ch = wc->qp->qp_context; in srpt_zerolength_write_done()
900 struct srpt_rdma_ch *ch = ioctx->ch; in srpt_alloc_rw_ctxs()
963 static void srpt_free_rw_ctxs(struct srpt_rdma_ch *ch, in srpt_free_rw_ctxs()
1117 static int srpt_init_ch_qp(struct srpt_rdma_ch *ch, struct ib_qp *qp) in srpt_init_ch_qp()
1157 static int srpt_ch_qp_rtr(struct srpt_rdma_ch *ch, struct ib_qp *qp) in srpt_ch_qp_rtr()
1189 static int srpt_ch_qp_rts(struct srpt_rdma_ch *ch, struct ib_qp *qp) in srpt_ch_qp_rts()
1212 static int srpt_ch_qp_err(struct srpt_rdma_ch *ch) in srpt_ch_qp_err()
1224 static struct srpt_send_ioctx *srpt_get_send_ioctx(struct srpt_rdma_ch *ch) in srpt_get_send_ioctx()
1332 struct srpt_rdma_ch *ch = wc->qp->qp_context; in srpt_rdma_read_done()
1370 static int srpt_build_cmd_rsp(struct srpt_rdma_ch *ch, in srpt_build_cmd_rsp()
1452 static int srpt_build_tskmgmt_rsp(struct srpt_rdma_ch *ch, in srpt_build_tskmgmt_rsp()
1493 static void srpt_handle_cmd(struct srpt_rdma_ch *ch, in srpt_handle_cmd()
1586 static void srpt_handle_tsk_mgmt(struct srpt_rdma_ch *ch, in srpt_handle_tsk_mgmt()
1625 srpt_handle_new_iu(struct srpt_rdma_ch *ch, struct srpt_recv_ioctx *recv_ioctx) in srpt_handle_new_iu()
1697 struct srpt_rdma_ch *ch = wc->qp->qp_context; in srpt_recv_done()
1720 static void srpt_process_wait_list(struct srpt_rdma_ch *ch) in srpt_process_wait_list()
1758 struct srpt_rdma_ch *ch = wc->qp->qp_context; in srpt_send_done()
1788 static int srpt_create_ch_ib(struct srpt_rdma_ch *ch) in srpt_create_ch_ib()
1887 static void srpt_destroy_ch_ib(struct srpt_rdma_ch *ch) in srpt_destroy_ch_ib()
1903 static bool srpt_close_ch(struct srpt_rdma_ch *ch) in srpt_close_ch()
1943 static int srpt_disconnect_ch(struct srpt_rdma_ch *ch) in srpt_disconnect_ch()
1965 static void srpt_disconnect_ch_sync(struct srpt_rdma_ch *ch) in srpt_disconnect_ch_sync()
1988 struct srpt_rdma_ch *ch; in __srpt_close_all_ch()
2067 struct srpt_rdma_ch *ch = container_of(kref, struct srpt_rdma_ch, kref); in srpt_free_ch()
2083 struct srpt_rdma_ch *ch; in srpt_release_channel_work()
2088 ch = container_of(w, struct srpt_rdma_ch, release_work); in srpt_release_channel_work()
2162 struct srpt_rdma_ch *ch = NULL; in srpt_cm_req_recv()
2373 struct srpt_rdma_ch *ch2; in srpt_cm_req_recv()
2581 static void srpt_cm_rej_recv(struct srpt_rdma_ch *ch, in srpt_cm_rej_recv()
2607 static void srpt_cm_rtu_recv(struct srpt_rdma_ch *ch) in srpt_cm_rtu_recv()
2650 struct srpt_rdma_ch *ch = cm_id->context; in srpt_cm_handler()
2702 struct srpt_rdma_ch *ch = cm_id->context; in srpt_rdma_cm_handler()
2749 struct srpt_rdma_ch *ch = ioctx->ch; in srpt_write_pending()
2816 struct srpt_rdma_ch *ch = ioctx->ch; in srpt_queue_response()
2925 struct srpt_rdma_ch *ch = ioctx->ch; in srpt_aborted_task()
2959 struct srpt_rdma_ch *ch; in srpt_release_sport()
3343 struct srpt_rdma_ch *ch = ioctx->ch; in srpt_release_cmd()
3373 struct srpt_rdma_ch *ch = se_sess->fabric_sess_ptr; in srpt_close_session()