Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/arch/x86/kernel/cpu/microcode/
Dintel.c79 if (get_totalsize(mc_hdr) <= get_datasize(mc_hdr) + MC_HEADER_SIZE) in find_matching_signature()
82 ext_hdr = mc + get_datasize(mc_hdr) + MC_HEADER_SIZE; in find_matching_signature()
134 if (total_size <= data_size + MC_HEADER_SIZE) in microcode_matches()
137 ext_header = (void *) mc_header + data_size + MC_HEADER_SIZE; in microcode_matches()
238 if (data_size + MC_HEADER_SIZE > total_size) { in microcode_sanity_check()
250 ext_table_size = total_size - (MC_HEADER_SIZE + data_size); in microcode_sanity_check()
262 ext_header = mc + MC_HEADER_SIZE + data_size; in microcode_sanity_check()
294 i = (MC_HEADER_SIZE + data_size) / sizeof(u32); in microcode_sanity_check()
465 if (total_size <= data_size + MC_HEADER_SIZE) in show_saved_mc()
468 ext_header = (void *)mc_saved_header + data_size + MC_HEADER_SIZE; in show_saved_mc()