Home
last modified time | relevance | path

Searched refs:sh_psize (Results 1 – 1 of 1) sorted by relevance

/linux/arch/x86/kernel/cpu/microcode/
H A Damd.c249 __verify_patch_section(const u8 *buf, size_t buf_size, u32 *sh_psize) in __verify_patch_section() argument
274 *sh_psize = p_size; in __verify_patch_section()
285 static unsigned int __verify_patch_size(u32 sh_psize, size_t buf_size) in __verify_patch_size() argument
291 return min_t(u32, sh_psize, buf_size); in __verify_patch_size()
308 if (sh_psize > min_t(u32, buf_size, max_size)) in __verify_patch_size()
311 return sh_psize; in __verify_patch_size()
327 u32 sh_psize; in verify_patch() local
331 if (!__verify_patch_section(buf, buf_size, &sh_psize)) in verify_patch()
345 if (buf_size < sh_psize) { in verify_patch()
346 pr_debug("Patch of size %u truncated.\n", sh_psize); in verify_patch()
[all …]