Searched refs:sh_psize (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/x86/kernel/cpu/microcode/ |
H A D | amd.c | 193 __verify_patch_section(const u8 *buf, size_t buf_size, u32 *sh_psize, bool early) in __verify_patch_section() argument 224 *sh_psize = p_size; in __verify_patch_section() 240 return min_t(u32, sh_psize, buf_size); in __verify_patch_size() 257 if (sh_psize > min_t(u32, buf_size, max_size)) in __verify_patch_size() 260 return sh_psize; in __verify_patch_size() 276 u32 sh_psize; in verify_patch() local 280 if (!__verify_patch_section(buf, buf_size, &sh_psize, early)) in verify_patch() 294 if (buf_size < sh_psize) { in verify_patch() 296 pr_debug("Patch of size %u truncated.\n", sh_psize); in verify_patch() 301 ret = __verify_patch_size(family, sh_psize, buf_size); in verify_patch() [all …]
|