sh_psize          156 arch/x86/kernel/cpu/microcode/amd.c __verify_patch_section(const u8 *buf, size_t buf_size, u32 *sh_psize, bool early)
sh_psize          187 arch/x86/kernel/cpu/microcode/amd.c 	*sh_psize = p_size;
sh_psize          198 arch/x86/kernel/cpu/microcode/amd.c static unsigned int __verify_patch_size(u8 family, u32 sh_psize, size_t buf_size)
sh_psize          203 arch/x86/kernel/cpu/microcode/amd.c 		return min_t(u32, sh_psize, buf_size);
sh_psize          221 arch/x86/kernel/cpu/microcode/amd.c 	if (sh_psize > min_t(u32, buf_size, max_size))
sh_psize          224 arch/x86/kernel/cpu/microcode/amd.c 	return sh_psize;
sh_psize          240 arch/x86/kernel/cpu/microcode/amd.c 	u32 sh_psize;
sh_psize          244 arch/x86/kernel/cpu/microcode/amd.c 	if (!__verify_patch_section(buf, buf_size, &sh_psize, early))
sh_psize          258 arch/x86/kernel/cpu/microcode/amd.c 	if (buf_size < sh_psize) {
sh_psize          260 arch/x86/kernel/cpu/microcode/amd.c 			pr_debug("Patch of size %u truncated.\n", sh_psize);
sh_psize          265 arch/x86/kernel/cpu/microcode/amd.c 	ret = __verify_patch_size(family, sh_psize, buf_size);
sh_psize          272 arch/x86/kernel/cpu/microcode/amd.c 	*patch_size = sh_psize;