Lines Matching defs:ch

291 static int srp_new_cm_id(struct srp_rdma_ch *ch)  in srp_new_cm_id()
457 static void srp_destroy_qp(struct srp_rdma_ch *ch) in srp_destroy_qp()
482 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()
861 static int srp_alloc_req_data(struct srp_rdma_ch *ch) in srp_alloc_req_data()
926 struct srp_rdma_ch *ch; in srp_remove_target() local
988 static int srp_connect_ch(struct srp_rdma_ch *ch, bool multich) in srp_connect_ch()
1044 static int srp_inv_rkey(struct srp_rdma_ch *ch, u32 rkey) in srp_inv_rkey()
1060 struct srp_rdma_ch *ch, in srp_unmap_data()
1111 static struct scsi_cmnd *srp_claim_req(struct srp_rdma_ch *ch, in srp_claim_req()
1139 static void srp_free_req(struct srp_rdma_ch *ch, struct srp_request *req, in srp_free_req()
1151 static void srp_finish_req(struct srp_rdma_ch *ch, struct srp_request *req, in srp_finish_req()
1166 struct srp_rdma_ch *ch; in srp_terminate_io() local
1202 struct srp_rdma_ch *ch; in srp_rport_reconnect() local
1276 struct srp_rdma_ch *ch) in srp_map_finish_fmr()
1316 struct srp_rdma_ch *ch, int sg_nents) in srp_map_finish_fr()
1377 struct srp_rdma_ch *ch, in srp_map_sg_entry()
1419 static int srp_map_sg_fmr(struct srp_map_state *state, struct srp_rdma_ch *ch, in srp_map_sg_fmr()
1446 static int srp_map_sg_fr(struct srp_map_state *state, struct srp_rdma_ch *ch, in srp_map_sg_fr()
1472 static int srp_map_sg_dma(struct srp_map_state *state, struct srp_rdma_ch *ch, in srp_map_sg_dma()
1500 static int srp_map_idb(struct srp_rdma_ch *ch, struct srp_request *req, in srp_map_idb()
1547 static int srp_map_data(struct scsi_cmnd *scmnd, struct srp_rdma_ch *ch, in srp_map_data()
1690 static void srp_put_tx_iu(struct srp_rdma_ch *ch, struct srp_iu *iu, in srp_put_tx_iu()
1715 static struct srp_iu *__srp_get_tx_iu(struct srp_rdma_ch *ch, in __srp_get_tx_iu()
1742 static int srp_post_send(struct srp_rdma_ch *ch, struct srp_iu *iu, int len) in srp_post_send()
1762 static int srp_post_recv(struct srp_rdma_ch *ch, struct srp_iu *iu) in srp_post_recv()
1780 static void srp_process_rsp(struct srp_rdma_ch *ch, struct srp_rsp *rsp) in srp_process_rsp()
1839 static int srp_response_common(struct srp_rdma_ch *ch, s32 req_delta, in srp_response_common()
1873 static void srp_process_cred_req(struct srp_rdma_ch *ch, in srp_process_cred_req()
1887 static void srp_process_aer_req(struct srp_rdma_ch *ch, in srp_process_aer_req()
1905 static void srp_handle_recv(struct srp_rdma_ch *ch, struct ib_wc *wc) in srp_handle_recv()
1976 bool send_err, struct srp_rdma_ch *ch) in srp_handle_qp_err()
2008 struct srp_rdma_ch *ch = ch_ptr; in srp_recv_completion() local
2023 struct srp_rdma_ch *ch = ch_ptr; in srp_send_completion() local
2041 struct srp_rdma_ch *ch; in srp_queuecommand() local
2156 static int srp_alloc_iu_bufs(struct srp_rdma_ch *ch) in srp_alloc_iu_bufs()
2235 struct srp_rdma_ch *ch) in srp_cm_rep_handler()
2314 struct srp_rdma_ch *ch) in srp_cm_rej_handler()
2397 struct srp_rdma_ch *ch = cm_id->context; in srp_cm_handler() local
2471 static int srp_send_tsk_mgmt(struct srp_rdma_ch *ch, u64 req_tag, u64 lun, in srp_send_tsk_mgmt()
2534 struct srp_rdma_ch *ch; in srp_abort() local
2567 struct srp_rdma_ch *ch; in srp_reset_device() local
2659 struct srp_rdma_ch *ch = &target->ch[0]; in show_dgid() local
2676 struct srp_rdma_ch *ch; in show_req_lim() local
3193 struct srp_rdma_ch *ch; in srp_create_target() local