函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\klist.c Create Date:2022-07-27 07:13:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:klist_put

函数原型:static void klist_put(struct klist_node *n, bool kill)

返回类型:void

参数:

类型参数名称
struct klist_node *n
boolkill
211  k等于knode_klist(n)
212  (等于put
214  加自旋锁
215  如果killknode_kill(n)
217  如果非klist_dec_and_del(n)则put = NULL
219  自旋锁解锁
220  如果putput(n)
调用者
名称描述
klist_del 减少节点的引用计数并尝试删除
klist_iter_exitklist_iter_exit - Finish a list iteration.*@i: Iterator structure.* Must be called when done iterating over list, as it decrements the* refcount of the current node. Necessary in case iteration exited before