Home
last modified time | relevance | path

Searched refs:record_hdr_size (Results 1 – 1 of 1) sorted by relevance

/openbmc/libpldm/src/dsp/
H A Dfru.c181 size_t record_hdr_size = sizeof(struct pldm_fru_record_data_format) - in encode_fru_record() local
188 if (SIZE_MAX - *curr_size < record_hdr_size) { in encode_fru_record()
192 if (SIZE_MAX - (*curr_size + record_hdr_size) < tlvs_size) { in encode_fru_record()
196 if (total_size < *curr_size + record_hdr_size) { in encode_fru_record()
200 if (total_size - (*curr_size + record_hdr_size) < tlvs_size) { in encode_fru_record()
210 *curr_size += record_hdr_size; in encode_fru_record()