• Home
  • Raw
  • Download

Lines Matching refs:zbr

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
1287 struct ubifs_znode *znode = zbr->znode; in dbg_check_znode()
1304 if (zbr->len == 0) in dbg_check_znode()
1342 err = ubifs_search_zbranch(c, zp, &zbr->key, &n); in dbg_check_znode()
1368 min = &zbr->key; in dbg_check_znode()
1392 if (zbr != &c->zroot) { in dbg_check_znode()
1505 struct ubifs_zbranch *zbr; in dbg_check_tnc() local
1508 zbr = &c->zroot; in dbg_check_tnc()
1510 zbr = &znode->parent->zbranch[znode->iip]; in dbg_check_tnc()
1512 err = dbg_check_znode(c, zbr); in dbg_check_tnc()
1587 struct ubifs_zbranch *zbr; in dbg_walk_index() local
1608 zbr = &znode->zbranch[0]; in dbg_walk_index()
1609 child = zbr->znode; in dbg_walk_index()
1611 child = ubifs_load_znode(c, zbr, znode, 0); in dbg_walk_index()
1638 zbr = &znode->zbranch[idx]; in dbg_walk_index()
1639 err = leaf_cb(c, zbr, priv); in dbg_walk_index()
1642 err, zbr->lnum, zbr->offs); in dbg_walk_index()
1655 zbr = &znode->zbranch[idx]; in dbg_walk_index()
1656 child = zbr->znode; in dbg_walk_index()
1658 child = ubifs_load_znode(c, zbr, znode, idx); in dbg_walk_index()
1663 zbr->znode = child; in dbg_walk_index()
1675 zbr = &znode->zbranch[0]; in dbg_walk_index()
1676 child = zbr->znode; in dbg_walk_index()
1678 child = ubifs_load_znode(c, zbr, znode, 0); in dbg_walk_index()
1683 zbr->znode = child; in dbg_walk_index()
1694 zbr = &znode->parent->zbranch[znode->iip]; in dbg_walk_index()
1696 zbr = &c->zroot; in dbg_walk_index()
1697 ubifs_msg(c, "dump of znode at LEB %d:%d", zbr->lnum, zbr->offs); in dbg_walk_index()
1932 struct ubifs_zbranch *zbr; in read_add_inode() local
1951 zbr = &znode->zbranch[n]; in read_add_inode()
1952 if (zbr->len < UBIFS_INO_NODE_SZ) { in read_add_inode()
1954 (unsigned long)inum, zbr->len); in read_add_inode()
1958 ino = kmalloc(zbr->len, GFP_NOFS); in read_add_inode()
1962 err = ubifs_tnc_read_node(c, zbr, ino); in read_add_inode()
1965 zbr->lnum, zbr->offs, err); in read_add_inode()
1997 static int check_leaf(struct ubifs_info *c, struct ubifs_zbranch *zbr, in check_leaf() argument
2003 int err, type = key_type(c, &zbr->key); in check_leaf()
2006 if (zbr->len < UBIFS_CH_SZ) { in check_leaf()
2008 zbr->len, zbr->lnum, zbr->offs); in check_leaf()
2012 node = kmalloc(zbr->len, GFP_NOFS); in check_leaf()
2016 err = ubifs_tnc_read_node(c, zbr, node); in check_leaf()
2019 zbr->lnum, zbr->offs, err); in check_leaf()
2037 type, zbr->lnum, zbr->offs); in check_leaf()
2054 ubifs_assert(c, zbr->len >= UBIFS_DATA_NODE_SZ); in check_leaf()
2075 zbr->lnum, zbr->offs, fscki->size); in check_leaf()
2084 ubifs_assert(c, zbr->len >= UBIFS_DENT_NODE_SZ); in check_leaf()
2133 ubifs_msg(c, "dump of node at LEB %d:%d", zbr->lnum, zbr->offs); in check_leaf()
2134 ubifs_dump_node(c, node, zbr->len); in check_leaf()
2167 struct ubifs_zbranch *zbr; in check_inodes() local
2252 zbr = &znode->zbranch[n]; in check_inodes()
2253 ino = kmalloc(zbr->len, GFP_NOFS); in check_inodes()
2257 err = ubifs_tnc_read_node(c, zbr, ino); in check_inodes()
2260 zbr->lnum, zbr->offs, err); in check_inodes()
2266 (unsigned long)fscki->inum, zbr->lnum, zbr->offs); in check_inodes()
2267 ubifs_dump_node(c, ino, zbr->len); in check_inodes()