Searched refs:sec_hdr (Results 1 – 2 of 2) sorted by relevance
67 struct cper_section_descriptor sec_hdr; member89 rcd.sec_hdr.section_offset = (void *)&rcd.mce - (void *)&rcd; in apei_write_mce()90 rcd.sec_hdr.section_length = sizeof(rcd.mce); in apei_write_mce()91 rcd.sec_hdr.revision = CPER_SEC_REV; in apei_write_mce()93 rcd.sec_hdr.validation_bits = 0; in apei_write_mce()94 rcd.sec_hdr.flags = CPER_SEC_PRIMARY; in apei_write_mce()95 rcd.sec_hdr.section_type = CPER_SECTION_TYPE_MCE; in apei_write_mce()96 rcd.sec_hdr.section_severity = CPER_SEV_FATAL; in apei_write_mce()
947 struct cper_section_descriptor sec_hdr; member1019 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()[all …]