Home
last modified time | relevance | path

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

/openbmc/entity-manager/src/
H A Dfru_utils.cpp275 if (areaOffset == 0) in verifyOffset()
281 if (areaOffset == start || (areaOffset > start && areaOffset < end)) in verifyOffset()
307 uint32_t areaOffset = in parseMultirecordUUID() local
310 if (areaOffset == 0) in parseMultirecordUUID()
315 areaOffset *= fruBlockSize; in parseMultirecordUUID()
368 areaOffset = areaOffset + device[areaOffset + 2] + multiRecordHeaderLen; in parseMultirecordUUID()
764 if (areaOffset == 0) in readFRUContents()
780 prevOffset = areaOffset; in readFRUContents()
801 areaOffset += length; in readFRUContents()
802 fruLength = (areaOffset > fruLength) ? areaOffset : fruLength; in readFRUContents()
[all …]
/openbmc/ipmi-fru-parser/
H A Dwritefrudata.cpp334 ipmi_fru_area_type getFruAreaType(uint8_t areaOffset) in getFruAreaType() argument
338 switch (areaOffset) in getFruAreaType()
503 size_t areaOffset = fruData[fruEntry] * IPMI_EIGHT_BYTES; in ipmiPopulateFruAreas() local
504 if (areaOffset && (dataLen < (areaOffset + 2))) in ipmiPopulateFruAreas()
512 else if (areaOffset) in ipmiPopulateFruAreas()
516 std::memcpy(areaHeader, &((uint8_t*)fruData)[areaOffset], in ipmiPopulateFruAreas()
531 entry("AREA OFFSET=%d", areaOffset), in ipmiPopulateFruAreas()
536 if (dataLen < (areaLen + areaOffset)) in ipmiPopulateFruAreas()
544 std::span<uint8_t>(&fruData[areaOffset], areaLen); in ipmiPopulateFruAreas()
566 entry("OFFSET=%d", areaOffset)); in ipmiPopulateFruAreas()
[all …]