Lines Matching refs:patch_size
235 verify_patch(u8 family, const u8 *buf, size_t buf_size, u32 *patch_size, bool early) in verify_patch() argument
271 *patch_size = sh_psize; in verify_patch()
327 u32 patch_size; in parse_container() local
330 ret = verify_patch(x86_family(desc->cpuid_1_eax), buf, size, &patch_size, true); in parse_container()
343 desc->psize = patch_size; in parse_container()
349 buf += patch_size + SECTION_HDR_SIZE; in parse_container()
350 size -= patch_size + SECTION_HDR_SIZE; in parse_container()
778 unsigned int *patch_size) in verify_and_add_patch() argument
785 ret = verify_patch(family, fw, leftover, patch_size, false); in verify_and_add_patch()
795 patch->data = kmemdup(fw + SECTION_HDR_SIZE, *patch_size, GFP_KERNEL); in verify_and_add_patch()
801 patch->size = *patch_size; in verify_and_add_patch()