Lines Matching refs:sec_hdr
1048 struct cper_section_descriptor sec_hdr; member
1113 if (guid_equal(&rcd->sec_hdr.section_type, &CPER_SECTION_TYPE_DMESG_Z)) { in erst_reader()
1116 } else if (guid_equal(&rcd->sec_hdr.section_type, &CPER_SECTION_TYPE_DMESG)) in erst_reader()
1118 else if (guid_equal(&rcd->sec_hdr.section_type, &CPER_SECTION_TYPE_MCE)) in erst_reader()
1155 rcd->sec_hdr.section_offset = sizeof(*rcd); in erst_writer()
1156 rcd->sec_hdr.section_length = record->size; in erst_writer()
1157 rcd->sec_hdr.revision = CPER_SEC_REV; in erst_writer()
1159 rcd->sec_hdr.validation_bits = 0; in erst_writer()
1160 rcd->sec_hdr.flags = CPER_SEC_PRIMARY; in erst_writer()
1164 rcd->sec_hdr.section_type = CPER_SECTION_TYPE_DMESG_Z; in erst_writer()
1166 rcd->sec_hdr.section_type = CPER_SECTION_TYPE_DMESG; in erst_writer()
1169 rcd->sec_hdr.section_type = CPER_SECTION_TYPE_MCE; in erst_writer()
1174 rcd->sec_hdr.section_severity = CPER_SEV_FATAL; in erst_writer()