Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:modulo

Proto:static inline int modulo(struct bch_control *bch, unsigned int v)

Type:int

Parameter:

TypeParameterName
struct bch_control *bch
unsigned intv
268  n = GF_N(bch)
269  When v >= n cycle
270  v -= n
271  v = (v & n) + (v >> GF_M(bch))
273  Return v
Caller
NameDescribe
a_pow
find_poly_deg2_rootsmpute roots of a degree 2 polynomial over GF(2^m)