Searched refs:patch_size (Results 1 – 1 of 1) sorted by relevance
/arch/x86/kernel/cpu/microcode/ |
D | amd.c | 236 verify_patch(u8 family, const u8 *buf, size_t buf_size, u32 *patch_size, bool early) in verify_patch() argument 272 *patch_size = sh_psize; in verify_patch() 328 u32 patch_size; in parse_container() local 331 ret = verify_patch(x86_family(desc->cpuid_1_eax), buf, size, &patch_size, true); in parse_container() 344 desc->psize = patch_size; in parse_container() 350 buf += patch_size + SECTION_HDR_SIZE; in parse_container() 351 size -= patch_size + SECTION_HDR_SIZE; in parse_container() 763 unsigned int *patch_size) in verify_and_add_patch() argument 770 ret = verify_patch(family, fw, leftover, patch_size, false); in verify_and_add_patch() 780 patch->data = kmemdup(fw + SECTION_HDR_SIZE, *patch_size, GFP_KERNEL); in verify_and_add_patch()
|