Function report |
Source Code:arch\x86\kernel\cpu\mce\core.c |
Create Date:2022-07-28 08:01:16 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mce_device_remove
Proto:static void mce_device_remove(unsigned int cpu)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | cpu |
| 2378 | dev = per_cpu(mce_device, cpu) |
| 2381 | If Not pumask_test_cpu - test for a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@cpumask: the cpumask pointer* Returns 1 if @cpu is set in @cpumask, else returns 0 Then Return |
| 2384 | When mce_device_attrs[i] cycle device_remove_file(dev, mce_device_attrs[i]) |
| 2387 | When i < per_cpu(mce_num_banks, cpu) cycle device_remove_file(dev, & device attribute ) |
| 2390 | device_unregister(dev) |
| 2392 | per_cpu(mce_device, cpu) = NULL |
| Name | Describe |
|---|---|
| mce_cpu_online | |
| mce_cpu_pre_down |
| 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 |