Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:parity

Proto:static inline int parity(unsigned int x)

Type:int

Parameter:

TypeParameterName
unsigned intx
297  x ^= x >> 1
298  x ^= x >> 2
299  x = (x & 0x11111111U) * 0x11111111U
300  Return x >> 28 & 1
Caller
NameDescribe
solve_linear_systemsolve a m x m linear system in GF(2) with an expected number of solutions,* and return the number of found solutions