Home
last modified time | relevance | path

Searched refs:MC_HEADER_SIZE (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/arch/x86/include/asm/
Dmicrocode_intel.h40 #define MC_HEADER_SIZE (sizeof(struct microcode_header_intel)) macro
41 #define DEFAULT_UCODE_TOTALSIZE (DEFAULT_UCODE_DATASIZE + MC_HEADER_SIZE)
/Linux-v5.4/arch/x86/kernel/cpu/microcode/
Dintel.c76 if (get_totalsize(mc_hdr) <= get_datasize(mc_hdr) + MC_HEADER_SIZE) in find_matching_signature()
79 ext_hdr = mc + get_datasize(mc_hdr) + MC_HEADER_SIZE; in find_matching_signature()
131 if (total_size <= data_size + MC_HEADER_SIZE) in microcode_matches()
134 ext_header = (void *) mc_header + data_size + MC_HEADER_SIZE; in microcode_matches()
235 if (data_size + MC_HEADER_SIZE > total_size) { in microcode_sanity_check()
247 ext_table_size = total_size - (MC_HEADER_SIZE + data_size); in microcode_sanity_check()
259 ext_header = mc + MC_HEADER_SIZE + data_size; in microcode_sanity_check()
291 i = (MC_HEADER_SIZE + data_size) / sizeof(u32); in microcode_sanity_check()
462 if (total_size <= data_size + MC_HEADER_SIZE) in show_saved_mc()
465 ext_header = (void *)mc_saved_header + data_size + MC_HEADER_SIZE; in show_saved_mc()