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:klist_add_behind - Init a klist_node and add it after an existing node*@n: node we're adding.*@pos: node to put @n after

Proto:void klist_add_behind(struct klist_node *n, struct klist_node *pos)

Type:void

Parameter:

TypeParameterName
struct klist_node *n
struct klist_node *pos
148  k = knode_klist(pos)
150  klist_node_init(k, n)
151  spin_lock( & k_lock)
152  list_add - add a new entry*@new: new entry to be added*@head: list head to add it after* Insert a new entry after the specified head.* This is good for implementing stacks.
153  spin_unlock( & k_lock)