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()
1580 static void srpt_handle_tsk_mgmt(struct srpt_rdma_ch *ch, in srpt_handle_tsk_mgmt()
1619 srpt_handle_new_iu(struct srpt_rdma_ch *ch, struct srpt_recv_ioctx *recv_ioctx) in srpt_handle_new_iu()
1691 struct srpt_rdma_ch *ch = wc->qp->qp_context; in srpt_recv_done() local
1714 static void srpt_process_wait_list(struct srpt_rdma_ch *ch) in srpt_process_wait_list()
1752 struct srpt_rdma_ch *ch = wc->qp->qp_context; in srpt_send_done() local
1782 static int srpt_create_ch_ib(struct srpt_rdma_ch *ch) in srpt_create_ch_ib()
1882 static void srpt_destroy_ch_ib(struct srpt_rdma_ch *ch) in srpt_destroy_ch_ib()
1898 static bool srpt_close_ch(struct srpt_rdma_ch *ch) in srpt_close_ch()
1938 static int srpt_disconnect_ch(struct srpt_rdma_ch *ch) in srpt_disconnect_ch()
1960 static void srpt_disconnect_ch_sync(struct srpt_rdma_ch *ch) in srpt_disconnect_ch_sync()
1983 struct srpt_rdma_ch *ch; in __srpt_close_all_ch() local
2062 struct srpt_rdma_ch *ch = container_of(kref, struct srpt_rdma_ch, kref); in srpt_free_ch() local
2078 struct srpt_rdma_ch *ch; in srpt_release_channel_work() local
2157 struct srpt_rdma_ch *ch = NULL; in srpt_cm_req_recv() local
2576 static void srpt_cm_rej_recv(struct srpt_rdma_ch *ch, in srpt_cm_rej_recv()
2602 static void srpt_cm_rtu_recv(struct srpt_rdma_ch *ch) in srpt_cm_rtu_recv()
2645 struct srpt_rdma_ch *ch = cm_id->context; in srpt_cm_handler() local
2697 struct srpt_rdma_ch *ch = cm_id->context; in srpt_rdma_cm_handler() local
2744 struct srpt_rdma_ch *ch = ioctx->ch; in srpt_write_pending() local
2811 struct srpt_rdma_ch *ch = ioctx->ch; in srpt_queue_response() local
2920 struct srpt_rdma_ch *ch = ioctx->ch; in srpt_aborted_task() local
2954 struct srpt_rdma_ch *ch; in srpt_release_sport() local
3349 struct srpt_rdma_ch *ch = ioctx->ch; in srpt_release_cmd() local
3379 struct srpt_rdma_ch *ch = se_sess->fabric_sess_ptr; in srpt_close_session() local