Lines Matching defs:bb

457 static int prev_by_hint(struct badblocks *bb, sector_t s, int hint)  in prev_by_hint()
481 static int prev_badblocks(struct badblocks *bb, struct badblocks_context *bad, in prev_badblocks()
534 static bool can_merge_front(struct badblocks *bb, int prev, in can_merge_front()
552 static int front_merge(struct badblocks *bb, int prev, struct badblocks_context *bad) in front_merge()
588 static bool can_combine_front(struct badblocks *bb, int prev, in can_combine_front()
609 static void front_combine(struct badblocks *bb, int prev) in front_combine()
626 static bool overlap_front(struct badblocks *bb, int front, in overlap_front()
641 static bool overlap_behind(struct badblocks *bb, struct badblocks_context *bad, in overlap_behind()
673 static bool can_front_overwrite(struct badblocks *bb, int prev, in can_front_overwrite()
716 static int front_overwrite(struct badblocks *bb, int prev, in front_overwrite()
778 static int insert_at(struct badblocks *bb, int at, struct badblocks_context *bad) in insert_at()
793 static void badblocks_update_acked(struct badblocks *bb) in badblocks_update_acked()
817 static bool try_adjacent_combine(struct badblocks *bb, int prev) in try_adjacent_combine()
839 static bool _badblocks_set(struct badblocks *bb, sector_t s, sector_t sectors, in _badblocks_set()
988 static int front_clear(struct badblocks *bb, int prev, in front_clear()
1031 static int front_splitting_clear(struct badblocks *bb, int prev, in front_splitting_clear()
1049 static bool _badblocks_clear(struct badblocks *bb, sector_t s, sector_t sectors) in _badblocks_clear()
1186 static int _badblocks_check(struct badblocks *bb, sector_t s, sector_t sectors, in _badblocks_check()
1298 int badblocks_check(struct badblocks *bb, sector_t s, sector_t sectors, in badblocks_check()
1341 bool badblocks_set(struct badblocks *bb, sector_t s, sector_t sectors, in badblocks_set()
1362 bool badblocks_clear(struct badblocks *bb, sector_t s, sector_t sectors) in badblocks_clear()
1375 void ack_all_badblocks(struct badblocks *bb) in ack_all_badblocks()
1414 ssize_t badblocks_show(struct badblocks *bb, char *page, int unack) in badblocks_show()
1464 ssize_t badblocks_store(struct badblocks *bb, const char *page, size_t len, in badblocks_store()
1491 static int __badblocks_init(struct device *dev, struct badblocks *bb, in __badblocks_init()
1522 int badblocks_init(struct badblocks *bb, int enable) in badblocks_init()
1528 int devm_init_badblocks(struct device *dev, struct badblocks *bb) in devm_init_badblocks()
1540 void badblocks_exit(struct badblocks *bb) in badblocks_exit()