Home
last modified time | relevance | path

Searched refs:zn (Results 1 – 3 of 3) sorted by relevance

/fs/ubifs/
Dtnc_misc.c44 struct ubifs_znode *zn; in ubifs_tnc_levelorder_next() local
92 zn = ubifs_tnc_find_child(znode->parent, iip + 1); in ubifs_tnc_levelorder_next()
93 if (!zn) { in ubifs_tnc_levelorder_next()
100 while (zn->level != level) { in ubifs_tnc_levelorder_next()
101 znode = zn; in ubifs_tnc_levelorder_next()
102 zn = ubifs_tnc_find_child(zn, 0); in ubifs_tnc_levelorder_next()
103 if (!zn) { in ubifs_tnc_levelorder_next()
113 if (zn) { in ubifs_tnc_levelorder_next()
114 ubifs_assert(zn->level >= 0); in ubifs_tnc_levelorder_next()
115 return zn; in ubifs_tnc_levelorder_next()
[all …]
Dtnc.c214 struct ubifs_znode *zn; in copy_znode() local
216 zn = kmalloc(c->max_znode_sz, GFP_NOFS); in copy_znode()
217 if (unlikely(!zn)) in copy_znode()
220 memcpy(zn, znode, c->max_znode_sz); in copy_znode()
221 zn->cnext = NULL; in copy_znode()
222 __set_bit(DIRTY_ZNODE, &zn->flags); in copy_znode()
223 __clear_bit(COW_ZNODE, &zn->flags); in copy_znode()
230 const int n = zn->child_cnt; in copy_znode()
234 struct ubifs_zbranch *zbr = &zn->zbranch[i]; in copy_znode()
237 zbr->znode->parent = zn; in copy_znode()
[all …]
Dubifs.h1513 struct ubifs_znode **zn, int *n);