函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:get_name

函数原型:static const char *get_name(unsigned int bank, struct threshold_block *b)

返回类型:char

参数:

类型参数名称
unsigned intbank
struct threshold_block *b
1176  如果非* Indicates that overflow conditions are not fatal, when set.
1177  如果bbank恒等于4则返回:bank4_names(b)
1180  返回:th_names[bank]
1183  bank_type等于smca_get_bank_type(bank)
1184  如果bank_type大于等于N_SMCA_BANK_TYPES则返回:NULL
1187  如果bbank_type恒等于SMCA_UMC
1188  如果 Number within bank 小于ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(smca_umc_block_names)则返回:smca_umc_block_names[ Number within bank ]
1190  返回:NULL
1193  如果count恒等于1则返回:smca_get_name(bank_type)
1196  snprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@
1199  返回:buf_mcatype
调用者
名称描述
allocate_threshold_blocks
threshold_create_bank