Searched refs:zbr (Results 1 – 7 of 7) sorted by relevance
/fs/ubifs/ |
D | tnc.c | 26 struct ubifs_zbranch *zbr); 28 struct ubifs_zbranch *zbr, void *node); 122 struct ubifs_zbranch *zbr; in insert_old_idx_znode() local 124 zbr = &znode->parent->zbranch[znode->iip]; in insert_old_idx_znode() 125 if (zbr->len) in insert_old_idx_znode() 126 return insert_old_idx(c, zbr->lnum, zbr->offs); in insert_old_idx_znode() 147 struct ubifs_zbranch *zbr; in ins_clr_old_idx_znode() local 149 zbr = &znode->parent->zbranch[znode->iip]; in ins_clr_old_idx_znode() 150 if (zbr->len) { in ins_clr_old_idx_znode() 151 err = insert_old_idx(c, zbr->lnum, zbr->offs); in ins_clr_old_idx_znode() [all …]
|
D | tnc_misc.c | 131 const struct ubifs_zbranch *zbr = &znode->zbranch[0]; in ubifs_search_zbranch() local 137 cmp = keys_cmp(c, key, &zbr[mid].key); in ubifs_search_zbranch() 153 ubifs_assert(c, keys_cmp(c, key, &zbr[0].key) < 0); in ubifs_search_zbranch() 155 ubifs_assert(c, keys_cmp(c, key, &zbr[*n].key) > 0); in ubifs_search_zbranch() 157 ubifs_assert(c, keys_cmp(c, key, &zbr[*n + 1].key) < 0); in ubifs_search_zbranch() 308 struct ubifs_zbranch *zbr = &znode->zbranch[i]; in read_znode() local 310 key_read(c, &br->key, &zbr->key); in read_znode() 311 zbr->lnum = le32_to_cpu(br->lnum); in read_znode() 312 zbr->offs = le32_to_cpu(br->offs); in read_znode() 313 zbr->len = le32_to_cpu(br->len); in read_znode() [all …]
|
D | tnc_commit.c | 38 struct ubifs_zbranch *zbr = &znode->zbranch[i]; in make_idx_node() local 40 key_write_idx(c, &zbr->key, &br->key); in make_idx_node() 41 br->lnum = cpu_to_le32(zbr->lnum); in make_idx_node() 42 br->offs = cpu_to_le32(zbr->offs); in make_idx_node() 43 br->len = cpu_to_le32(zbr->len); in make_idx_node() 44 ubifs_copy_hash(c, zbr->hash, ubifs_branch_hash(c, br)); in make_idx_node() 45 if (!zbr->lnum || !zbr->len) { in make_idx_node() 48 if (zbr->znode) in make_idx_node() 49 ubifs_dump_znode(c, zbr->znode); in make_idx_node() 66 struct ubifs_zbranch *zbr; in make_idx_node() local [all …]
|
D | debug.c | 873 const struct ubifs_zbranch *zbr; in ubifs_dump_znode() local 878 zbr = &znode->parent->zbranch[znode->iip]; in ubifs_dump_znode() 880 zbr = &c->zroot; in ubifs_dump_znode() 883 znode, zbr->lnum, zbr->offs, zbr->len, znode->parent, znode->iip, in ubifs_dump_znode() 893 zbr = &znode->zbranch[n]; in ubifs_dump_znode() 896 n, zbr->znode, zbr->lnum, zbr->offs, zbr->len, in ubifs_dump_znode() 897 dbg_snprintf_key(c, &zbr->key, key_buf, in ubifs_dump_znode() 901 n, zbr->znode, zbr->lnum, zbr->offs, zbr->len, in ubifs_dump_znode() 902 dbg_snprintf_key(c, &zbr->key, key_buf, in ubifs_dump_znode() 1285 static int dbg_check_znode(struct ubifs_info *c, struct ubifs_zbranch *zbr) in dbg_check_znode() argument [all …]
|
D | orphan.c | 919 static int dbg_orphan_check(struct ubifs_info *c, struct ubifs_zbranch *zbr, in dbg_orphan_check() argument 926 inum = key_inum(c, &zbr->key); in dbg_orphan_check() 929 if (key_type(c, &zbr->key) != UBIFS_INO_KEY) in dbg_orphan_check() 931 (unsigned long)inum, key_type(c, &zbr->key)); in dbg_orphan_check() 934 err = ubifs_tnc_read_node(c, zbr, ci->node); in dbg_orphan_check()
|
D | debug.h | 16 struct ubifs_zbranch *zbr, void *priv);
|
D | ubifs.h | 1907 struct ubifs_zbranch *zbr, 1909 int ubifs_tnc_read_node(struct ubifs_info *c, struct ubifs_zbranch *zbr,
|