Lines Matching full:rc
30 auto rc = in initTerminus() local
32 if (rc) in initTerminus()
36 "TID", tid, "ERROR", rc); in initTerminus()
48 auto rc = in initTerminus() local
50 if (rc) in initTerminus()
54 "TID", tid, "ERROR", rc); in initTerminus()
60 auto rc = co_await getPDRs(terminus); in initTerminus() local
61 if (rc) in initTerminus()
65 "TID", tid, "ERROR", rc); in initTerminus()
90 auto rc = co_await eventMessageBufferSize( in initTerminus() local
92 if (rc != PLDM_SUCCESS) in initTerminus()
96 "TID", tid, "ERROR", rc); in initTerminus()
104 auto rc = co_await configEventReceiver(tid); in initTerminus() local
105 if (rc) in initTerminus()
109 "TID", tid, "ERROR", rc); in initTerminus()
140 auto rc = co_await eventMessageSupported( in configEventReceiver() local
144 if (rc != PLDM_SUCCESS) in configEventReceiver()
148 "TID", tid, "ERROR", rc); in configEventReceiver()
199 auto rc = co_await setEventReceiver(tid, eventMessageGlobalEnable, in configEventReceiver() local
202 if (rc != PLDM_SUCCESS) in configEventReceiver()
206 "TID", tid, "ERROR", rc); in configEventReceiver()
226 auto rc = in getPDRs() local
229 if (rc) in getPDRs()
233 "TID", tid, "ERROR", rc); in getPDRs()
263 auto rc = in getPDRs() local
268 if (rc) in getPDRs()
271 … "Failed to get PDRs for terminus {TID}, error: {RC}, first part of record handle {RECORD}", in getPDRs()
272 "TID", tid, "RC", rc, "RECORD", recordHndl); in getPDRs()
274 co_return rc; in getPDRs() local
294 rc = co_await getPDR( in getPDRs()
299 if (rc) in getPDRs()
302 … "Failed to get PDRs for terminus {TID}, error: {RC}, get middle part of record handle {RECORD}", in getPDRs()
303 "TID", tid, "RC", rc, "RECORD", recordHndl); in getPDRs()
305 co_return rc; in getPDRs() local
336 auto rc = encode_get_pdr_req(0, recordHndl, dataTransferHndl, in getPDR() local
339 if (rc) in getPDR()
342 "Failed to encode request GetPDR for terminus ID {TID}, error {RC} ", in getPDR()
343 "TID", tid, "RC", rc); in getPDR()
344 co_return rc; in getPDR() local
349 rc = co_await terminusManager.sendRecvPldmMsg(tid, request, &responseMsg, in getPDR()
351 if (rc) in getPDR()
354 "Failed to send GetPDR message for terminus {TID}, error {RC}", in getPDR()
355 "TID", tid, "RC", rc); in getPDR()
356 co_return rc; in getPDR() local
360 rc = decode_get_pdr_resp(responseMsg, responseLen, &completionCode, in getPDR()
364 if (rc) in getPDR()
367 "Failed to decode response GetPDR for terminus ID {TID}, error {RC} ", in getPDR()
368 "TID", tid, "RC", rc); in getPDR()
369 co_return rc; in getPDR() local
376 co_return rc; in getPDR() local
388 auto rc = encode_pldm_header_only(PLDM_REQUEST, 0, PLDM_PLATFORM, in getPDRRepositoryInfo() local
390 if (rc) in getPDRRepositoryInfo()
393 "Failed to encode request GetPDRRepositoryInfo for terminus ID {TID}, error {RC} ", in getPDRRepositoryInfo()
394 "TID", tid, "RC", rc); in getPDRRepositoryInfo()
395 co_return rc; in getPDRRepositoryInfo() local
400 rc = co_await terminusManager.sendRecvPldmMsg(tid, request, &responseMsg, in getPDRRepositoryInfo()
402 if (rc) in getPDRRepositoryInfo()
405 "Failed to send GetPDRRepositoryInfo message for terminus {TID}, error {RC}", in getPDRRepositoryInfo()
406 "TID", tid, "RC", rc); in getPDRRepositoryInfo()
407 co_return rc; in getPDRRepositoryInfo() local
415 rc = decode_get_pdr_repository_info_resp( in getPDRRepositoryInfo()
419 if (rc) in getPDRRepositoryInfo()
422 "Failed to decode response GetPDRRepositoryInfo for terminus ID {TID}, error {RC} ", in getPDRRepositoryInfo()
423 "TID", tid, "RC", rc); in getPDRRepositoryInfo()
424 co_return rc; in getPDRRepositoryInfo() local
432 co_return rc; in getPDRRepositoryInfo() local
445 auto rc = encode_event_message_buffer_size_req(0, receiverMaxBufferSize, in eventMessageBufferSize() local
447 if (rc) in eventMessageBufferSize()
450 "Failed to encode request GetPDRRepositoryInfo for terminus ID {TID}, error {RC} ", in eventMessageBufferSize()
451 "TID", tid, "RC", rc); in eventMessageBufferSize()
452 co_return rc; in eventMessageBufferSize() local
457 rc = co_await terminusManager.sendRecvPldmMsg(tid, request, &responseMsg, in eventMessageBufferSize()
459 if (rc) in eventMessageBufferSize()
462 "Failed to send EventMessageBufferSize message for terminus {TID}, error {RC}", in eventMessageBufferSize()
463 "TID", tid, "RC", rc); in eventMessageBufferSize()
464 co_return rc; in eventMessageBufferSize() local
468 rc = decode_event_message_buffer_size_resp( in eventMessageBufferSize()
470 if (rc) in eventMessageBufferSize()
473 "Failed to decode response EventMessageBufferSize for terminus ID {TID}, error {RC} ", in eventMessageBufferSize()
474 "TID", tid, "RC", rc); in eventMessageBufferSize()
475 co_return rc; in eventMessageBufferSize() local
505 auto rc = encode_set_event_receiver_req( in setEventReceiver() local
508 if (rc) in setEventReceiver()
511 "Failed to encode request SetEventReceiver for terminus ID {TID}, error {RC} ", in setEventReceiver()
512 "TID", tid, "RC", rc); in setEventReceiver()
513 co_return rc; in setEventReceiver() local
518 rc = co_await terminusManager.sendRecvPldmMsg(tid, request, &responseMsg, in setEventReceiver()
520 if (rc) in setEventReceiver()
523 "Failed to send SetEventReceiver message for terminus {TID}, error {RC}", in setEventReceiver()
524 "TID", tid, "RC", rc); in setEventReceiver()
525 co_return rc; in setEventReceiver() local
529 rc = decode_set_event_receiver_resp(responseMsg, responseLen, in setEventReceiver()
531 if (rc) in setEventReceiver()
534 "Failed to decode response SetEventReceiver for terminus ID {TID}, error {RC} ", in setEventReceiver()
535 "TID", tid, "RC", rc); in setEventReceiver()
536 co_return rc; in setEventReceiver() local
558 auto rc = encode_event_message_supported_req(0, formatVersion, requestMsg); in eventMessageSupported() local
559 if (rc) in eventMessageSupported()
562 "Failed to encode request EventMessageSupported for terminus ID {TID}, error {RC} ", in eventMessageSupported()
563 "TID", tid, "RC", rc); in eventMessageSupported()
564 co_return rc; in eventMessageSupported() local
569 rc = co_await terminusManager.sendRecvPldmMsg(tid, request, &responseMsg, in eventMessageSupported()
571 if (rc) in eventMessageSupported()
574 "Failed to send EventMessageSupported message for terminus {TID}, error {RC}", in eventMessageSupported()
575 "TID", tid, "RC", rc); in eventMessageSupported()
576 co_return rc; in eventMessageSupported() local
584 rc = decode_event_message_supported_resp( in eventMessageSupported()
588 if (rc) in eventMessageSupported()
591 "Failed to decode response EventMessageSupported for terminus ID {TID}, error {RC} ", in eventMessageSupported()
592 "TID", tid, "RC", rc); in eventMessageSupported()
593 co_return rc; in eventMessageSupported() local
614 auto rc = encode_get_fru_record_table_metadata_req( in getFRURecordTableMetadata() local
616 if (rc) in getFRURecordTableMetadata()
619 "Failed to encode request GetFRURecordTableMetadata for terminus ID {TID}, error {RC} ", in getFRURecordTableMetadata()
620 "TID", tid, "RC", rc); in getFRURecordTableMetadata()
621 co_return rc; in getFRURecordTableMetadata() local
627 rc = co_await terminusManager.sendRecvPldmMsg(tid, request, &responseMsg, in getFRURecordTableMetadata()
629 if (rc) in getFRURecordTableMetadata()
632 "Failed to send GetFRURecordTableMetadata message for terminus {TID}, error {RC}", in getFRURecordTableMetadata()
633 "TID", tid, "RC", rc); in getFRURecordTableMetadata()
634 co_return rc; in getFRURecordTableMetadata() local
643 co_return rc; in getFRURecordTableMetadata() local
650 rc = decode_get_fru_record_table_metadata_resp( in getFRURecordTableMetadata()
655 if (rc) in getFRURecordTableMetadata()
658 … "Failed to decode response GetFRURecordTableMetadata for terminus ID {TID}, error {RC} ", in getFRURecordTableMetadata()
659 "TID", tid, "RC", rc); in getFRURecordTableMetadata()
660 co_return rc; in getFRURecordTableMetadata() local
668 co_return rc; in getFRURecordTableMetadata() local
671 co_return rc; in getFRURecordTableMetadata() local
683 auto rc = encode_get_fru_record_table_req( in getFRURecordTable() local
686 if (rc != PLDM_SUCCESS) in getFRURecordTable()
689 "Failed to encode request GetFRURecordTable for terminus ID {TID}, error {RC} ", in getFRURecordTable()
690 "TID", tid, "RC", rc); in getFRURecordTable()
691 co_return rc; in getFRURecordTable() local
697 rc = co_await terminusManager.sendRecvPldmMsg(tid, request, &responseMsg, in getFRURecordTable()
699 if (rc) in getFRURecordTable()
702 "Failed to send GetFRURecordTable message for terminus {TID}, error {RC}", in getFRURecordTable()
703 "TID", tid, "RC", rc); in getFRURecordTable()
704 co_return rc; in getFRURecordTable() local
712 co_return rc; in getFRURecordTable() local
716 rc = decode_get_fru_record_table_resp( in getFRURecordTable()
720 if (rc) in getFRURecordTable()
723 "Failed to decode response GetFRURecordTable for terminus ID {TID}, error {RC} ", in getFRURecordTable()
724 "TID", tid, "RC", rc); in getFRURecordTable()
725 co_return rc; in getFRURecordTable() local
733 co_return rc; in getFRURecordTable() local
736 co_return rc; in getFRURecordTable() local
772 auto rc = co_await getFRURecordTable( in getFRURecordTables() local
776 if (rc) in getFRURecordTables()
779 …"Failed to get Fru Record Data for terminus {TID}, error: {RC}, first part of data handle {RECORD}… in getFRURecordTables()
780 "TID", tid, "RC", rc, "RECORD", dataTransferHndl); in getFRURecordTables()
781 co_return rc; in getFRURecordTables() local