Lines Matching refs:resp

97 	struct ib_ucm_event_resp resp;  member
168 if (ib_ucm_new_cm_id(uevent->resp.event)) in ib_ucm_cleanup_events()
259 ib_ucm_event_req_get(&uvt->resp.u.req_resp, in ib_ucm_event_process()
262 uvt->resp.present = IB_UCM_PRES_PRIMARY; in ib_ucm_event_process()
263 uvt->resp.present |= (evt->param.req_rcvd.alternate_path ? in ib_ucm_event_process()
267 ib_ucm_event_rep_get(&uvt->resp.u.rep_resp, in ib_ucm_event_process()
273 uvt->resp.u.send_status = evt->param.send_status; in ib_ucm_event_process()
277 uvt->resp.u.send_status = evt->param.send_status; in ib_ucm_event_process()
281 uvt->resp.u.send_status = evt->param.send_status; in ib_ucm_event_process()
284 uvt->resp.u.mra_resp.timeout = in ib_ucm_event_process()
289 uvt->resp.u.rej_resp.reason = evt->param.rej_rcvd.reason; in ib_ucm_event_process()
295 ib_copy_path_rec_to_user(&uvt->resp.u.lap_resp.path, in ib_ucm_event_process()
298 uvt->resp.present = IB_UCM_PRES_ALTERNATE; in ib_ucm_event_process()
301 uvt->resp.u.apr_resp.status = evt->param.apr_rcvd.ap_status; in ib_ucm_event_process()
307 uvt->resp.u.sidr_req_resp.pkey = in ib_ucm_event_process()
309 uvt->resp.u.sidr_req_resp.port = in ib_ucm_event_process()
314 ib_ucm_event_sidr_rep_get(&uvt->resp.u.sidr_rep_resp, in ib_ucm_event_process()
321 uvt->resp.u.send_status = evt->param.send_status; in ib_ucm_event_process()
330 uvt->resp.present |= IB_UCM_PRES_DATA; in ib_ucm_event_process()
338 uvt->resp.present |= IB_UCM_PRES_INFO; in ib_ucm_event_process()
363 uevent->resp.uid = ctx->uid; in ib_ucm_event_handler()
364 uevent->resp.id = ctx->id; in ib_ucm_event_handler()
365 uevent->resp.event = event->event; in ib_ucm_event_handler()
416 if (ib_ucm_new_cm_id(uevent->resp.event)) { in ib_ucm_event()
425 uevent->resp.id = ctx->id; in ib_ucm_event()
429 &uevent->resp, sizeof(uevent->resp))) { in ib_ucm_event()
475 struct ib_ucm_create_id_resp resp; in ib_ucm_create_id() local
479 if (out_len < sizeof(resp)) in ib_ucm_create_id()
499 resp.id = ctx->id; in ib_ucm_create_id()
501 &resp, sizeof(resp))) { in ib_ucm_create_id()
522 struct ib_ucm_destroy_id_resp resp; in ib_ucm_destroy_id() local
526 if (out_len < sizeof(resp)) in ib_ucm_destroy_id()
553 resp.events_reported = ctx->events_reported; in ib_ucm_destroy_id()
555 &resp, sizeof(resp))) in ib_ucm_destroy_id()
566 struct ib_ucm_attr_id_resp resp; in ib_ucm_attr_id() local
571 if (out_len < sizeof(resp)) in ib_ucm_attr_id()
581 resp.service_id = ctx->cm_id->service_id; in ib_ucm_attr_id()
582 resp.service_mask = ctx->cm_id->service_mask; in ib_ucm_attr_id()
583 resp.local_id = ctx->cm_id->local_id; in ib_ucm_attr_id()
584 resp.remote_id = ctx->cm_id->remote_id; in ib_ucm_attr_id()
587 &resp, sizeof(resp))) in ib_ucm_attr_id()
598 struct ib_uverbs_qp_attr resp; in ib_ucm_init_qp_attr() local
604 if (out_len < sizeof(resp)) in ib_ucm_init_qp_attr()
614 resp.qp_attr_mask = 0; in ib_ucm_init_qp_attr()
617 result = ib_cm_init_qp_attr(ctx->cm_id, &qp_attr, &resp.qp_attr_mask); in ib_ucm_init_qp_attr()
621 ib_copy_qp_attr_to_user(&resp, &qp_attr); in ib_ucm_init_qp_attr()
624 &resp, sizeof(resp))) in ib_ucm_init_qp_attr()