Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\list_nulls.h Create Date:2022-07-28 05:50:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:hlist_nulls_add_head

Proto:static inline void hlist_nulls_add_head(struct hlist_nulls_node *n, struct hlist_nulls_head *h)

Type:void

Parameter:

TypeParameterName
struct hlist_nulls_node *n
struct hlist_nulls_head *h
72  first = first
74  next = first
75  WRITE_ONCE(pprev, & first)
76  first = n
77  If Not ptr_is_a_nulls - Test if a ptr is a nulls*@ptr: ptr to be tested Then WRITE_ONCE(pprev, & next)