函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\bch.c Create Date:2022-07-27 07:57:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:deg

函数原型:static inline int deg(unsigned int poly)

返回类型:int

参数:

类型参数名称
unsigned intpoly
288  返回:ls - find last set bit in word*@x: the word to search* This is defined in a similar way as the libc and compiler builtin* ffs, but returns the position of the most significant set bit.* fls(value) returns 0 if value is 0 or the position of the last减1
调用者
名称描述
compute_syndromesmpute 2t syndromes of ecc polynomial, i.e. ecc(a^j) for j=1..2t
find_poly_deg2_rootsmpute roots of a degree 2 polynomial over GF(2^m)
build_gf_tablesgenerate Galois field lookup tables
build_mod8_tablesmpute generator polynomial remainder tables for fast encoding