Lines Matching refs:sec_hdr
947 struct cper_section_descriptor sec_hdr; member
1019 if (guid_equal(&rcd->sec_hdr.section_type, &CPER_SECTION_TYPE_DMESG_Z)) { in erst_reader()
1022 } else if (guid_equal(&rcd->sec_hdr.section_type, &CPER_SECTION_TYPE_DMESG)) in erst_reader()
1024 else if (guid_equal(&rcd->sec_hdr.section_type, &CPER_SECTION_TYPE_MCE)) in erst_reader()
1061 rcd->sec_hdr.section_offset = sizeof(*rcd); in erst_writer()
1062 rcd->sec_hdr.section_length = record->size; in erst_writer()
1063 rcd->sec_hdr.revision = CPER_SEC_REV; in erst_writer()
1065 rcd->sec_hdr.validation_bits = 0; in erst_writer()
1066 rcd->sec_hdr.flags = CPER_SEC_PRIMARY; in erst_writer()
1070 rcd->sec_hdr.section_type = CPER_SECTION_TYPE_DMESG_Z; in erst_writer()
1072 rcd->sec_hdr.section_type = CPER_SECTION_TYPE_DMESG; in erst_writer()
1075 rcd->sec_hdr.section_type = CPER_SECTION_TYPE_MCE; in erst_writer()
1080 rcd->sec_hdr.section_severity = CPER_SEV_FATAL; in erst_writer()