函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:badblocks_update_acked

函数原型:static void badblocks_update_acked(struct badblocks *bb)

返回类型:void

参数:

类型参数名称
struct badblocks *bb
130  p等于 badblock list
132  bool unacked = false
134  如果非 there probably are unacknowledged * bad blocks. This is only cleared * when a read discovers none则返回
137 i小于 count of bad blocks 循环
138  如果非BB_ACK(p[i])则
139  unacked = true
140  退出
144  如果非unacked there probably are unacknowledged * bad blocks. This is only cleared * when a read discovers none等于0
调用者
名称描述
badblocks_setadblocks_set() - Add a range of bad blocks to the table
badblocks_clearadblocks_clear() - Remove a range of bad blocks to the table