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

Name:set_ignore_ce

Proto:static ssize_t set_ignore_ce(struct device *s, struct device_attribute *attr, const char *buf, size_t size)

Type:ssize_t

Parameter:

TypeParameterName
struct device *s
struct device_attribute *attr
const char *buf
size_tsize
2220  If kstrtou64(buf, 0, & new) < 0 Then Return -EINVAL
2223  mutex_lock( & sysfs synchronization )
2224  If ignore_ce ^ Not Not new Then
2225  If new Then
2229  ignore_ce = true
2230  Else
2232  ignore_ce = false
2236  mutex_unlock( & sysfs synchronization )
2238  Return size