Lines Matching refs:badblocks_context
481 static int prev_badblocks(struct badblocks *bb, struct badblocks_context *bad, in prev_badblocks()
535 struct badblocks_context *bad, int behind) in can_merge_behind()
554 static int behind_merge(struct badblocks *bb, struct badblocks_context *bad, in behind_merge()
580 struct badblocks_context *bad) in can_merge_front()
597 static int front_merge(struct badblocks *bb, int prev, struct badblocks_context *bad) in front_merge()
634 struct badblocks_context *bad) in can_combine_front()
672 struct badblocks_context *bad) in overlap_front()
686 static bool overlap_behind(struct badblocks *bb, struct badblocks_context *bad, in overlap_behind()
719 struct badblocks_context *bad, int *extra) in can_front_overwrite()
762 struct badblocks_context *bad, int extra) in front_overwrite()
823 static int insert_at(struct badblocks *bb, int at, struct badblocks_context *bad) in insert_at()
864 struct badblocks_context bad; in _badblocks_set()
1074 struct badblocks_context *bad, int *deleted) in front_clear()
1117 struct badblocks_context *bad) in front_splitting_clear()
1136 struct badblocks_context bad; in _badblocks_clear()
1279 struct badblocks_context bad; in _badblocks_check()