Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:knode_dead

Proto:static bool knode_dead(struct klist_node *knode)

Type:bool

Parameter:

TypeParameterName
struct klist_node *knode
55  Return never access directly & Use the lowest bit of n_klist to mark deleted nodes and exclude* dead ones from iteration.
Caller
NameDescribe
knode_set_klist
knode_kill
klist_release
klist_prevklist_prev - Ante up prev node in list.*@i: Iterator structure.* First grab list lock. Decrement the reference count of the previous* node, if there was one. Grab the prev node, increment its reference* count, drop the lock, and return that prev node.
klist_nextklist_next - Ante up next node in list.*@i: Iterator structure.* First grab list lock. Decrement the reference count of the previous* node, if there was one. Grab the next node, increment its reference* count, drop the lock, and return that next node.