Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:klist_iter_init_node - Initialize a klist_iter structure.*@k: klist we're iterating.*@i: klist_iter we're filling.*@n: node to start with.* Similar to klist_iter_init(), but starts the action off with @n,* instead of with the list head.

Proto:void klist_iter_init_node(struct klist *k, struct klist_iter *i, struct klist_node *n)

Type:void

Parameter:

TypeParameterName
struct klist *k
struct klist_iter *i
struct klist_node *n
283  i_klist = k
284  i_cur = NULL
285  If n && kref_get_unless_zero - Increment refcount for object unless it is zero Then i_cur = n
Caller
NameDescribe
klist_iter_initklist_iter_init - Iniitalize a klist_iter structure.*@k: klist we're iterating.*@i: klist_iter structure we're filling.* Similar to klist_iter_init_node(), but start with the list head.