Lines Matching refs:in_wl_tree
236 static int in_wl_tree(struct ubi_wl_entry *e, struct rb_root *root) in in_wl_tree() function
1277 if (in_wl_tree(e, &ubi->used)) {
1280 } else if (in_wl_tree(e, &ubi->scrub)) {
1283 } else if (in_wl_tree(e, &ubi->erroneous)) {
1333 if (e == ubi->move_from || in_wl_tree(e, &ubi->scrub) ||
1334 in_wl_tree(e, &ubi->erroneous)) {
1352 if (in_wl_tree(e, &ubi->used)) {
1442 if (in_wl_tree(e, &ubi->scrub))
1444 else if (in_wl_tree(e, &ubi->erroneous))
1549 } else if (in_wl_tree(e, &ubi->used)) {
1555 } else if (in_wl_tree(e, &ubi->free)) {
2010 if (in_wl_tree(e, root))