/openbmc/libpldm/src/msgbuf/ |
H A D | platform.h | 18 pldm_msgbuf_extract(ctx, hdr->record_handle); in pldm_msgbuf_extract_value_pdr_hdr() 19 pldm_msgbuf_extract(ctx, hdr->version); in pldm_msgbuf_extract_value_pdr_hdr() 20 pldm_msgbuf_extract(ctx, hdr->type); in pldm_msgbuf_extract_value_pdr_hdr() 21 pldm_msgbuf_extract(ctx, hdr->record_change_num); in pldm_msgbuf_extract_value_pdr_hdr() 22 rc = pldm_msgbuf_extract(ctx, hdr->length); in pldm_msgbuf_extract_value_pdr_hdr() 45 return pldm_msgbuf_extract(ctx, dst->value_u8); in pldm_msgbuf_extract_sensor_data() 47 return pldm_msgbuf_extract(ctx, dst->value_s8); in pldm_msgbuf_extract_sensor_data() 49 return pldm_msgbuf_extract(ctx, dst->value_u16); in pldm_msgbuf_extract_sensor_data() 51 return pldm_msgbuf_extract(ctx, dst->value_s16); in pldm_msgbuf_extract_sensor_data() 53 return pldm_msgbuf_extract(ctx, dst->value_u32); in pldm_msgbuf_extract_sensor_data() [all …]
|
/openbmc/libpldm/src/dsp/ |
H A D | platform.c | 299 pldm_msgbuf_extract(buf, field[i].set_request); in decode_set_state_effecter_states_req() 300 pldm_msgbuf_extract(buf, field[i].effecter_state); in decode_set_state_effecter_states_req() 538 rc = pldm_msgbuf_extract(buf, resp->completion_code); in decode_get_pdr_repository_info_resp_safe() 543 pldm_msgbuf_extract(buf, resp->repository_state); in decode_get_pdr_repository_info_resp_safe() 559 pldm_msgbuf_extract(buf, resp->record_count); in decode_get_pdr_repository_info_resp_safe() 560 pldm_msgbuf_extract(buf, resp->repository_size); in decode_get_pdr_repository_info_resp_safe() 561 pldm_msgbuf_extract(buf, resp->largest_record_size); in decode_get_pdr_repository_info_resp_safe() 562 pldm_msgbuf_extract(buf, resp->data_transfer_handle_timeout); in decode_get_pdr_repository_info_resp_safe() 692 pldm_msgbuf_extract(buf, resp->completion_code); in decode_get_pdr_resp_safe() 693 pldm_msgbuf_extract(buf, resp->next_record_handle); in decode_get_pdr_resp_safe() [all …]
|
H A D | firmware_update.c | 533 pldm_msgbuf_extract(buf, desc->descriptor_type); in decode_pldm_descriptor_from_iter() 534 rc = pldm_msgbuf_extract(buf, desc->descriptor_length); in decode_pldm_descriptor_from_iter() 1212 rc = pldm_msgbuf_extract(buf, resp_data->completion_code); in decode_query_downstream_devices_resp() 1225 rc = pldm_msgbuf_extract(buf, in decode_query_downstream_devices_resp() 1236 pldm_msgbuf_extract(buf, resp_data->number_of_downstream_devices); in decode_query_downstream_devices_resp() 1237 pldm_msgbuf_extract(buf, resp_data->max_number_of_downstream_devices); in decode_query_downstream_devices_resp() 1238 pldm_msgbuf_extract(buf, resp_data->capabilities.value); in decode_query_downstream_devices_resp() 1307 rc = pldm_msgbuf_extract(buf, resp_data->completion_code); in decode_query_downstream_identifiers_resp() 1319 pldm_msgbuf_extract(buf, resp_data->next_data_transfer_handle); in decode_query_downstream_identifiers_resp() 1320 pldm_msgbuf_extract(buf, resp_data->transfer_flag); in decode_query_downstream_identifiers_resp() [all …]
|
H A D | file.c | 75 pldm_msgbuf_extract(buf, resp->completion_code); in decode_pldm_file_df_open_resp() 76 pldm_msgbuf_extract(buf, resp->file_descriptor); in decode_pldm_file_df_open_resp() 189 pldm_msgbuf_extract(buf, resp->completion_code); in decode_pldm_file_df_heartbeat_resp() 190 pldm_msgbuf_extract(buf, resp->responder_max_interval); in decode_pldm_file_df_heartbeat_resp()
|
H A D | pdr.c | 482 if ((rc = pldm_msgbuf_extract(buf, rec_handle))) { in pldm_pdr_delete_by_record_handle() 1607 rc = pldm_msgbuf_extract(src, header_length); in pldm_entity_association_pdr_add_contained_entity_to_remote_pdr() 1626 rc = pldm_msgbuf_extract(src, num_children); in pldm_entity_association_pdr_add_contained_entity_to_remote_pdr() 1792 pldm_msgbuf_extract(src_c, container_id); in pldm_entity_association_pdr_create_new() 1863 rc = pldm_msgbuf_extract(dst, hdr_type); in pldm_entity_association_find_record_handle_by_entity() 1875 rc = pldm_msgbuf_extract(dst, num_children); in pldm_entity_association_find_record_handle_by_entity() 1882 if ((rc = pldm_msgbuf_extract(dst, e.entity_type)) || in pldm_entity_association_find_record_handle_by_entity() 1883 (rc = pldm_msgbuf_extract(dst, in pldm_entity_association_find_record_handle_by_entity() 1885 (rc = pldm_msgbuf_extract(dst, in pldm_entity_association_find_record_handle_by_entity() 1972 rc = pldm_msgbuf_extract(src, header_length); in pldm_entity_association_pdr_remove_contained_entity() [all …]
|
H A D | base.c | 625 pldm_msgbuf_extract(buf, resp->completion_code); in decode_base_multipart_receive_resp() 626 rc = pldm_msgbuf_extract(buf, resp->transfer_flag); in decode_base_multipart_receive_resp() 630 pldm_msgbuf_extract(buf, resp->next_transfer_handle); in decode_base_multipart_receive_resp() 775 pldm_msgbuf_extract(buf, resp->completion_code); 776 pldm_msgbuf_extract(buf, resp->responder_part_size);
|
/openbmc/libpldm/tests/ |
H A D | msgbuf_generic.c | 37 expect(pldm_msgbuf_extract(ctx, val) == 0); in test_msgbuf_extract_generic_uint8() 50 expect(pldm_msgbuf_extract(ctx, val) == 0); in test_msgbuf_extract_generic_int8() 63 expect(pldm_msgbuf_extract(ctx, val) == 0); in test_msgbuf_extract_generic_uint16() 76 expect(pldm_msgbuf_extract(ctx, val) == 0); in test_msgbuf_extract_generic_int16() 89 expect(pldm_msgbuf_extract(ctx, val) == 0); in test_msgbuf_extract_generic_uint32() 102 expect(pldm_msgbuf_extract(ctx, val) == 0); in test_msgbuf_extract_generic_int32() 121 expect(pldm_msgbuf_extract(ctx, val) == 0); in test_msgbuf_extract_generic_real32() 154 expect(pldm_msgbuf_extract(ctxExtract, checkVal) == 0); in test_msgbuf_insert_generic_int32() 176 expect(pldm_msgbuf_extract(ctxExtract, checkVal) == 0); in test_msgbuf_insert_generic_uint32() 198 expect(pldm_msgbuf_extract(ctxExtract, checkVal) == 0); in test_msgbuf_insert_generic_uint16() [all …]
|
/openbmc/libpldm/src/oem/meta/ |
H A D | file_io.c | 42 pldm_msgbuf_extract(buf, req->handle); in decode_oem_meta_file_io_write_req() 43 rc = pldm_msgbuf_extract(buf, req->length); in decode_oem_meta_file_io_write_req() 118 pldm_msgbuf_extract(buf, req->handle); in decode_oem_meta_file_io_read_req() 119 rc = pldm_msgbuf_extract(buf, req->option); in decode_oem_meta_file_io_read_req() 124 rc = pldm_msgbuf_extract(buf, req->length); in decode_oem_meta_file_io_read_req() 136 pldm_msgbuf_extract(buf, req->info.data.transferFlag); in decode_oem_meta_file_io_read_req() 137 pldm_msgbuf_extract(buf, req->info.data.offset); in decode_oem_meta_file_io_read_req()
|
/openbmc/libpldm/src/ |
H A D | msgbuf.h | 588 #define pldm_msgbuf_extract(ctx, dst) \ macro
|