Home
last modified time | relevance | path

Searched refs:zroot (Results 1 – 5 of 5) sorted by relevance

/external/u-boot/fs/ubifs/
Dtnc.c121 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()
[all …]
Dmaster.c119 if (c->zroot.lnum >= c->leb_cnt || c->zroot.lnum < c->main_first || in validate_master()
120 c->zroot.offs >= c->leb_size || c->zroot.offs & 7) { in validate_master()
125 if (c->zroot.len < c->ranges[UBIFS_IDX_NODE].min_len || in validate_master()
126 c->zroot.len > c->ranges[UBIFS_IDX_NODE].max_len) { in validate_master()
275 c->zroot.lnum = le32_to_cpu(c->mst_node->root_lnum); in ubifs_read_master()
276 c->zroot.offs = le32_to_cpu(c->mst_node->root_offs); in ubifs_read_master()
277 c->zroot.len = le32_to_cpu(c->mst_node->root_len); in ubifs_read_master()
340 err = dbg_old_index_check_init(c, &c->zroot); in ubifs_read_master()
Ddebug.c868 zbr = &c->zroot; in ubifs_dump_znode()
937 znode = ubifs_tnc_levelorder_next(c->zroot.znode, NULL); in ubifs_dump_tnc()
946 znode = ubifs_tnc_levelorder_next(c->zroot.znode, znode); in ubifs_dump_tnc()
1380 if (zbr != &c->zroot) { in dbg_check_znode()
1516 if (!c->zroot.znode) in dbg_check_tnc()
1519 znode = ubifs_tnc_postorder_first(c->zroot.znode); in dbg_check_tnc()
1525 zbr = &c->zroot; in dbg_check_tnc()
1615 if (!c->zroot.znode) { in dbg_walk_index()
1616 c->zroot.znode = ubifs_load_znode(c, &c->zroot, NULL, 0); in dbg_walk_index()
1617 if (IS_ERR(c->zroot.znode)) { in dbg_walk_index()
[all …]
Ddebug.h337 int dbg_old_index_check_init(struct ubifs_info *c, struct ubifs_zbranch *zroot);
338 int dbg_check_old_index(struct ubifs_info *c, struct ubifs_zbranch *zroot);
Dubifs.h1878 struct ubifs_zbranch zroot; member
2236 int ubifs_tnc_start_commit(struct ubifs_info *c, struct ubifs_zbranch *zroot);