Function report |
Source Code:arch\x86\kernel\cpu\mce\amd.c |
Create Date:2022-07-28 08:03:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:reate dir/files for all valid threshold banks
Proto:int mce_threshold_create_device(unsigned int cpu)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | cpu |
1459 | err = 0 |
1461 | bp = per_cpu(threshold_banks, cpu) |
1462 | If bp Then Return 0 |
1465 | bp = kcalloc - allocate memory for an array. The memory is set to zero.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
1470 | per_cpu(threshold_banks, cpu) = bp |
1472 | When bank < per_cpu(mce_num_banks, cpu) cycle |
1475 | err = threshold_create_bank(cpu, bank) |
1479 | Return err |
1480 | err : |
1482 | Return err |
Name | Describe |
---|---|
threshold_init_device |
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 |