Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Given a non-zero x, returns a non-zero byte.

Proto:static u8 __init __attribute_const__ mod255(u32 x)

Type:u8

Parameter:

TypeParameterName
u32x
40  x = (x & 0xffff) + (x >> 16)
41  x = (x & 0xff) + (x >> 8)
42  x = (x & 0xff) + (x >> 8)
43  x = (x & 0xff) + (x >> 8)
44  Return x