Lines Matching refs:zbr

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
68 zbr = &zp->zbranch[znode->iip]; 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()
72 ubifs_copy_hash(c, hash, zbr->hash); in make_idx_node()
478 struct ubifs_zbranch *zbr; in layout_in_empty_space() local
482 zbr = &zp->zbranch[i]; in layout_in_empty_space()
483 zbr->lnum = lnum; in layout_in_empty_space()
484 zbr->offs = offs; in layout_in_empty_space()
485 zbr->len = len; in layout_in_empty_space()
600 struct ubifs_zbranch *zbr = &znode->zbranch[i]; in find_first_dirty() local
602 if (zbr->znode && ubifs_zn_dirty(zbr->znode)) { in find_first_dirty()
603 znode = zbr->znode; in find_first_dirty()
628 struct ubifs_zbranch *zbr = &znode->zbranch[n]; in find_next_dirty() local
630 if (zbr->znode && ubifs_zn_dirty(zbr->znode)) in find_next_dirty()
631 return find_first_dirty(zbr->znode); in find_next_dirty()
871 struct ubifs_zbranch *zbr = &znode->zbranch[i]; in write_index() local
873 key_write_idx(c, &zbr->key, &br->key); in write_index()
874 br->lnum = cpu_to_le32(zbr->lnum); in write_index()
875 br->offs = cpu_to_le32(zbr->offs); in write_index()
876 br->len = cpu_to_le32(zbr->len); in write_index()
877 ubifs_copy_hash(c, zbr->hash, ubifs_branch_hash(c, br)); in write_index()
878 if (!zbr->lnum || !zbr->len) { in write_index()
881 if (zbr->znode) in write_index()
882 ubifs_dump_znode(c, zbr->znode); in write_index()