Lines Matching defs:ch
123 static enum rdma_ch_state srpt_get_ch_state(struct srpt_rdma_ch *ch) in srpt_get_ch_state()
135 srpt_set_ch_state(struct srpt_rdma_ch *ch, enum rdma_ch_state new_state) in srpt_set_ch_state()
153 srpt_test_and_set_ch_state(struct srpt_rdma_ch *ch, enum rdma_ch_state old, in srpt_test_and_set_ch_state()
227 static void srpt_qp_event(struct ib_event *event, struct srpt_rdma_ch *ch) in srpt_qp_event()
800 static int srpt_post_send(struct srpt_rdma_ch *ch, in srpt_post_send()
951 static int srpt_init_ch_qp(struct srpt_rdma_ch *ch, struct ib_qp *qp) in srpt_init_ch_qp()
985 static int srpt_ch_qp_rtr(struct srpt_rdma_ch *ch, struct ib_qp *qp) in srpt_ch_qp_rtr()
1015 static int srpt_ch_qp_rts(struct srpt_rdma_ch *ch, struct ib_qp *qp) in srpt_ch_qp_rts()
1037 static int srpt_ch_qp_err(struct srpt_rdma_ch *ch) in srpt_ch_qp_err()
1048 static void srpt_unmap_sg_to_ib_sge(struct srpt_rdma_ch *ch, in srpt_unmap_sg_to_ib_sge()
1078 static int srpt_map_sg_to_ib_sge(struct srpt_rdma_ch *ch, in srpt_map_sg_to_ib_sge()
1256 static struct srpt_send_ioctx *srpt_get_send_ioctx(struct srpt_rdma_ch *ch) in srpt_get_send_ioctx()
1333 struct srpt_rdma_ch *ch = ioctx->ch; in srpt_abort_cmd() local
1386 static void srpt_handle_send_err_comp(struct srpt_rdma_ch *ch, u64 wr_id) in srpt_handle_send_err_comp()
1416 static void srpt_handle_send_comp(struct srpt_rdma_ch *ch, in srpt_handle_send_comp()
1447 static void srpt_handle_rdma_comp(struct srpt_rdma_ch *ch, in srpt_handle_rdma_comp()
1471 static void srpt_handle_rdma_err_comp(struct srpt_rdma_ch *ch, in srpt_handle_rdma_err_comp()
1518 static int srpt_build_cmd_rsp(struct srpt_rdma_ch *ch, in srpt_build_cmd_rsp()
1576 static int srpt_build_tskmgmt_rsp(struct srpt_rdma_ch *ch, in srpt_build_tskmgmt_rsp()
1688 static int srpt_handle_cmd(struct srpt_rdma_ch *ch, in srpt_handle_cmd()
1771 static void srpt_handle_tsk_mgmt(struct srpt_rdma_ch *ch, in srpt_handle_tsk_mgmt()
1813 static void srpt_handle_new_iu(struct srpt_rdma_ch *ch, in srpt_handle_new_iu()
1878 struct srpt_rdma_ch *ch, in srpt_process_rcv_completion()
1916 struct srpt_rdma_ch *ch, in srpt_process_send_completion()
1960 static void srpt_process_completion(struct ib_cq *cq, struct srpt_rdma_ch *ch) in srpt_process_completion()
1991 struct srpt_rdma_ch *ch = ctx; in srpt_completion() local
1998 struct srpt_rdma_ch *ch; in srpt_compl_thread() local
2020 static int srpt_create_ch_ib(struct srpt_rdma_ch *ch) in srpt_create_ch_ib()
2103 static void srpt_destroy_ch_ib(struct srpt_rdma_ch *ch) in srpt_destroy_ch_ib()
2120 static void __srpt_close_ch(struct srpt_rdma_ch *ch) in __srpt_close_ch()
2160 static void srpt_close_ch(struct srpt_rdma_ch *ch) in srpt_close_ch()
2175 struct srpt_rdma_ch *ch = se_sess->fabric_sess_ptr; in srpt_shutdown_session() local
2206 struct srpt_rdma_ch *ch; in srpt_drain_channel() local
2248 struct srpt_rdma_ch *ch; in srpt_find_channel() local
2275 static void srpt_release_channel(struct srpt_rdma_ch *ch) in srpt_release_channel()
2282 struct srpt_rdma_ch *ch; in srpt_release_channel_work() local
2363 struct srpt_rdma_ch *ch, *tmp_ch; in srpt_cm_req_recv() local
2634 struct srpt_rdma_ch *ch; in srpt_cm_rtu_recv() local
2672 struct srpt_rdma_ch *ch; in srpt_cm_dreq_recv() local
2771 static int srpt_perform_rdmas(struct srpt_rdma_ch *ch, in srpt_perform_rdmas()
2857 static int srpt_xfer_data(struct srpt_rdma_ch *ch, in srpt_xfer_data()
2899 struct srpt_rdma_ch *ch; in srpt_write_pending() local
2955 struct srpt_rdma_ch *ch; in srpt_queue_response() local
3080 struct srpt_rdma_ch *ch, *tmp_ch; in srpt_release_sdev() local
3429 struct srpt_rdma_ch *ch = ioctx->ch; in srpt_release_cmd() local
3456 struct srpt_rdma_ch *ch; in srpt_close_session() local