Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\vsprintf.c Create Date:2022-07-28 06:12:03
Last Modify:2022-05-21 09:47:42 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Maps a pointer to a 32 bit unique identifier.

Proto:static inline int __ptr_to_hashval(const void *ptr, unsigned long *hashval_out)

Type:int

Parameter:

TypeParameterName
const void *ptr
unsigned long *hashval_out
768  If static_branch_unlikely( & not_filled_random_ptr_key) Then Return -EAGAIN
779  hashval = siphash_1u32((u32)ptr, & ptr_key)
781  hashval_out = hashval
782  Return 0
Caller
NameDescribe
ptr_to_hashval
ptr_to_id