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
1312 if (in_wl_tree(e, &ubi->used)) {
1315 } else if (in_wl_tree(e, &ubi->scrub)) {
1318 } else if (in_wl_tree(e, &ubi->erroneous)) {
1368 if (e == ubi->move_from || in_wl_tree(e, &ubi->scrub) ||
1369 in_wl_tree(e, &ubi->erroneous)) {
1387 if (in_wl_tree(e, &ubi->used)) {
1477 if (in_wl_tree(e, &ubi->scrub))
1479 else if (in_wl_tree(e, &ubi->erroneous))
1584 } else if (in_wl_tree(e, &ubi->used)) {
1590 } else if (in_wl_tree(e, &ubi->free)) {
2045 if (in_wl_tree(e, root))