Home
last modified time | relevance | path

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

/linux-6.6.21/arch/x86/kernel/cpu/mce/
Dapei.c140 struct cper_section_descriptor sec_hdr; member
162 rcd.sec_hdr.section_offset = (void *)&rcd.mce - (void *)&rcd; in apei_write_mce()
163 rcd.sec_hdr.section_length = sizeof(rcd.mce); in apei_write_mce()
164 rcd.sec_hdr.revision = CPER_SEC_REV; in apei_write_mce()
166 rcd.sec_hdr.validation_bits = 0; in apei_write_mce()
167 rcd.sec_hdr.flags = CPER_SEC_PRIMARY; in apei_write_mce()
168 rcd.sec_hdr.section_type = CPER_SECTION_TYPE_MCE; in apei_write_mce()
169 rcd.sec_hdr.section_severity = CPER_SEV_FATAL; in apei_write_mce()
/linux-6.6.21/drivers/acpi/apei/
Derst.c1015 struct cper_section_descriptor sec_hdr; member
1080 if (guid_equal(&rcd->sec_hdr.section_type, &CPER_SECTION_TYPE_DMESG_Z)) { in erst_reader()
1083 } else if (guid_equal(&rcd->sec_hdr.section_type, &CPER_SECTION_TYPE_DMESG)) in erst_reader()
1085 else if (guid_equal(&rcd->sec_hdr.section_type, &CPER_SECTION_TYPE_MCE)) in erst_reader()
1122 rcd->sec_hdr.section_offset = sizeof(*rcd); in erst_writer()
1123 rcd->sec_hdr.section_length = record->size; in erst_writer()
1124 rcd->sec_hdr.revision = CPER_SEC_REV; in erst_writer()
1126 rcd->sec_hdr.validation_bits = 0; in erst_writer()
1127 rcd->sec_hdr.flags = CPER_SEC_PRIMARY; in erst_writer()
1131 rcd->sec_hdr.section_type = CPER_SECTION_TYPE_DMESG_Z; in erst_writer()
[all …]
/linux-6.6.21/fs/ntfs3/
Dfsntfs.c1959 if (le16_to_cpu(ne->view.data_size) < sizeof(sii_e->sec_hdr)) in ntfs_security_init()
2019 t32 = le32_to_cpu(sii_e->sec_hdr.size); in ntfs_get_security_by_id()
2040 le64_to_cpu(sii_e->sec_hdr.off), &d_security, in ntfs_get_security_by_id()
2045 if (memcmp(&d_security, &sii_e->sec_hdr, sizeof(d_security))) { in ntfs_get_security_by_id()
2051 le64_to_cpu(sii_e->sec_hdr.off) + in ntfs_get_security_by_id()
2146 if (le32_to_cpu(e->sec_hdr.size) == new_sec_size) { in ntfs_insert_security()
2148 le64_to_cpu(e->sec_hdr.off), in ntfs_insert_security()
2228 cpu_to_le16(offsetof(struct NTFS_DE_SII, sec_hdr)); in ntfs_insert_security()
2236 memcpy(&sii_e.sec_hdr, d_security, sizeof(struct SECURITY_HDR)); in ntfs_insert_security()
2244 cpu_to_le16(offsetof(struct NTFS_DE_SDH, sec_hdr)); in ntfs_insert_security()
[all …]
Dntfs.h935 struct SECURITY_HDR sec_hdr; // 0x14: member
938 static_assert(offsetof(struct NTFS_DE_SII, sec_hdr) == 0x14);
945 struct SECURITY_HDR sec_hdr; // 0x18: Data member
/linux-6.6.21/drivers/bluetooth/
Dbtrtl.c456 struct rtl_sec_hdr *sec_hdr; in btrtl_parse_section() local
490 sec_hdr = (void *)common_subsec; in btrtl_parse_section()
491 if (sec_hdr->key_id != btrtl_dev->key_id) in btrtl_parse_section()