Home
last modified time | relevance | path

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

/fs/ubifs/
Dtnc.c128 zbr = &znode->parent->zbranch[znode->iip]; in insert_old_idx_znode()
153 zbr = &znode->parent->zbranch[znode->iip]; in ins_clr_old_idx_znode()
223 struct ubifs_zbranch *zbr = &zn->zbranch[i]; in copy_znode()
593 zbr = &znode->zbranch[n]; in get_znode()
713 err = matches_name(c, &(*zn)->zbranch[*n], nm); in resolve_collision()
730 if (keys_cmp(c, &(*zn)->zbranch[*n].key, key)) { in resolve_collision()
774 err = matches_name(c, &(*zn)->zbranch[*n], nm); in resolve_collision()
794 if (keys_cmp(c, &znode->zbranch[nn].key, key)) in resolve_collision()
796 err = matches_name(c, &znode->zbranch[nn], nm); in resolve_collision()
903 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.c859 zbr = &znode->parent->zbranch[znode->iip]; in ubifs_dump_znode()
874 zbr = &znode->zbranch[n]; in ubifs_dump_znode()
1336 if (keys_cmp(c, &zp->zbranch[n].key, in dbg_check_znode()
1337 &zp->zbranch[znode->iip].key)) { in dbg_check_znode()
1349 cmp = keys_cmp(c, min, &znode->zbranch[0].key); in dbg_check_znode()
1356 max = &zp->zbranch[n + 1].key; in dbg_check_znode()
1364 &znode->zbranch[znode->child_cnt - 1].key); in dbg_check_znode()
1383 cmp = keys_cmp(c, &znode->zbranch[n - 1].key, in dbg_check_znode()
1384 &znode->zbranch[n].key); in dbg_check_znode()
1391 if (!is_hash_key(c, &znode->zbranch[n].key)) { in dbg_check_znode()
[all …]
Dmisc.h88 if (znode->zbranch[start].znode) in ubifs_tnc_find_child()
89 return znode->zbranch[start].znode; in ubifs_tnc_find_child()
Dtnc_commit.c49 struct ubifs_zbranch *zbr = &znode->zbranch[i]; in make_idx_node()
75 zbr = &zp->zbranch[znode->iip]; in make_idx_node()
466 zbr = &zp->zbranch[i]; in layout_in_empty_space()
584 struct ubifs_zbranch *zbr = &znode->zbranch[i]; in find_first_dirty()
612 struct ubifs_zbranch *zbr = &znode->zbranch[n]; in find_next_dirty()
851 struct ubifs_zbranch *zbr = &znode->zbranch[i]; in write_index()
Dfile.c613 int i = 0, nn = *n, offs = bu->zbranch[0].offs, hole = 0, read = 0; in populate_page()
639 } else if (key_block(c, &bu->zbranch[nn].key) == page_block) { in populate_page()
642 dn = bu->buf + (bu->zbranch[nn].offs - offs); in populate_page()
663 } else if (key_block(c, &bu->zbranch[nn].key) < page_block) { in populate_page()
752 bu->buf_len = bu->zbranch[bu->cnt - 1].offs + in ubifs_do_bulk_read()
753 bu->zbranch[bu->cnt - 1].len - in ubifs_do_bulk_read()
754 bu->zbranch[0].offs; in ubifs_do_bulk_read()
Dshrinker.c124 znode->parent->zbranch[znode->iip].znode = NULL; in shrink_tnc()
Dubifs.h767 struct ubifs_zbranch zbranch[]; member
783 struct ubifs_zbranch zbranch[UBIFS_MAX_BULK_READ]; member