Lines Matching refs:badblock
17 struct badblock { struct
36 static struct badblock *dust_rb_search(struct rb_root *root, sector_t blk) in dust_rb_search() argument
41 struct badblock *bblk = rb_entry(node, struct badblock, node); in dust_rb_search()
54 static bool dust_rb_insert(struct rb_root *root, struct badblock *new) in dust_rb_insert()
56 struct badblock *bblk; in dust_rb_insert()
62 bblk = rb_entry(parent, struct badblock, node); in dust_rb_insert()
80 struct badblock *bblock; in dust_remove_block()
108 struct badblock *bblock; in dust_add_block()
144 struct badblock *bblock; in dust_query_block()
161 struct badblock *bblk = dust_rb_search(&dd->badblocklist, thisblock); in __dust_map_read()
187 struct badblock *bblk = dust_rb_search(&dd->badblocklist, thisblock); in __dust_map_write()
293 struct badblock *bblk; in dust_list_badblocks()
300 bblk = rb_entry(node, struct badblock, node); in dust_list_badblocks()