Lines Matching refs:mc_size
268 unsigned int mc_size; in scan_microcode() local
270 for (; size >= sizeof(struct microcode_header_intel); size -= mc_size, data += mc_size) { in scan_microcode()
273 mc_size = get_totalsize(mc_header); in scan_microcode()
274 if (!mc_size || mc_size > size || in scan_microcode()
503 unsigned int mc_size, data_size; in parse_microcode_blobs() local
511 mc_size = get_totalsize(&mc_header); in parse_microcode_blobs()
512 if (mc_size < sizeof(mc_header)) { in parse_microcode_blobs()
516 data_size = mc_size - sizeof(mc_header); in parse_microcode_blobs()
523 if (!mc || mc_size > curr_mc_size) { in parse_microcode_blobs()
525 mc = kvmalloc(mc_size, GFP_KERNEL); in parse_microcode_blobs()
528 curr_mc_size = mc_size; in parse_microcode_blobs()