函数逻辑报告

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:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:store_int_with_restart

函数原型:static ssize_t store_int_with_restart(struct device *s, struct device_attribute *attr, const char *buf, size_t size)

返回类型:ssize_t

参数:

类型参数名称
struct device *s
struct device_attribute *attr
const char *buf
size_tsize
2271  old_check_interval等于Periodic polling timer for "silent" machine check errors. If the* poller finds an MCE, poll 2x faster. When the poller finds no more* errors, poll 2x slower (up to check_interval seconds).
2272  ret等于device_store_ulong(s, attr, buf, size)
2274  如果Periodic polling timer for "silent" machine check errors. If the* poller finds an MCE, poll 2x faster. When the poller finds no more* errors, poll 2x slower (up to check_interval seconds).恒等于old_check_interval则返回:ret
2277  mutex_lock( & sysfs synchronization )
2278  Reinit MCEs after user configuration changes
2279  mutex_unlock( & sysfs synchronization )
2281  返回:ret