Lines Matching defs:ch
120 static enum rdma_ch_state srpt_get_ch_state(struct srpt_rdma_ch *ch) in srpt_get_ch_state()
132 srpt_set_ch_state(struct srpt_rdma_ch *ch, enum rdma_ch_state new_state) in srpt_set_ch_state()
150 srpt_test_and_set_ch_state(struct srpt_rdma_ch *ch, enum rdma_ch_state old, in srpt_test_and_set_ch_state()
224 static void srpt_qp_event(struct ib_event *event, struct srpt_rdma_ch *ch) in srpt_qp_event()
799 static int srpt_post_send(struct srpt_rdma_ch *ch, in srpt_post_send()
950 static int srpt_init_ch_qp(struct srpt_rdma_ch *ch, struct ib_qp *qp) in srpt_init_ch_qp()
984 static int srpt_ch_qp_rtr(struct srpt_rdma_ch *ch, struct ib_qp *qp) in srpt_ch_qp_rtr()
1014 static int srpt_ch_qp_rts(struct srpt_rdma_ch *ch, struct ib_qp *qp) in srpt_ch_qp_rts()
1036 static int srpt_ch_qp_err(struct srpt_rdma_ch *ch) in srpt_ch_qp_err()
1047 static void srpt_unmap_sg_to_ib_sge(struct srpt_rdma_ch *ch, in srpt_unmap_sg_to_ib_sge()
1077 static int srpt_map_sg_to_ib_sge(struct srpt_rdma_ch *ch, in srpt_map_sg_to_ib_sge()
1255 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 = ioctx->ch; in srpt_abort_cmd() local
1385 static void srpt_handle_send_err_comp(struct srpt_rdma_ch *ch, u64 wr_id) in srpt_handle_send_err_comp()
1413 static void srpt_handle_send_comp(struct srpt_rdma_ch *ch, in srpt_handle_send_comp()
1444 static void srpt_handle_rdma_comp(struct srpt_rdma_ch *ch, in srpt_handle_rdma_comp()
1468 static void srpt_handle_rdma_err_comp(struct srpt_rdma_ch *ch, in srpt_handle_rdma_err_comp()
1513 static int srpt_build_cmd_rsp(struct srpt_rdma_ch *ch, in srpt_build_cmd_rsp()
1571 static int srpt_build_tskmgmt_rsp(struct srpt_rdma_ch *ch, in srpt_build_tskmgmt_rsp()
1683 static int srpt_handle_cmd(struct srpt_rdma_ch *ch, in srpt_handle_cmd()
1766 static void srpt_handle_tsk_mgmt(struct srpt_rdma_ch *ch, in srpt_handle_tsk_mgmt()
1808 static void srpt_handle_new_iu(struct srpt_rdma_ch *ch, in srpt_handle_new_iu()
1873 struct srpt_rdma_ch *ch, in srpt_process_rcv_completion()
1911 struct srpt_rdma_ch *ch, in srpt_process_send_completion()
1955 static void srpt_process_completion(struct ib_cq *cq, struct srpt_rdma_ch *ch) in srpt_process_completion()
1986 struct srpt_rdma_ch *ch = ctx; in srpt_completion() local
1993 struct srpt_rdma_ch *ch; in srpt_compl_thread() local
2015 static int srpt_create_ch_ib(struct srpt_rdma_ch *ch) in srpt_create_ch_ib()
2100 static void srpt_destroy_ch_ib(struct srpt_rdma_ch *ch) in srpt_destroy_ch_ib()
2117 static void __srpt_close_ch(struct srpt_rdma_ch *ch) in __srpt_close_ch()
2154 static void srpt_close_ch(struct srpt_rdma_ch *ch) in srpt_close_ch()
2169 struct srpt_rdma_ch *ch = se_sess->fabric_sess_ptr; in srpt_shutdown_session() local
2200 struct srpt_rdma_ch *ch; in srpt_drain_channel() local
2242 struct srpt_rdma_ch *ch; in srpt_find_channel() local
2269 static void srpt_release_channel(struct srpt_rdma_ch *ch) in srpt_release_channel()
2276 struct srpt_rdma_ch *ch; in srpt_release_channel_work() local
2357 struct srpt_rdma_ch *ch, *tmp_ch; in srpt_cm_req_recv() local
2627 struct srpt_rdma_ch *ch; in srpt_cm_rtu_recv() local
2665 struct srpt_rdma_ch *ch; in srpt_cm_dreq_recv() local
2764 static int srpt_perform_rdmas(struct srpt_rdma_ch *ch, in srpt_perform_rdmas()
2850 static int srpt_xfer_data(struct srpt_rdma_ch *ch, in srpt_xfer_data()
2892 struct srpt_rdma_ch *ch; in srpt_write_pending() local
2948 struct srpt_rdma_ch *ch; in srpt_queue_response() local
3073 struct srpt_rdma_ch *ch, *tmp_ch; in srpt_release_sdev() local
3346 struct srpt_rdma_ch *ch = ioctx->ch; in srpt_release_cmd() local
3373 struct srpt_rdma_ch *ch; in srpt_close_session() local