Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\mce\amd.c Create Date:2022-07-28 08:03:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__threshold_add_blocks

Proto:static int __threshold_add_blocks(struct threshold_bank *b)

Type:int

Parameter:

TypeParameterName
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  If err Then Return 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  If err Then
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  kobject_del() - Unlink kobject from hierarchy.*@kobj: object.* This is the function that should be called to delete an object* successfully added via kobject_add().
1297  Return err
1300  Return err
Caller
NameDescribe
threshold_create_bank