Searched refs:new_cm_id (Results 1 – 2 of 2) sorted by relevance
311 struct ib_cm_id *new_cm_id; in srp_new_ib_cm_id() local313 new_cm_id = ib_create_cm_id(target->srp_host->srp_dev->dev, in srp_new_ib_cm_id()315 if (IS_ERR(new_cm_id)) in srp_new_ib_cm_id()316 return PTR_ERR(new_cm_id); in srp_new_ib_cm_id()320 ch->ib_cm.cm_id = new_cm_id; in srp_new_ib_cm_id()337 struct rdma_cm_id *new_cm_id; in srp_new_rdma_cm_id() local340 new_cm_id = rdma_create_id(target->net, srp_rdma_cm_handler, ch, in srp_new_rdma_cm_id()342 if (IS_ERR(new_cm_id)) { in srp_new_rdma_cm_id()343 ret = PTR_ERR(new_cm_id); in srp_new_rdma_cm_id()344 new_cm_id = NULL; in srp_new_rdma_cm_id()[all …]
2030 static int smb_direct_handle_connect_request(struct rdma_cm_id *new_cm_id) in smb_direct_handle_connect_request() argument2035 if (!rdma_frwr_is_supported(&new_cm_id->device->attrs)) { in smb_direct_handle_connect_request()2038 new_cm_id->device->attrs.device_cap_flags); in smb_direct_handle_connect_request()2042 t = alloc_transport(new_cm_id); in smb_direct_handle_connect_request()