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_behind(struct badblocks *bb, in can_merge_behind()
554 static int behind_merge(struct badblocks *bb, struct badblocks_context *bad, in behind_merge()
579 static bool can_merge_front(struct badblocks *bb, int prev, in can_merge_front()
597 static int front_merge(struct badblocks *bb, int prev, struct badblocks_context *bad) in front_merge()
633 static bool can_combine_front(struct badblocks *bb, int prev, in can_combine_front()
654 static void front_combine(struct badblocks *bb, int prev) in front_combine()
671 static bool overlap_front(struct badblocks *bb, int front, in overlap_front()
686 static bool overlap_behind(struct badblocks *bb, struct badblocks_context *bad, in overlap_behind()
718 static bool can_front_overwrite(struct badblocks *bb, int prev, in can_front_overwrite()
761 static int front_overwrite(struct badblocks *bb, int prev, in front_overwrite()
823 static int insert_at(struct badblocks *bb, int at, struct badblocks_context *bad) in insert_at()
838 static void badblocks_update_acked(struct badblocks *bb) in badblocks_update_acked()
859 static int _badblocks_set(struct badblocks *bb, sector_t s, int sectors, in _badblocks_set()
1073 static int front_clear(struct badblocks *bb, int prev, in front_clear()
1116 static int front_splitting_clear(struct badblocks *bb, int prev, in front_splitting_clear()
1134 static int _badblocks_clear(struct badblocks *bb, sector_t s, int sectors) in _badblocks_clear()
1274 static int _badblocks_check(struct badblocks *bb, sector_t s, int sectors, in _badblocks_check()
1407 int badblocks_check(struct badblocks *bb, sector_t s, int sectors, in badblocks_check()
1429 int badblocks_set(struct badblocks *bb, sector_t s, int sectors, in badblocks_set()
1450 int badblocks_clear(struct badblocks *bb, sector_t s, int sectors) in badblocks_clear()
1463 void ack_all_badblocks(struct badblocks *bb) in ack_all_badblocks()
1497 ssize_t badblocks_show(struct badblocks *bb, char *page, int unack) in badblocks_show()
1547 ssize_t badblocks_store(struct badblocks *bb, const char *page, size_t len, in badblocks_store()
1574 static int __badblocks_init(struct device *dev, struct badblocks *bb, in __badblocks_init()
1605 int badblocks_init(struct badblocks *bb, int enable) in badblocks_init()
1611 int devm_init_badblocks(struct device *dev, struct badblocks *bb) in devm_init_badblocks()
1623 void badblocks_exit(struct badblocks *bb) in badblocks_exit()