Lines Matching refs:rdma_cm

344 	ret = rdma_resolve_addr(new_cm_id, target->rdma_cm.src_specified ?  in srp_new_rdma_cm_id()
345 &target->rdma_cm.src.sa : NULL, in srp_new_rdma_cm_id()
346 &target->rdma_cm.dst.sa, in srp_new_rdma_cm_id()
350 &target->rdma_cm.src, &target->rdma_cm.dst, ret); in srp_new_rdma_cm_id()
360 &target->rdma_cm.dst, ret); in srp_new_rdma_cm_id()
364 swap(ch->rdma_cm.cm_id, new_cm_id); in srp_new_rdma_cm_id()
567 ret = rdma_create_qp(ch->rdma_cm.cm_id, dev->pd, init_attr); in srp_create_ch_ib()
568 qp = ch->rdma_cm.cm_id->qp; in srp_create_ch_ib()
617 rdma_destroy_qp(ch->rdma_cm.cm_id); in srp_create_ch_ib()
646 if (ch->rdma_cm.cm_id) { in srp_free_ch_ib()
647 rdma_destroy_id(ch->rdma_cm.cm_id); in srp_free_ch_ib()
648 ch->rdma_cm.cm_id = NULL; in srp_free_ch_ib()
757 ret = rdma_resolve_route(ch->rdma_cm.cm_id, SRP_PATH_REC_TIMEOUT_MS); in srp_rdma_lookup_path()
911 status = rdma_connect(ch->rdma_cm.cm_id, &req->rdma_param); in srp_send_req()
949 if (ch->rdma_cm.cm_id) in srp_disconnect_target()
950 rdma_disconnect(ch->rdma_cm.cm_id); in srp_disconnect_target()
2672 rdma_disconnect(ch->rdma_cm.cm_id); in srp_rdma_cm_handler()
3428 ret = srp_parse_in(net, &target->rdma_cm.src.ss, p, in srp_parse_options()
3435 target->rdma_cm.src_specified = true; in srp_parse_options()
3445 ret = srp_parse_in(net, &target->rdma_cm.dst.ss, p, in srp_parse_options()
3746 &target->rdma_cm.dst); in add_target_store()
3848 &target->rdma_cm.dst); in add_target_store()
3880 target->sgid.raw, &target->rdma_cm.dst); in add_target_store()