Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\badblocks.c Create Date:2022-07-28 17:24:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:badblocks_update_acked

Proto:static void badblocks_update_acked(struct badblocks *bb)

Type:void

Parameter:

TypeParameterName
struct badblocks *bb
130  p = badblock list
132  bool unacked = false
134  If Not there probably are unacknowledged * bad blocks. This is only cleared * when a read discovers none Then Return
137  When i < count of bad blocks cycle
138  If Not BB_ACK(p[i]) Then
139  unacked = true
140  Break
144  If Not unacked Then there probably are unacknowledged * bad blocks. This is only cleared * when a read discovers none = 0
Caller
NameDescribe
badblocks_setadblocks_set() - Add a range of bad blocks to the table
badblocks_clearadblocks_clear() - Remove a range of bad blocks to the table