函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\microcode\intel.c Create Date:2022-07-27 09:08:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:request_microcode_user

函数原型:static enum ucode_state request_microcode_user(int cpu, const void __user *buf, size_t size)

返回类型:enum ucode_state

参数:

类型参数名称
intcpu
const void __user *buf
size_tsize
1006  如果is_blacklisted(cpu)则返回:UCODE_NFOUND
1009  BSD uses caddr_t (1003.1g requires void *) 等于buf
1010  Must be size_t (1003.1g) 等于size
1011  iov_iter_init( & iter, WRITE, & iov, 1, size)
1013  返回:generic_load_microcode(cpu, & iter)