函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:klist_init - Initialize a klist structure.*@k: The klist we're initializing.*@get: The get function for the embedding object (NULL if none)*@put: The put function for the embedding object (NULL if none)* Initialises the klist structure

函数原型:void klist_init(struct klist *k, void (*get)(struct klist_node *), void (*put)(struct klist_node *))

返回类型:void

参数:

类型参数名称
struct klist *k
void (*get
void (*put
87  初始化链表头
88  spin_lock_init( & k_lock)
89  get等于get
90  put等于put