函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\mce\amd.c Create Date:2022-07-27 09:04:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:threshold_remove_bank

函数原型:static void threshold_remove_bank(unsigned int cpu, int bank)

返回类型:void

参数:

类型参数名称
unsigned intcpu
intbank
1409  b等于per_cpu(threshold_banks, cpu)[bank]
1410  如果非b则返回
1413  如果非blocks则转到:free_out
1416  如果is_shared_bank(bank)则
1419  per_cpu(threshold_banks, cpu)[bank] = NULL
1420  返回
1421  否则
1427  bank4 = NULL
1431  deallocate_threshold_block(cpu, bank)
1433  free_out :
1434  解除对象
1435  递减引用计数对象
1436  释放内存
1437  per_cpu(threshold_banks, cpu)[bank] = NULL
调用者
名称描述
mce_threshold_remove_device