Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\mce\core.c Create Date:2022-07-28 08:01:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mce_init_banks

Proto:static __init void mce_init_banks(void)

Type:void

Parameter:Nothing

2467  When i < Maximum banks number.* This is the limit of the current register layout on* Intel CPUs. cycle
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  name = 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  mode = 0644
2478  show = show_bank
2479  store = set_bank
Caller
NameDescribe
mcheck_init_device