Searched refs:sec_hdr (Results 1 – 5 of 5) sorted by relevance
/linux/arch/x86/kernel/cpu/mce/ |
H A D | apei.c | 140 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/drivers/acpi/apei/ |
H A D | erst.c | 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() [all …]
|
/linux/fs/ntfs3/ |
H A D | fsntfs.c | 1959 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 …]
|
H A D | ntfs.h | 933 struct SECURITY_HDR sec_hdr; // 0x14: member 936 static_assert(offsetof(struct NTFS_DE_SII, sec_hdr) == 0x14); 943 struct SECURITY_HDR sec_hdr; // 0x18: Data member
|
/linux/drivers/bluetooth/ |
H A D | btrtl.c | 477 struct rtl_sec_hdr *sec_hdr; in btrtl_parse_section() local 511 sec_hdr = (void *)common_subsec; in btrtl_parse_section() 512 if (sec_hdr->key_id != btrtl_dev->key_id) in btrtl_parse_section()
|