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:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:get_nulls_value - Get the 'nulls' value of the end of chain*@ptr: end of chain* Should be called only if is_a_nulls(ptr);

Proto:static inline unsigned long get_nulls_value(const struct hlist_nulls_node *ptr)

Type:unsigned long

Parameter:

TypeParameterName
const struct hlist_nulls_node *ptr
56  Return ptr >> 1
Caller
NameDescribe
lookup_nulls_elem_rawan be called without bucket lock. it will repeat the loop in* the unlikely event when elements moved from one bucket into another* while link list is being walked