函数逻辑报告

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

函数名称:__threshold_add_blocks

函数原型:static int __threshold_add_blocks(struct threshold_bank *b)

返回类型:int

参数:

类型参数名称
struct threshold_bank *b
1281  head等于* List of threshold blocks * within a bank.
1282  struct threshold_block * pos = NULL
1283  struct threshold_block * tmp = NULL
1284  err等于0
1286  err等于kobject_add() - The main kobject add function.*@kobj: the kobject to add*@parent: pointer to the parent of the kobject.*@fmt: format to name the kobject with.* The kobject name is set and added to the kobject hierarchy in this* function.
1287  如果err则返回:err
1292  err等于kobject_add() - The main kobject add function.*@kobj: the kobject to add*@parent: pointer to the parent of the kobject.*@fmt: format to name the kobject with.* The kobject name is set and added to the kobject hierarchy in this* function.
1293  如果err
1294  list_for_each_entry_safe_reverse - iterate backwards over list safe against removal*@pos: the type * to use as a loop cursor.*@n: another type * to use as temporary storage*@head: the head for your list.(pos, tmp, head, miscj)
1295  解除对象
1297  返回:err
1300  返回:err
调用者
名称描述
threshold_create_bank