Home
last modified time | relevance | path

Searched refs:zbr (Results 1 – 6 of 6) sorted by relevance

/third_party/uboot/u-boot-2020.01/fs/ubifs/
Dtnc_misc.c132 const struct ubifs_zbranch *zbr = &znode->zbranch[0]; in ubifs_search_zbranch() local
138 cmp = keys_cmp(c, key, &zbr[mid].key); in ubifs_search_zbranch()
154 ubifs_assert(keys_cmp(c, key, &zbr[0].key) < 0); in ubifs_search_zbranch()
156 ubifs_assert(keys_cmp(c, key, &zbr[*n].key) > 0); in ubifs_search_zbranch()
158 ubifs_assert(keys_cmp(c, key, &zbr[*n + 1].key) < 0); in ubifs_search_zbranch()
297 struct ubifs_zbranch *zbr = &znode->zbranch[i]; in read_znode() local
299 key_read(c, &br->key, &zbr->key); in read_znode()
300 zbr->lnum = le32_to_cpu(br->lnum); in read_znode()
301 zbr->offs = le32_to_cpu(br->offs); in read_znode()
302 zbr->len = le32_to_cpu(br->len); in read_znode()
[all …]
Dtnc.c116 struct ubifs_zbranch *zbr; in insert_old_idx_znode() local
118 zbr = &znode->parent->zbranch[znode->iip]; in insert_old_idx_znode()
119 if (zbr->len) in insert_old_idx_znode()
120 return insert_old_idx(c, zbr->lnum, zbr->offs); in insert_old_idx_znode()
141 struct ubifs_zbranch *zbr; in ins_clr_old_idx_znode() local
143 zbr = &znode->parent->zbranch[znode->iip]; in ins_clr_old_idx_znode()
144 if (zbr->len) { in ins_clr_old_idx_znode()
145 err = insert_old_idx(c, zbr->lnum, zbr->offs); in ins_clr_old_idx_znode()
148 zbr->lnum = 0; in ins_clr_old_idx_znode()
149 zbr->offs = 0; in ins_clr_old_idx_znode()
[all …]
Ddebug.c861 const struct ubifs_zbranch *zbr; in ubifs_dump_znode() local
866 zbr = &znode->parent->zbranch[znode->iip]; in ubifs_dump_znode()
868 zbr = &c->zroot; in ubifs_dump_znode()
871 znode, zbr->lnum, zbr->offs, zbr->len, znode->parent, znode->iip, in ubifs_dump_znode()
881 zbr = &znode->zbranch[n]; in ubifs_dump_znode()
884 n, zbr->znode, zbr->lnum, zbr->offs, zbr->len, in ubifs_dump_znode()
885 dbg_snprintf_key(c, &zbr->key, key_buf, in ubifs_dump_znode()
889 n, zbr->znode, zbr->lnum, zbr->offs, zbr->len, in ubifs_dump_znode()
890 dbg_snprintf_key(c, &zbr->key, key_buf, in ubifs_dump_znode()
1273 static int dbg_check_znode(struct ubifs_info *c, struct ubifs_zbranch *zbr) in dbg_check_znode() argument
[all …]
Dorphan.c812 static int dbg_orphan_check(struct ubifs_info *c, struct ubifs_zbranch *zbr, in dbg_orphan_check() argument
819 inum = key_inum(c, &zbr->key); in dbg_orphan_check()
822 if (key_type(c, &zbr->key) != UBIFS_INO_KEY) in dbg_orphan_check()
824 (unsigned long)inum, key_type(c, &zbr->key)); in dbg_orphan_check()
827 err = ubifs_tnc_read_node(c, zbr, ci->node); in dbg_orphan_check()
Ddebug.h16 struct ubifs_zbranch *zbr, void *priv);
Dubifs.h2230 struct ubifs_zbranch *zbr,
2232 int ubifs_tnc_read_node(struct ubifs_info *c, struct ubifs_zbranch *zbr,