Lines Matching refs:srp_rdma_ch

308 static int srp_new_ib_cm_id(struct srp_rdma_ch *ch)  in srp_new_ib_cm_id()
334 static int srp_new_rdma_cm_id(struct srp_rdma_ch *ch) in srp_new_rdma_cm_id()
378 static int srp_new_cm_id(struct srp_rdma_ch *ch) in srp_new_cm_id()
518 static void srp_destroy_qp(struct srp_rdma_ch *ch) in srp_destroy_qp()
528 static int srp_create_ch_ib(struct srp_rdma_ch *ch) in srp_create_ch_ib()
642 struct srp_rdma_ch *ch) in srp_free_ch_ib()
704 struct srp_rdma_ch *ch = ch_ptr; in srp_path_rec_completion()
716 static int srp_ib_lookup_path(struct srp_rdma_ch *ch) in srp_ib_lookup_path()
755 static int srp_rdma_lookup_path(struct srp_rdma_ch *ch) in srp_rdma_lookup_path()
775 static int srp_lookup_path(struct srp_rdma_ch *ch) in srp_lookup_path()
800 static int srp_send_req(struct srp_rdma_ch *ch, uint32_t max_iu_len, in srp_send_req()
944 struct srp_rdma_ch *ch; in srp_disconnect_target()
1044 struct srp_rdma_ch *ch; in srp_remove_target()
1103 static int srp_connect_ch(struct srp_rdma_ch *ch, uint32_t max_iu_len, in srp_connect_ch()
1165 static int srp_inv_rkey(struct srp_request *req, struct srp_rdma_ch *ch, in srp_inv_rkey()
1182 struct srp_rdma_ch *ch, in srp_unmap_data()
1228 static struct scsi_cmnd *srp_claim_req(struct srp_rdma_ch *ch, in srp_claim_req()
1256 static void srp_free_req(struct srp_rdma_ch *ch, struct srp_request *req, in srp_free_req()
1268 static void srp_finish_req(struct srp_rdma_ch *ch, struct srp_request *req, in srp_finish_req()
1291 struct srp_rdma_ch *ch = &target->ch[blk_mq_unique_tag_to_hwq(tag)]; in srp_terminate_cmd()
1340 struct srp_rdma_ch *ch; in srp_rport_reconnect()
1428 struct srp_rdma_ch *ch, int sg_nents, in srp_map_finish_fr()
1505 static int srp_map_sg_fr(struct srp_map_state *state, struct srp_rdma_ch *ch, in srp_map_sg_fr()
1533 static int srp_map_sg_dma(struct srp_map_state *state, struct srp_rdma_ch *ch, in srp_map_sg_dma()
1556 static int srp_map_idb(struct srp_rdma_ch *ch, struct srp_request *req, in srp_map_idb()
1596 struct srp_rdma_ch *ch, struct srp_request *req, in srp_check_mapping()
1626 static int srp_map_data(struct scsi_cmnd *scmnd, struct srp_rdma_ch *ch, in srp_map_data()
1815 static void srp_put_tx_iu(struct srp_rdma_ch *ch, struct srp_iu *iu, in srp_put_tx_iu()
1840 static struct srp_iu *__srp_get_tx_iu(struct srp_rdma_ch *ch, in __srp_get_tx_iu()
1877 struct srp_rdma_ch *ch = cq->cq_context; in srp_send_done()
1895 static int srp_post_send(struct srp_rdma_ch *ch, struct srp_iu *iu, int len) in srp_post_send()
1919 static int srp_post_recv(struct srp_rdma_ch *ch, struct srp_iu *iu) in srp_post_recv()
1939 static void srp_process_rsp(struct srp_rdma_ch *ch, struct srp_rsp *rsp) in srp_process_rsp()
2002 static int srp_response_common(struct srp_rdma_ch *ch, s32 req_delta, in srp_response_common()
2037 static void srp_process_cred_req(struct srp_rdma_ch *ch, in srp_process_cred_req()
2051 static void srp_process_aer_req(struct srp_rdma_ch *ch, in srp_process_aer_req()
2072 struct srp_rdma_ch *ch = cq->cq_context; in srp_recv_done()
2148 struct srp_rdma_ch *ch = cq->cq_context; in srp_handle_qp_err()
2165 struct srp_rdma_ch *ch; in srp_queuecommand()
2263 static int srp_alloc_iu_bufs(struct srp_rdma_ch *ch) in srp_alloc_iu_bufs()
2342 struct srp_rdma_ch *ch) in srp_cm_rep_handler()
2434 struct srp_rdma_ch *ch) in srp_ib_cm_rej_handler()
2521 struct srp_rdma_ch *ch = cm_id->context; in srp_ib_cm_handler()
2580 static void srp_rdma_cm_rej_handler(struct srp_rdma_ch *ch, in srp_rdma_cm_rej_handler()
2633 struct srp_rdma_ch *ch = cm_id->context; in srp_rdma_cm_handler()
2724 static int srp_send_tsk_mgmt(struct srp_rdma_ch *ch, u64 req_tag, u64 lun, in srp_send_tsk_mgmt()
2796 struct srp_rdma_ch *ch; in srp_abort()
2831 struct srp_rdma_ch *ch; in srp_reset_device()
2940 struct srp_rdma_ch *ch = &target->ch[0]; in dgid_show()
2967 struct srp_rdma_ch *ch; in req_lim_show()
3634 struct srp_rdma_ch *ch; in add_target_store()