Lines Matching refs:in_wl_tree
242 static int in_wl_tree(struct ubi_wl_entry *e, struct rb_root *root) in in_wl_tree() function
1317 if (in_wl_tree(e, &ubi->used)) {
1320 } else if (in_wl_tree(e, &ubi->scrub)) {
1323 } else if (in_wl_tree(e, &ubi->erroneous)) {
1373 if (e == ubi->move_from || in_wl_tree(e, &ubi->scrub) ||
1374 in_wl_tree(e, &ubi->erroneous)) {
1392 if (in_wl_tree(e, &ubi->used)) {
1482 if (in_wl_tree(e, &ubi->scrub))
1484 else if (in_wl_tree(e, &ubi->erroneous))
1589 } else if (in_wl_tree(e, &ubi->used)) {
1595 } else if (in_wl_tree(e, &ubi->free)) {
2050 if (in_wl_tree(e, root))