Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:add_tail

Proto:static void add_tail(struct klist *k, struct klist_node *n)

Type:void

Parameter:

TypeParameterName
struct klist *k
struct klist_node *n
103  spin_lock( & k_lock)
104  list_add_tail - add a new entry*@new: new entry to be added*@head: list head to add it before* Insert a new entry before the specified head.* This is useful for implementing queues.
105  spin_unlock( & k_lock)
Caller
NameDescribe
klist_add_tailklist_add_tail - Initialize a klist_node and add it to back.*@n: node we're adding.*@k: klist it's going on.