函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mce_init_banks

函数原型:static __init void mce_init_banks(void)

返回类型:void

参数:

2467 i小于Maximum banks number.* This is the limit of the current register layout on* Intel CPUs.循环
2468  b等于mce_bank_devs[i]
2469  a等于device attribute
2471  ank number 等于i
2473  sysfs_attr_init - initialize a dynamically allocated sysfs attribute*@attr: struct attribute to initialize* Initialize a dynamically allocated struct attribute so we can* make lockdep happy. This is a new requirement for attributes( & attr)
2474  属性名等于attribute name
2475  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*@
2477  模式等于0644
2478  show等于show_bank
2479  store等于set_bank
调用者
名称描述
mcheck_init_device