Lines Matching refs:mc_size
273 unsigned int mc_size; in scan_microcode() local
281 mc_size = get_totalsize(mc_header); in scan_microcode()
282 if (!mc_size || in scan_microcode()
283 mc_size > size || in scan_microcode()
287 size -= mc_size; in scan_microcode()
291 data += mc_size; in scan_microcode()
296 save_microcode_patch(uci, data, mc_size); in scan_microcode()
322 data += mc_size; in scan_microcode()
786 unsigned int mc_size, data_size; in generic_load_microcode() local
794 mc_size = get_totalsize(&mc_header); in generic_load_microcode()
795 if (mc_size < sizeof(mc_header)) { in generic_load_microcode()
799 data_size = mc_size - sizeof(mc_header); in generic_load_microcode()
806 if (!mc || mc_size > curr_mc_size) { in generic_load_microcode()
808 mc = vmalloc(mc_size); in generic_load_microcode()
811 curr_mc_size = mc_size; in generic_load_microcode()
827 new_mc_size = mc_size; in generic_load_microcode()