函数逻辑报告

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

函数名称:set_bank

函数原型:static ssize_t set_bank(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
2193  bank等于ank number
2197  如果kstrtou64(buf, 0, & new)小于0则返回:负EINVAL
2200  如果bank大于等于per_cpu(mce_num_banks, id)则返回:负EINVAL
2203  b等于per_cpu(mce_banks_array, id)[bank]
2205  如果非 initialise bank? 则返回:负ENODEV
2208  subevents to enable 等于new
2209  Reinit MCEs after user configuration changes
2211  返回:size