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: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

Proto:void klist_init(struct klist *k, void (*get)(struct klist_node *), void (*put)(struct klist_node *))

Type:void

Parameter:

TypeParameterName
struct klist *k
void (*get
void (*put
87  Initialization list head
88  Process spin lock initialization( & k_lock)
89  get = get
90  put = put