函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:run_exercise

函数原型:static int run_exercise(struct etab *e)

返回类型:int

参数:

类型参数名称
struct etab *e
444  nn等于1左移symsize位的值减1
445  kk等于nnnroots
447  retval等于负ENOMEM
448  max_pad等于kk减1
449  prev_pad等于负1
453  rsc等于_rs - Create a RS control struct and initialize it*@symsize: the symbol size (number of bits)*@gfpoly: the extended Galois field generator polynomial coefficients,* with the 0th coefficient in the low order bit
454  如果非rsc则返回:retval
457  ws等于alloc_ws(codec)
458  如果非ws则转到:err
461  retval等于0
462 i小于ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(pad_coef)循环
463  pad等于multmax_pad右移shift
464  len等于nnpad
466  如果pad恒等于prev_pad则继续下一循环
469  prev_pad等于pad
470  如果v大于等于V_PROGRESS
471  打印信息("Testing (%d,%d)_%d code...\n", len, kk - pad, nn + 1)
475  retval或等于exercise_rs(rsc, ws, len, ntrials)
476  如果bcretval或等于exercise_rs_bc(rsc, ws, len, ntrials)
480  free_ws(ws)
482  err :
483  释放长期不使用控制结构
484  返回:retval
调用者
名称描述
test_rslib_init