Lines Matching refs:srp_rdma_ch
303 static int srp_new_ib_cm_id(struct srp_rdma_ch *ch) in srp_new_ib_cm_id()
329 static int srp_new_rdma_cm_id(struct srp_rdma_ch *ch) in srp_new_rdma_cm_id()
373 static int srp_new_cm_id(struct srp_rdma_ch *ch) in srp_new_cm_id()
513 static void srp_destroy_qp(struct srp_rdma_ch *ch) in srp_destroy_qp()
523 static int srp_create_ch_ib(struct srp_rdma_ch *ch) in srp_create_ch_ib()
637 struct srp_rdma_ch *ch) in srp_free_ch_ib()
699 struct srp_rdma_ch *ch = ch_ptr; in srp_path_rec_completion()
711 static int srp_ib_lookup_path(struct srp_rdma_ch *ch) in srp_ib_lookup_path()
750 static int srp_rdma_lookup_path(struct srp_rdma_ch *ch) in srp_rdma_lookup_path()
770 static int srp_lookup_path(struct srp_rdma_ch *ch) in srp_lookup_path()
795 static int srp_send_req(struct srp_rdma_ch *ch, uint32_t max_iu_len, in srp_send_req()
939 struct srp_rdma_ch *ch; in srp_disconnect_target()
1039 struct srp_rdma_ch *ch; in srp_remove_target()
1098 static int srp_connect_ch(struct srp_rdma_ch *ch, uint32_t max_iu_len, in srp_connect_ch()
1160 static int srp_inv_rkey(struct srp_request *req, struct srp_rdma_ch *ch, in srp_inv_rkey()
1177 struct srp_rdma_ch *ch, in srp_unmap_data()
1223 static struct scsi_cmnd *srp_claim_req(struct srp_rdma_ch *ch, in srp_claim_req()
1251 static void srp_free_req(struct srp_rdma_ch *ch, struct srp_request *req, in srp_free_req()
1263 static void srp_finish_req(struct srp_rdma_ch *ch, struct srp_request *req, in srp_finish_req()
1285 struct srp_rdma_ch *ch = &target->ch[blk_mq_unique_tag_to_hwq(tag)]; in srp_terminate_cmd()
1334 struct srp_rdma_ch *ch; in srp_rport_reconnect()
1422 struct srp_rdma_ch *ch, int sg_nents, in srp_map_finish_fr()
1499 static int srp_map_sg_fr(struct srp_map_state *state, struct srp_rdma_ch *ch, in srp_map_sg_fr()
1527 static int srp_map_sg_dma(struct srp_map_state *state, struct srp_rdma_ch *ch, in srp_map_sg_dma()
1550 static int srp_map_idb(struct srp_rdma_ch *ch, struct srp_request *req, in srp_map_idb()
1590 struct srp_rdma_ch *ch, struct srp_request *req, in srp_check_mapping()
1620 static int srp_map_data(struct scsi_cmnd *scmnd, struct srp_rdma_ch *ch, in srp_map_data()
1809 static void srp_put_tx_iu(struct srp_rdma_ch *ch, struct srp_iu *iu, in srp_put_tx_iu()
1834 static struct srp_iu *__srp_get_tx_iu(struct srp_rdma_ch *ch, in __srp_get_tx_iu()
1871 struct srp_rdma_ch *ch = cq->cq_context; in srp_send_done()
1889 static int srp_post_send(struct srp_rdma_ch *ch, struct srp_iu *iu, int len) in srp_post_send()
1913 static int srp_post_recv(struct srp_rdma_ch *ch, struct srp_iu *iu) in srp_post_recv()
1933 static void srp_process_rsp(struct srp_rdma_ch *ch, struct srp_rsp *rsp) in srp_process_rsp()
1992 static int srp_response_common(struct srp_rdma_ch *ch, s32 req_delta, in srp_response_common()
2027 static void srp_process_cred_req(struct srp_rdma_ch *ch, in srp_process_cred_req()
2041 static void srp_process_aer_req(struct srp_rdma_ch *ch, in srp_process_aer_req()
2062 struct srp_rdma_ch *ch = cq->cq_context; in srp_recv_done()
2138 struct srp_rdma_ch *ch = cq->cq_context; in srp_handle_qp_err()
2155 struct srp_rdma_ch *ch; in srp_queuecommand()
2253 static int srp_alloc_iu_bufs(struct srp_rdma_ch *ch) in srp_alloc_iu_bufs()
2332 struct srp_rdma_ch *ch) in srp_cm_rep_handler()
2424 struct srp_rdma_ch *ch) in srp_ib_cm_rej_handler()
2511 struct srp_rdma_ch *ch = cm_id->context; in srp_ib_cm_handler()
2570 static void srp_rdma_cm_rej_handler(struct srp_rdma_ch *ch, in srp_rdma_cm_rej_handler()
2623 struct srp_rdma_ch *ch = cm_id->context; in srp_rdma_cm_handler()
2714 static int srp_send_tsk_mgmt(struct srp_rdma_ch *ch, u64 req_tag, u64 lun, in srp_send_tsk_mgmt()
2786 struct srp_rdma_ch *ch; in srp_abort()
2813 struct srp_rdma_ch *ch; in srp_reset_device()
2922 struct srp_rdma_ch *ch = &target->ch[0]; in dgid_show()
2949 struct srp_rdma_ch *ch; in req_lim_show()
3689 struct srp_rdma_ch *ch; in add_target_store()