函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ack_all_badblocks() - Acknowledge all bad blocks in a list.*@bb: the badblocks structure that holds all badblock information* This only succeeds if ->changed is clear. It is used by* in-kernel metadata updates

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

返回类型:void

参数:

类型参数名称
struct badblocks *bb
435  如果 badblock list 恒等于NULLchanged则返回
438  write_seqlock_irq( & lock)
440  如果changed恒等于0且 there probably are unacknowledged * bad blocks. This is only cleared * when a read discovers none
441  p等于 badblock list
445  如果非BB_ACK(p[i])则
446  start等于BB_OFFSET(p[i])
447  len等于BB_LEN(p[i])
449  p[i]等于BB_MAKE(start, len, 1)
452  there probably are unacknowledged * bad blocks. This is only cleared * when a read discovers none等于0
454  write_sequnlock_irq( & lock)