Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\klist.c Create Date:2022-07-28 06:16:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:klist_node_init

Proto:static void klist_node_init(struct klist *k, struct klist_node *n)

Type:void

Parameter:

TypeParameterName
struct klist *k
struct klist_node *n
110  Initialization list head
111  kref_init - initialize object.*@kref: object in question.
112  knode_set_klist(n, k)
113  If get Then get(n)
Caller
NameDescribe
klist_add_headklist_add_head - Initialize a klist_node and add it to front.*@n: node we're adding.*@k: klist it's going on.
klist_add_tailklist_add_tail - Initialize a klist_node and add it to back.*@n: node we're adding.*@k: klist it's going on.
klist_add_behindklist_add_behind - Init a klist_node and add it after an existing node*@n: node we're adding.*@pos: node to put @n after
klist_add_beforeklist_add_before - Init a klist_node and add it before an existing node*@n: node we're adding.*@pos: node to put @n after