Lines Matching defs:badblock
17 struct badblock {
36 static struct badblock *dust_rb_search(struct rb_root *root, sector_t blk)
41 struct badblock *bblk = rb_entry(node, struct badblock, node);
54 static bool dust_rb_insert(struct rb_root *root, struct badblock *new)
56 struct badblock *bblk;
62 bblk = rb_entry(parent, struct badblock, node);
80 struct badblock *bblock;
98 DMINFO("%s: badblock removed at block %llu", __func__, block);
108 struct badblock *bblock;
114 DMERR("%s: badblock allocation failed", __func__);
133 DMINFO("%s: badblock added at block %llu with write fail count %hhu",
144 struct badblock *bblock;
161 struct badblock *bblk = dust_rb_search(&dd->badblocklist, thisblock);
187 struct badblock *bblk = dust_rb_search(&dd->badblocklist, thisblock);
293 struct badblock *bblk;
300 bblk = rb_entry(node, struct badblock, node);
443 DMEMIT("countbadblocks: %llu badblock(s) found",