Lines Matching refs:znode
61 struct ubifs_znode *znode, *zprev; in shrink_tnc() local
67 if (!c->zroot.znode || atomic_long_read(&c->clean_zn_cnt) == 0) in shrink_tnc()
80 znode = ubifs_tnc_levelorder_next(c, c->zroot.znode, NULL); in shrink_tnc()
81 while (znode && total_freed < nr && in shrink_tnc()
103 if (znode->cnext) { in shrink_tnc()
109 } else if (!ubifs_zn_dirty(znode) && in shrink_tnc()
110 abs(time - znode->time) >= age) { in shrink_tnc()
111 if (znode->parent) in shrink_tnc()
112 znode->parent->zbranch[znode->iip].znode = NULL; in shrink_tnc()
114 c->zroot.znode = NULL; in shrink_tnc()
116 freed = ubifs_destroy_tnc_subtree(c, znode); in shrink_tnc()
120 znode = zprev; in shrink_tnc()
123 if (unlikely(!c->zroot.znode)) in shrink_tnc()
126 zprev = znode; in shrink_tnc()
127 znode = ubifs_tnc_levelorder_next(c, c->zroot.znode, znode); in shrink_tnc()