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:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:show_bank

Proto:static ssize_t show_bank(struct device *s, struct device_attribute *attr, char *buf)

Type:ssize_t

Parameter:

TypeParameterName
struct device *s
struct device_attribute *attr
char *buf
2176  bank = ank number
2179  If bank >= per_cpu(mce_num_banks, id) Then Return -EINVAL
2182  b = per_cpu(mce_banks_array, id)[bank]
2184  If Not initialise bank? Then Return -ENODEV
2187  Return sprintf(buf, "%llx\n", subevents to enable )