Lines Matching defs:ch
292 static int srp_new_cm_id(struct srp_rdma_ch *ch) in srp_new_cm_id()
466 static void srp_destroy_qp(struct srp_rdma_ch *ch) in srp_destroy_qp()
491 static int srp_create_ch_ib(struct srp_rdma_ch *ch) in srp_create_ch_ib()
601 struct srp_rdma_ch *ch) in srp_free_ch_ib()
658 struct srp_rdma_ch *ch = ch_ptr; in srp_path_rec_completion() local
670 static int srp_lookup_path(struct srp_rdma_ch *ch) in srp_lookup_path()
706 static int srp_send_req(struct srp_rdma_ch *ch, bool multich) in srp_send_req()
815 struct srp_rdma_ch *ch; in srp_disconnect_target() local
831 struct srp_rdma_ch *ch) in srp_free_req_data()
860 static int srp_alloc_req_data(struct srp_rdma_ch *ch) in srp_alloc_req_data()
924 struct srp_rdma_ch *ch; in srp_remove_target() local
986 static int srp_connect_ch(struct srp_rdma_ch *ch, bool multich) in srp_connect_ch()
1038 static int srp_inv_rkey(struct srp_rdma_ch *ch, u32 rkey) in srp_inv_rkey()
1054 struct srp_rdma_ch *ch, in srp_unmap_data()
1105 static struct scsi_cmnd *srp_claim_req(struct srp_rdma_ch *ch, in srp_claim_req()
1133 static void srp_free_req(struct srp_rdma_ch *ch, struct srp_request *req, in srp_free_req()
1145 static void srp_finish_req(struct srp_rdma_ch *ch, struct srp_request *req, in srp_finish_req()
1160 struct srp_rdma_ch *ch; in srp_terminate_io() local
1196 struct srp_rdma_ch *ch; in srp_rport_reconnect() local
1274 struct srp_rdma_ch *ch) in srp_map_finish_fmr()
1293 struct srp_rdma_ch *ch) in srp_map_finish_fr()
1335 struct srp_rdma_ch *ch) in srp_finish_mapping()
1369 struct srp_rdma_ch *ch, in srp_map_sg_entry()
1454 static int srp_map_sg(struct srp_map_state *state, struct srp_rdma_ch *ch, in srp_map_sg()
1506 static int srp_map_data(struct scsi_cmnd *scmnd, struct srp_rdma_ch *ch, in srp_map_data()
1632 static void srp_put_tx_iu(struct srp_rdma_ch *ch, struct srp_iu *iu, in srp_put_tx_iu()
1657 static struct srp_iu *__srp_get_tx_iu(struct srp_rdma_ch *ch, in __srp_get_tx_iu()
1684 static int srp_post_send(struct srp_rdma_ch *ch, struct srp_iu *iu, int len) in srp_post_send()
1704 static int srp_post_recv(struct srp_rdma_ch *ch, struct srp_iu *iu) in srp_post_recv()
1722 static void srp_process_rsp(struct srp_rdma_ch *ch, struct srp_rsp *rsp) in srp_process_rsp()
1781 static int srp_response_common(struct srp_rdma_ch *ch, s32 req_delta, in srp_response_common()
1815 static void srp_process_cred_req(struct srp_rdma_ch *ch, in srp_process_cred_req()
1829 static void srp_process_aer_req(struct srp_rdma_ch *ch, in srp_process_aer_req()
1847 static void srp_handle_recv(struct srp_rdma_ch *ch, struct ib_wc *wc) in srp_handle_recv()
1918 bool send_err, struct srp_rdma_ch *ch) in srp_handle_qp_err()
1949 struct srp_rdma_ch *ch = ch_ptr; in srp_recv_completion() local
1964 struct srp_rdma_ch *ch = ch_ptr; in srp_send_completion() local
1982 struct srp_rdma_ch *ch; in srp_queuecommand() local
2097 static int srp_alloc_iu_bufs(struct srp_rdma_ch *ch) in srp_alloc_iu_bufs()
2176 struct srp_rdma_ch *ch) in srp_cm_rep_handler()
2255 struct srp_rdma_ch *ch) in srp_cm_rej_handler()
2338 struct srp_rdma_ch *ch = cm_id->context; in srp_cm_handler() local
2412 static int srp_send_tsk_mgmt(struct srp_rdma_ch *ch, u64 req_tag, in srp_send_tsk_mgmt()
2475 struct srp_rdma_ch *ch; in srp_abort() local
2508 struct srp_rdma_ch *ch; in srp_reset_device() local
2603 struct srp_rdma_ch *ch = &target->ch[0]; in show_dgid() local
2620 struct srp_rdma_ch *ch; in show_req_lim() local
3138 struct srp_rdma_ch *ch; in srp_create_target() local