Lines Matching defs:bad
481 static int prev_badblocks(struct badblocks *bb, struct badblocks_context *bad, in prev_badblocks()
535 struct badblocks_context *bad) in can_merge_front()
552 static int front_merge(struct badblocks *bb, int prev, struct badblocks_context *bad) in front_merge()
589 struct badblocks_context *bad) in can_combine_front()
627 struct badblocks_context *bad) in overlap_front()
641 static bool overlap_behind(struct badblocks *bb, struct badblocks_context *bad, in overlap_behind()
674 struct badblocks_context *bad, int *extra) in can_front_overwrite()
717 struct badblocks_context *bad, int extra) in front_overwrite()
778 static int insert_at(struct badblocks *bb, int at, struct badblocks_context *bad) in insert_at()
843 struct badblocks_context bad; in _badblocks_set() local
989 struct badblocks_context *bad, int *deleted) in front_clear()
1032 struct badblocks_context *bad) in front_splitting_clear()
1051 struct badblocks_context bad; in _badblocks_clear() local
1190 struct badblocks_context bad; in _badblocks_check() local