函数逻辑报告

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:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:request_microcode_fw

函数原型:static enum ucode_state request_microcode_fw(int cpu, struct device *device, bool refresh_fw)

返回类型:enum ucode_state

参数:

类型参数名称
intcpu
struct device *device
boolrefresh_fw
972  c等于cpu_data(cpu)
979  如果is_blacklisted(cpu)则返回:UCODE_NFOUND
982  输出格式化串
985  如果request_firmware_direct( & firmware, name, device)则
986  pr_debug("data file %s load failed\n", name)
987  返回:UCODE_NFOUND
990  and that should *never* hold a userland pointer 等于data
991  iov_len等于size
992  iov_iter_kvec( & iter, WRITE, & kvec, 1, size)
993  ret等于generic_load_microcode(cpu, & iter)
995  release_firmware(firmware)
997  返回:ret