函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:raid6_choose_recov

函数原型:static inline const struct raid6_recov_calls *raid6_choose_recov(void)

返回类型:struct raid6_recov_calls

参数:

132 algo循环如果非bestpriority大于priority
134  如果非validvalid()则best等于algo
137  如果best
138  raid6_2data_recov等于data2
139  raid6_datap_recov等于datap
141  打印信息("raid6: using %s recovery algorithm\n", name)
142  否则打印错误信息("raid6: Yikes! No recovery algorithm found!\n")
145  返回:best
调用者
名称描述
raid6_select_algoThis code uses the gfmul table as convenient data set to abuse