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
1273 if (in_wl_tree(e, &ubi->used)) {
1276 } else if (in_wl_tree(e, &ubi->scrub)) {
1279 } else if (in_wl_tree(e, &ubi->erroneous)) {
1329 if (e == ubi->move_from || in_wl_tree(e, &ubi->scrub) ||
1330 in_wl_tree(e, &ubi->erroneous)) {
1348 if (in_wl_tree(e, &ubi->used)) {
1438 if (in_wl_tree(e, &ubi->scrub))
1440 else if (in_wl_tree(e, &ubi->erroneous))
1545 } else if (in_wl_tree(e, &ubi->used)) {
1551 } else if (in_wl_tree(e, &ubi->free)) {
1989 if (in_wl_tree(e, root))