Home
last modified time | relevance | path

Searched refs:zbranch (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/fs/ubifs/
Dtnc.c123 zbr = &znode->parent->zbranch[znode->iip]; in insert_old_idx_znode()
148 zbr = &znode->parent->zbranch[znode->iip]; in ins_clr_old_idx_znode()
235 struct ubifs_zbranch *zbr = &zn->zbranch[i]; in copy_znode()
594 zbr = &znode->zbranch[n]; in get_znode()
714 err = matches_name(c, &(*zn)->zbranch[*n], nm); in resolve_collision()
731 if (keys_cmp(c, &(*zn)->zbranch[*n].key, key)) { in resolve_collision()
775 err = matches_name(c, &(*zn)->zbranch[*n], nm); in resolve_collision()
795 if (keys_cmp(c, &znode->zbranch[nn].key, key)) in resolve_collision()
797 err = matches_name(c, &znode->zbranch[nn], nm); in resolve_collision()
904 cmp = fallible_matches_name(c, &znode->zbranch[nn], nm); in fallible_resolve_collision()
[all …]
Dtnc_misc.c141 const struct ubifs_zbranch *zbr = &znode->zbranch[0]; in ubifs_search_zbranch()
237 if (!zn->zbranch[n].znode) in ubifs_destroy_tnc_subtree()
241 !ubifs_zn_dirty(zn->zbranch[n].znode)) in ubifs_destroy_tnc_subtree()
245 kfree(zn->zbranch[n].znode); in ubifs_destroy_tnc_subtree()
306 struct ubifs_zbranch *zbr = &znode->zbranch[i]; in read_znode()
368 key1 = &znode->zbranch[i].key; in read_znode()
369 key2 = &znode->zbranch[i + 1].key; in read_znode()
Ddebug.c860 zbr = &znode->parent->zbranch[znode->iip]; in dbg_dump_znode()
876 zbr = &znode->zbranch[n]; in dbg_dump_znode()
1329 if (keys_cmp(c, &zp->zbranch[n].key, in dbg_check_znode()
1330 &zp->zbranch[znode->iip].key)) { in dbg_check_znode()
1342 cmp = keys_cmp(c, min, &znode->zbranch[0].key); in dbg_check_znode()
1349 max = &zp->zbranch[n + 1].key; in dbg_check_znode()
1357 &znode->zbranch[znode->child_cnt - 1].key); in dbg_check_znode()
1376 cmp = keys_cmp(c, &znode->zbranch[n - 1].key, in dbg_check_znode()
1377 &znode->zbranch[n].key); in dbg_check_znode()
1384 if (!is_hash_key(c, &znode->zbranch[n].key)) { in dbg_check_znode()
[all …]
Dmisc.h65 if (znode->zbranch[start].znode) in ubifs_tnc_find_child()
66 return znode->zbranch[start].znode; in ubifs_tnc_find_child()
Dtnc_commit.c48 struct ubifs_zbranch *zbr = &znode->zbranch[i]; in make_idx_node()
76 zbr = &zp->zbranch[znode->iip]; in make_idx_node()
469 zbr = &zp->zbranch[i]; in layout_in_empty_space()
608 struct ubifs_zbranch *zbr = &znode->zbranch[i]; in find_first_dirty()
636 struct ubifs_zbranch *zbr = &znode->zbranch[n]; in find_next_dirty()
875 struct ubifs_zbranch *zbr = &znode->zbranch[i]; in write_index()
Dfile.c611 int i = 0, nn = *n, offs = bu->zbranch[0].offs, hole = 0, read = 0; in populate_page()
637 } else if (key_block(c, &bu->zbranch[nn].key) == page_block) { in populate_page()
640 dn = bu->buf + (bu->zbranch[nn].offs - offs); in populate_page()
661 } else if (key_block(c, &bu->zbranch[nn].key) < page_block) { in populate_page()
750 bu->buf_len = bu->zbranch[bu->cnt - 1].offs + in ubifs_do_bulk_read()
751 bu->zbranch[bu->cnt - 1].len - in ubifs_do_bulk_read()
752 bu->zbranch[0].offs; in ubifs_do_bulk_read()
Dshrinker.c124 znode->parent->zbranch[znode->iip].znode = NULL; in shrink_tnc()
Dubifs.h779 struct ubifs_zbranch zbranch[]; member
795 struct ubifs_zbranch zbranch[UBIFS_MAX_BULK_READ]; member