Lines Matching defs: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()
822 static int srpt_post_recv(struct srpt_device *sdev, struct srpt_rdma_ch *ch, in srpt_post_recv()
854 static int srpt_zerolength_write(struct srpt_rdma_ch *ch) in srpt_zerolength_write()
873 struct srpt_rdma_ch *ch = wc->qp->qp_context; in srpt_zerolength_write_done() local
894 struct srpt_rdma_ch *ch = ioctx->ch; in srpt_alloc_rw_ctxs() local
957 static void srpt_free_rw_ctxs(struct srpt_rdma_ch *ch, in srpt_free_rw_ctxs()
1111 static int srpt_init_ch_qp(struct srpt_rdma_ch *ch, struct ib_qp *qp) in srpt_init_ch_qp()
1151 static int srpt_ch_qp_rtr(struct srpt_rdma_ch *ch, struct ib_qp *qp) in srpt_ch_qp_rtr()
1183 static int srpt_ch_qp_rts(struct srpt_rdma_ch *ch, struct ib_qp *qp) in srpt_ch_qp_rts()
1206 static int srpt_ch_qp_err(struct srpt_rdma_ch *ch) in srpt_ch_qp_err()
1218 static struct srpt_send_ioctx *srpt_get_send_ioctx(struct srpt_rdma_ch *ch) in srpt_get_send_ioctx()
1326 struct srpt_rdma_ch *ch = wc->qp->qp_context; in srpt_rdma_read_done() local
1364 static int srpt_build_cmd_rsp(struct srpt_rdma_ch *ch, in srpt_build_cmd_rsp()
1446 static int srpt_build_tskmgmt_rsp(struct srpt_rdma_ch *ch, in srpt_build_tskmgmt_rsp()
1487 static void srpt_handle_cmd(struct srpt_rdma_ch *ch, in srpt_handle_cmd()
1576 static void srpt_handle_tsk_mgmt(struct srpt_rdma_ch *ch, in srpt_handle_tsk_mgmt()
1615 srpt_handle_new_iu(struct srpt_rdma_ch *ch, struct srpt_recv_ioctx *recv_ioctx) in srpt_handle_new_iu()
1687 struct srpt_rdma_ch *ch = wc->qp->qp_context; in srpt_recv_done() local
1710 static void srpt_process_wait_list(struct srpt_rdma_ch *ch) in srpt_process_wait_list()
1748 struct srpt_rdma_ch *ch = wc->qp->qp_context; in srpt_send_done() local
1778 static int srpt_create_ch_ib(struct srpt_rdma_ch *ch) in srpt_create_ch_ib()
1878 static void srpt_destroy_ch_ib(struct srpt_rdma_ch *ch) in srpt_destroy_ch_ib()
1894 static bool srpt_close_ch(struct srpt_rdma_ch *ch) in srpt_close_ch()
1934 static int srpt_disconnect_ch(struct srpt_rdma_ch *ch) in srpt_disconnect_ch()
1956 static void srpt_disconnect_ch_sync(struct srpt_rdma_ch *ch) in srpt_disconnect_ch_sync()
1979 struct srpt_rdma_ch *ch; in __srpt_close_all_ch() local
2058 struct srpt_rdma_ch *ch = container_of(kref, struct srpt_rdma_ch, kref); in srpt_free_ch() local
2074 struct srpt_rdma_ch *ch; in srpt_release_channel_work() local
2153 struct srpt_rdma_ch *ch = NULL; in srpt_cm_req_recv() local
2567 static void srpt_cm_rej_recv(struct srpt_rdma_ch *ch, in srpt_cm_rej_recv()
2593 static void srpt_cm_rtu_recv(struct srpt_rdma_ch *ch) in srpt_cm_rtu_recv()
2636 struct srpt_rdma_ch *ch = cm_id->context; in srpt_cm_handler() local
2688 struct srpt_rdma_ch *ch = cm_id->context; in srpt_rdma_cm_handler() local
2735 struct srpt_rdma_ch *ch = ioctx->ch; in srpt_write_pending() local
2802 struct srpt_rdma_ch *ch = ioctx->ch; in srpt_queue_response() local
2912 struct srpt_rdma_ch *ch = ioctx->ch; in srpt_aborted_task() local
2946 struct srpt_rdma_ch *ch; in srpt_release_sport() local
3313 struct srpt_rdma_ch *ch = ioctx->ch; in srpt_release_cmd() local
3343 struct srpt_rdma_ch *ch = se_sess->fabric_sess_ptr; in srpt_close_session() local