Lines Matching refs:srpt_rdma_ch

102 static void srpt_process_wait_list(struct srpt_rdma_ch *ch);
108 static bool srpt_set_ch_state(struct srpt_rdma_ch *ch, enum rdma_ch_state new) in srpt_set_ch_state()
215 static void srpt_qp_event(struct ib_event *event, struct srpt_rdma_ch *ch) in srpt_qp_event()
819 static int srpt_post_recv(struct srpt_device *sdev, struct srpt_rdma_ch *ch, in srpt_post_recv()
851 static int srpt_zerolength_write(struct srpt_rdma_ch *ch) in srpt_zerolength_write()
870 struct srpt_rdma_ch *ch = wc->qp->qp_context; in srpt_zerolength_write_done()
891 struct srpt_rdma_ch *ch = ioctx->ch; in srpt_alloc_rw_ctxs()
954 static void srpt_free_rw_ctxs(struct srpt_rdma_ch *ch, in srpt_free_rw_ctxs()
1108 static int srpt_init_ch_qp(struct srpt_rdma_ch *ch, struct ib_qp *qp) in srpt_init_ch_qp()
1148 static int srpt_ch_qp_rtr(struct srpt_rdma_ch *ch, struct ib_qp *qp) in srpt_ch_qp_rtr()
1180 static int srpt_ch_qp_rts(struct srpt_rdma_ch *ch, struct ib_qp *qp) in srpt_ch_qp_rts()
1203 static int srpt_ch_qp_err(struct srpt_rdma_ch *ch) in srpt_ch_qp_err()
1215 static struct srpt_send_ioctx *srpt_get_send_ioctx(struct srpt_rdma_ch *ch) in srpt_get_send_ioctx()
1323 struct srpt_rdma_ch *ch = wc->qp->qp_context; in srpt_rdma_read_done()
1361 static int srpt_build_cmd_rsp(struct srpt_rdma_ch *ch, in srpt_build_cmd_rsp()
1443 static int srpt_build_tskmgmt_rsp(struct srpt_rdma_ch *ch, in srpt_build_tskmgmt_rsp()
1484 static void srpt_handle_cmd(struct srpt_rdma_ch *ch, in srpt_handle_cmd()
1577 static void srpt_handle_tsk_mgmt(struct srpt_rdma_ch *ch, in srpt_handle_tsk_mgmt()
1616 srpt_handle_new_iu(struct srpt_rdma_ch *ch, struct srpt_recv_ioctx *recv_ioctx) in srpt_handle_new_iu()
1688 struct srpt_rdma_ch *ch = wc->qp->qp_context; in srpt_recv_done()
1711 static void srpt_process_wait_list(struct srpt_rdma_ch *ch) in srpt_process_wait_list()
1749 struct srpt_rdma_ch *ch = wc->qp->qp_context; in srpt_send_done()
1779 static int srpt_create_ch_ib(struct srpt_rdma_ch *ch) in srpt_create_ch_ib()
1879 static void srpt_destroy_ch_ib(struct srpt_rdma_ch *ch) in srpt_destroy_ch_ib()
1895 static bool srpt_close_ch(struct srpt_rdma_ch *ch) in srpt_close_ch()
1935 static int srpt_disconnect_ch(struct srpt_rdma_ch *ch) in srpt_disconnect_ch()
1957 static void srpt_disconnect_ch_sync(struct srpt_rdma_ch *ch) in srpt_disconnect_ch_sync()
1980 struct srpt_rdma_ch *ch; in __srpt_close_all_ch()
2059 struct srpt_rdma_ch *ch = container_of(kref, struct srpt_rdma_ch, kref); in srpt_free_ch()
2075 struct srpt_rdma_ch *ch; in srpt_release_channel_work()
2080 ch = container_of(w, struct srpt_rdma_ch, release_work); in srpt_release_channel_work()
2154 struct srpt_rdma_ch *ch = NULL; in srpt_cm_req_recv()
2365 struct srpt_rdma_ch *ch2; in srpt_cm_req_recv()
2573 static void srpt_cm_rej_recv(struct srpt_rdma_ch *ch, in srpt_cm_rej_recv()
2599 static void srpt_cm_rtu_recv(struct srpt_rdma_ch *ch) in srpt_cm_rtu_recv()
2642 struct srpt_rdma_ch *ch = cm_id->context; in srpt_cm_handler()
2694 struct srpt_rdma_ch *ch = cm_id->context; in srpt_rdma_cm_handler()
2741 struct srpt_rdma_ch *ch = ioctx->ch; in srpt_write_pending()
2808 struct srpt_rdma_ch *ch = ioctx->ch; in srpt_queue_response()
2917 struct srpt_rdma_ch *ch = ioctx->ch; in srpt_aborted_task()
2951 struct srpt_rdma_ch *ch; in srpt_release_sport()
3346 struct srpt_rdma_ch *ch = ioctx->ch; in srpt_release_cmd()
3376 struct srpt_rdma_ch *ch = se_sess->fabric_sess_ptr; in srpt_close_session()