/openbmc/linux/fs/ubifs/ |
H A D | tnc_misc.c | 315 zbr->znode = NULL; in read_znode() 320 zbr->lnum >= c->leb_cnt || zbr->offs < 0 || in read_znode() 321 zbr->offs + zbr->len > c->leb_size || zbr->offs & 7) { in read_znode() 347 type, zbr->len); in read_znode() 355 type, zbr->len); in read_znode() 439 zbr->znode = znode; in ubifs_load_znode() 474 zbr->lnum, zbr->offs); in ubifs_tnc_read_node() 476 err = ubifs_read_node(c, node, type, zbr->len, zbr->lnum, in ubifs_tnc_read_node() 477 zbr->offs); in ubifs_tnc_read_node() 488 zbr->lnum, zbr->offs); in ubifs_tnc_read_node() [all …]
|
H A D | tnc.c | 126 return insert_old_idx(c, zbr->lnum, zbr->offs); in insert_old_idx_znode() 151 err = insert_old_idx(c, zbr->lnum, zbr->offs); in ins_clr_old_idx_znode() 283 err = add_idx_dirt(c, zbr->lnum, zbr->len); in dirty_cow_znode() 305 err = add_idx_dirt(c, zbr->lnum, zbr->len); in dirty_cow_znode() 431 memcpy(node, zbr->leaf, zbr->len); in tnc_read_hashed_node() 553 zbr->lnum, zbr->offs, zbr->len); in fallible_read_node() 1047 if (zbr->lnum == lnum && zbr->offs == offs) in matches_position() 1602 offs = ALIGN(zbr->offs + zbr->len, 8); in ubifs_tnc_get_bu_keys() 1740 err = ubifs_check_node(c, buf, zbr->len, zbr->lnum, zbr->offs, 0, 0); in validate_data_node() 1748 ubifs_bad_hash(c, buf, zbr->hash, zbr->lnum, zbr->offs); in validate_data_node() [all …]
|
H A D | tnc_commit.c | 45 if (!zbr->lnum || !zbr->len) { in make_idx_node() 48 if (zbr->znode) in make_idx_node() 69 zbr->lnum = lnum; in make_idx_node() 70 zbr->offs = offs; in make_idx_node() 71 zbr->len = len; in make_idx_node() 483 zbr->lnum = lnum; in layout_in_empty_space() 485 zbr->len = len; in layout_in_empty_space() 602 if (zbr->znode && ubifs_zn_dirty(zbr->znode)) { in find_first_dirty() 630 if (zbr->znode && ubifs_zn_dirty(zbr->znode)) in find_next_dirty() 878 if (!zbr->lnum || !zbr->len) { in write_index() [all …]
|
H A D | debug.c | 883 znode, zbr->lnum, zbr->offs, zbr->len, znode->parent, znode->iip, in ubifs_dump_znode() 896 n, zbr->znode, zbr->lnum, zbr->offs, zbr->len, in ubifs_dump_znode() 901 n, zbr->znode, zbr->lnum, zbr->offs, zbr->len, in ubifs_dump_znode() 1642 err, zbr->lnum, zbr->offs); in dbg_walk_index() 1965 zbr->lnum, zbr->offs, err); in read_add_inode() 2008 zbr->len, zbr->lnum, zbr->offs); in check_leaf() 2019 zbr->lnum, zbr->offs, err); in check_leaf() 2037 type, zbr->lnum, zbr->offs); in check_leaf() 2075 zbr->lnum, zbr->offs, fscki->size); in check_leaf() 2260 zbr->lnum, zbr->offs, err); in check_inodes() [all …]
|
H A 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()
|
H A D | debug.h | 16 struct ubifs_zbranch *zbr, void *priv);
|
H A D | ubifs.h | 1907 struct ubifs_zbranch *zbr, 1909 int ubifs_tnc_read_node(struct ubifs_info *c, struct ubifs_zbranch *zbr,
|
/openbmc/u-boot/fs/ubifs/ |
H A D | tnc_misc.c | 303 zbr->znode = NULL; in read_znode() 308 zbr->lnum >= c->leb_cnt || zbr->offs < 0 || in read_znode() 309 zbr->offs + zbr->len > c->leb_size || zbr->offs & 7) { in read_znode() 335 type, zbr->len); in read_znode() 343 type, zbr->len); in read_znode() 413 err = read_znode(c, zbr->lnum, zbr->offs, zbr->len, znode); in ubifs_load_znode() 427 zbr->znode = znode; in ubifs_load_znode() 463 zbr->lnum, zbr->offs); in ubifs_tnc_read_node() 465 err = ubifs_read_node(c, node, type, zbr->len, zbr->lnum, in ubifs_tnc_read_node() 466 zbr->offs); in ubifs_tnc_read_node() [all …]
|
H A D | tnc.c | 119 return insert_old_idx(c, zbr->lnum, zbr->offs); in insert_old_idx_znode() 144 err = insert_old_idx(c, zbr->lnum, zbr->offs); in ins_clr_old_idx_znode() 258 err = add_idx_dirt(c, zbr->lnum, zbr->len); in dirty_cow_znode() 270 err = insert_old_idx(c, zbr->lnum, zbr->offs); in dirty_cow_znode() 273 err = add_idx_dirt(c, zbr->lnum, zbr->len); in dirty_cow_znode() 396 memcpy(node, zbr->leaf, zbr->len); in tnc_read_node_nm() 501 zbr->lnum, zbr->offs, zbr->len); in fallible_read_node() 994 if (zbr->lnum == lnum && zbr->offs == offs) in matches_position() 1552 offs = ALIGN(zbr->offs + zbr->len, 8); in ubifs_tnc_get_bu_keys() 1706 zbr->lnum, zbr->offs); in validate_data_node() [all …]
|
H A D | debug.c | 871 znode, zbr->lnum, zbr->offs, zbr->len, znode->parent, znode->iip, in ubifs_dump_znode() 884 n, zbr->znode, zbr->lnum, zbr->offs, zbr->len, in ubifs_dump_znode() 889 n, zbr->znode, zbr->lnum, zbr->offs, zbr->len, in ubifs_dump_znode() 1666 err, zbr->lnum, zbr->offs); in dbg_walk_index() 1990 zbr->lnum, zbr->offs, err); in read_add_inode() 2033 zbr->len, zbr->lnum, zbr->offs); in check_leaf() 2044 zbr->lnum, zbr->offs, err); in check_leaf() 2062 type, zbr->lnum, zbr->offs); in check_leaf() 2100 zbr->lnum, zbr->offs, fscki->size); in check_leaf() 2285 zbr->lnum, zbr->offs, err); in check_inodes() [all …]
|
H A D | orphan.c | 812 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()
|
H A D | debug.h | 16 struct ubifs_zbranch *zbr, void *priv);
|
H A D | ubifs.h | 2230 struct ubifs_zbranch *zbr, 2232 int ubifs_tnc_read_node(struct ubifs_info *c, struct ubifs_zbranch *zbr,
|