smbios_entry_point
static u8 smbios_entry_point[32];
memcpy(smbios_entry_point, buf, smbios_entry_point_size);
memcpy(smbios_entry_point, buf,
memcpy(smbios_entry_point, buf, smbios_entry_point_size);
static __ro_after_init BIN_ATTR_SIMPLE_ADMIN_RO(smbios_entry_point);
bin_attr_smbios_entry_point.private = smbios_entry_point;
static bool verify_ep_integrity(const struct smbios_entry_point *ep)
const struct smbios_entry_point *ep;
INT_ANCHOR = offsetof(struct smbios_entry_point, int_anchor[0]),
INT_CHECKSUM = offsetof(struct smbios_entry_point, int_checksum),
ST_LENGTH = offsetof(struct smbios_entry_point, st_length),
ST_ADDRESS = offsetof(struct smbios_entry_point, st_address),
NUMBER_OF_ENTRYS = offsetof(struct smbios_entry_point, number_of_entrys),
BCD_REV = offsetof(struct smbios_entry_point, bcd_rev),
ANCHOR = offsetof(struct smbios_entry_point, anchor[0]),
EP_CHECKSUM = offsetof(struct smbios_entry_point, ep_checksum),
EP_LENGTH = offsetof(struct smbios_entry_point, ep_length),
MAJOR_VERSION = offsetof(struct smbios_entry_point, major_version),
MINOR_VERSION = offsetof(struct smbios_entry_point, minor_version),
MAX_SIZE_ENTRY = offsetof(struct smbios_entry_point, max_size_entry),
EP_REV = offsetof(struct smbios_entry_point, ep_rev),