函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ex_rs_helper

函数原型:static int ex_rs_helper(struct rs_control *rs, struct wspace *ws, int len, int trials, int method)

返回类型:int

参数:

类型参数名称
struct rs_control *rs
struct wspace *ws
intlen
inttrials
intmethod
316  static const char * const desc[] = {"Testing correction buffer interface...", "Testing with caller provided syndrome...", "Testing in-place interface..."}
322  struct estat stat = {0, 0, 0, 0}
323  nroots等于nroots
326  如果v大于等于V_PROGRESS打印信息(" %s\n", desc[method])
329 errs小于等于nroots除2循环eras小于等于nroots减2乘errs循环
331  Test up to error correction capacity
333  如果v大于等于V_CSUMMARY
334  打印信息(" Decodes wrong: %d / %d\n", dwrong, nwords)
336  打印信息(" Wrong return value: %d / %d\n", irv, nwords)
338  如果method不等于IN_PLACE打印信息(" Wrong error position: %d\n", wepos)
342  retval等于dwrongweposirv
343  如果retvalv大于等于V_PROGRESS打印警告信息(" FAIL: %d decoding failures!\n", retval)
346  返回:retval
调用者
名称描述
exercise_rs