Lines Matching refs:zroot

121 		if (c->zroot.len)  in insert_old_idx_znode()
122 return insert_old_idx(c, c->zroot.lnum, in insert_old_idx_znode()
123 c->zroot.offs); in insert_old_idx_znode()
152 if (c->zroot.len) { in ins_clr_old_idx_znode()
153 err = insert_old_idx(c, c->zroot.lnum, c->zroot.offs); in ins_clr_old_idx_znode()
156 c->zroot.lnum = 0; in ins_clr_old_idx_znode()
157 c->zroot.offs = 0; in ins_clr_old_idx_znode()
158 c->zroot.len = 0; in ins_clr_old_idx_znode()
1080 ubifs_assert(c->zroot.znode); in dirty_cow_bottom_up()
1082 if (c->zroot.znode->level > BOTTOM_UP_HEIGHT) { in dirty_cow_bottom_up()
1084 c->bottom_up_buf = kmalloc(c->zroot.znode->level * sizeof(int), in dirty_cow_bottom_up()
1090 if (c->zroot.znode->level) { in dirty_cow_bottom_up()
1099 ubifs_assert(p < c->zroot.znode->level); in dirty_cow_bottom_up()
1118 ubifs_assert(znode == c->zroot.znode); in dirty_cow_bottom_up()
1119 znode = dirty_cow_znode(c, &c->zroot); in dirty_cow_bottom_up()
1163 znode = c->zroot.znode; in ubifs_lookup_level0()
1165 znode = ubifs_load_znode(c, &c->zroot, NULL, 0); in ubifs_lookup_level0()
1298 znode = c->zroot.znode; in lookup_level0_dirty()
1300 znode = ubifs_load_znode(c, &c->zroot, NULL, 0); in lookup_level0_dirty()
1305 znode = dirty_cow_znode(c, &c->zroot); in lookup_level0_dirty()
2117 zi->zbranch[0].lnum = c->zroot.lnum; in tnc_insert()
2118 zi->zbranch[0].offs = c->zroot.offs; in tnc_insert()
2119 zi->zbranch[0].len = c->zroot.len; in tnc_insert()
2123 c->zroot.lnum = 0; in tnc_insert()
2124 c->zroot.offs = 0; in tnc_insert()
2125 c->zroot.len = 0; in tnc_insert()
2126 c->zroot.znode = zi; in tnc_insert()
2452 if (c->zroot.len) { in tnc_delete()
2453 err = insert_old_idx(c, c->zroot.lnum, in tnc_delete()
2454 c->zroot.offs); in tnc_delete()
2458 c->zroot.lnum = zbr->lnum; in tnc_delete()
2459 c->zroot.offs = zbr->offs; in tnc_delete()
2460 c->zroot.len = zbr->len; in tnc_delete()
2461 c->zroot.znode = znode; in tnc_delete()
2859 if (c->zroot.znode) { in ubifs_tnc_close()
2863 freed = ubifs_destroy_tnc_subtree(c->zroot.znode); in ubifs_tnc_close()
2987 znode = c->zroot.znode; in lookup_znode()
2989 znode = ubifs_load_znode(c, &c->zroot, NULL, 0); in lookup_znode()
2994 if (c->zroot.lnum == lnum && c->zroot.offs == offs) in lookup_znode()