Lines Matching defs:ch

302 static int srp_new_ib_cm_id(struct srp_rdma_ch *ch)  in srp_new_ib_cm_id()
328 static int srp_new_rdma_cm_id(struct srp_rdma_ch *ch) in srp_new_rdma_cm_id()
372 static int srp_new_cm_id(struct srp_rdma_ch *ch) in srp_new_cm_id()
531 static void srp_destroy_qp(struct srp_rdma_ch *ch) in srp_destroy_qp()
541 static int srp_create_ch_ib(struct srp_rdma_ch *ch) in srp_create_ch_ib()
665 struct srp_rdma_ch *ch) in srp_free_ch_ib()
730 struct srp_rdma_ch *ch = ch_ptr; in srp_path_rec_completion() local
742 static int srp_ib_lookup_path(struct srp_rdma_ch *ch) in srp_ib_lookup_path()
781 static int srp_rdma_lookup_path(struct srp_rdma_ch *ch) in srp_rdma_lookup_path()
801 static int srp_lookup_path(struct srp_rdma_ch *ch) in srp_lookup_path()
826 static int srp_send_req(struct srp_rdma_ch *ch, bool multich) in srp_send_req()
964 struct srp_rdma_ch *ch; in srp_disconnect_target() local
989 struct srp_rdma_ch *ch) in srp_free_req_data()
1019 static int srp_alloc_req_data(struct srp_rdma_ch *ch) in srp_alloc_req_data()
1085 struct srp_rdma_ch *ch; in srp_remove_target() local
1148 static int srp_connect_ch(struct srp_rdma_ch *ch, bool multich) in srp_connect_ch()
1209 static int srp_inv_rkey(struct srp_request *req, struct srp_rdma_ch *ch, in srp_inv_rkey()
1226 struct srp_rdma_ch *ch, in srp_unmap_data()
1277 static struct scsi_cmnd *srp_claim_req(struct srp_rdma_ch *ch, in srp_claim_req()
1305 static void srp_free_req(struct srp_rdma_ch *ch, struct srp_request *req, in srp_free_req()
1317 static void srp_finish_req(struct srp_rdma_ch *ch, struct srp_request *req, in srp_finish_req()
1332 struct srp_rdma_ch *ch; in srp_terminate_io() local
1368 struct srp_rdma_ch *ch; in srp_rport_reconnect() local
1442 struct srp_rdma_ch *ch) in srp_map_finish_fmr()
1498 struct srp_rdma_ch *ch, int sg_nents, in srp_map_finish_fr()
1576 struct srp_rdma_ch *ch, in srp_map_sg_entry()
1620 static int srp_map_sg_fmr(struct srp_map_state *state, struct srp_rdma_ch *ch, in srp_map_sg_fmr()
1644 static int srp_map_sg_fr(struct srp_map_state *state, struct srp_rdma_ch *ch, in srp_map_sg_fr()
1672 static int srp_map_sg_dma(struct srp_map_state *state, struct srp_rdma_ch *ch, in srp_map_sg_dma()
1697 static int srp_map_idb(struct srp_rdma_ch *ch, struct srp_request *req, in srp_map_idb()
1746 struct srp_rdma_ch *ch, struct srp_request *req, in srp_check_mapping()
1778 static int srp_map_data(struct scsi_cmnd *scmnd, struct srp_rdma_ch *ch, in srp_map_data()
1939 static void srp_put_tx_iu(struct srp_rdma_ch *ch, struct srp_iu *iu, in srp_put_tx_iu()
1964 static struct srp_iu *__srp_get_tx_iu(struct srp_rdma_ch *ch, in __srp_get_tx_iu()
2001 struct srp_rdma_ch *ch = cq->cq_context; in srp_send_done() local
2013 static int srp_post_send(struct srp_rdma_ch *ch, struct srp_iu *iu, int len) in srp_post_send()
2035 static int srp_post_recv(struct srp_rdma_ch *ch, struct srp_iu *iu) in srp_post_recv()
2055 static void srp_process_rsp(struct srp_rdma_ch *ch, struct srp_rsp *rsp) in srp_process_rsp()
2121 static int srp_response_common(struct srp_rdma_ch *ch, s32 req_delta, in srp_response_common()
2155 static void srp_process_cred_req(struct srp_rdma_ch *ch, in srp_process_cred_req()
2169 static void srp_process_aer_req(struct srp_rdma_ch *ch, in srp_process_aer_req()
2190 struct srp_rdma_ch *ch = cq->cq_context; in srp_recv_done() local
2266 struct srp_rdma_ch *ch = cq->cq_context; in srp_handle_qp_err() local
2283 struct srp_rdma_ch *ch; in srp_queuecommand() local
2398 static int srp_alloc_iu_bufs(struct srp_rdma_ch *ch) in srp_alloc_iu_bufs()
2477 struct srp_rdma_ch *ch) in srp_cm_rep_handler()
2558 struct srp_rdma_ch *ch) in srp_ib_cm_rej_handler()
2645 struct srp_rdma_ch *ch = cm_id->context; in srp_ib_cm_handler() local
2704 static void srp_rdma_cm_rej_handler(struct srp_rdma_ch *ch, in srp_rdma_cm_rej_handler()
2757 struct srp_rdma_ch *ch = cm_id->context; in srp_rdma_cm_handler() local
2848 static int srp_send_tsk_mgmt(struct srp_rdma_ch *ch, u64 req_tag, u64 lun, in srp_send_tsk_mgmt()
2918 struct srp_rdma_ch *ch; in srp_abort() local
2953 struct srp_rdma_ch *ch; in srp_reset_device() local
3075 struct srp_rdma_ch *ch = &target->ch[0]; in show_dgid() local
3096 struct srp_rdma_ch *ch; in show_req_lim() local
3725 struct srp_rdma_ch *ch; in srp_create_target() local