Function report |
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 activity | Download SCCT | Chinese |
Name:set_bank
Proto:static ssize_t set_bank(struct device *s, struct device_attribute *attr, const char *buf, size_t size)
Type:ssize_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct device * | s | |
| struct device_attribute * | attr | |
| const char * | buf | |
| size_t | size |
| 2193 | bank = ank number |
| 2200 | If bank >= per_cpu(mce_num_banks, id) Then Return -EINVAL |
| 2203 | b = per_cpu(mce_banks_array, id)[bank] |
| 2205 | If Not initialise bank? Then Return -ENODEV |
| 2208 | subevents to enable = new |
| 2211 | Return size |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |