Home
last modified time | relevance | path

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

/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()
247 struct ubifs_zbranch *child = &new_zn->zbranch[i]; in replace_znode()
622 zbr = &znode->zbranch[n]; in get_znode()
742 err = matches_name(c, &(*zn)->zbranch[*n], nm); in resolve_collision()
759 if (keys_cmp(c, &(*zn)->zbranch[*n].key, key)) { in resolve_collision()
803 err = matches_name(c, &(*zn)->zbranch[*n], nm); in resolve_collision()
823 if (keys_cmp(c, &znode->zbranch[nn].key, key)) in resolve_collision()
825 err = matches_name(c, &znode->zbranch[nn], nm); in resolve_collision()
933 cmp = fallible_matches_name(c, &znode->zbranch[nn], nm); in fallible_resolve_collision()
[all …]
Ddebug.c857 zbr = &znode->parent->zbranch[znode->iip]; in ubifs_dump_znode()
872 zbr = &znode->zbranch[n]; in ubifs_dump_znode()
1335 if (keys_cmp(c, &zp->zbranch[n].key, in dbg_check_znode()
1336 &zp->zbranch[znode->iip].key)) { in dbg_check_znode()
1348 cmp = keys_cmp(c, min, &znode->zbranch[0].key); in dbg_check_znode()
1355 max = &zp->zbranch[n + 1].key; in dbg_check_znode()
1363 &znode->zbranch[znode->child_cnt - 1].key); in dbg_check_znode()
1382 cmp = keys_cmp(c, &znode->zbranch[n - 1].key, in dbg_check_znode()
1383 &znode->zbranch[n].key); in dbg_check_znode()
1390 if (!is_hash_key(c, &znode->zbranch[n].key)) { in dbg_check_znode()
[all …]
Dtnc_misc.c131 const struct ubifs_zbranch *zbr = &znode->zbranch[0]; in ubifs_search_zbranch()
231 if (!zn->zbranch[n].znode) in ubifs_destroy_tnc_subtree()
235 !ubifs_zn_dirty(zn->zbranch[n].znode)) in ubifs_destroy_tnc_subtree()
239 kfree(zn->zbranch[n].znode); in ubifs_destroy_tnc_subtree()
308 struct ubifs_zbranch *zbr = &znode->zbranch[i]; in read_znode()
371 key1 = &znode->zbranch[i].key; in read_znode()
372 key2 = &znode->zbranch[i + 1].key; in read_znode()
Dtnc_commit.c38 struct ubifs_zbranch *zbr = &znode->zbranch[i]; in make_idx_node()
68 zbr = &zp->zbranch[znode->iip]; in make_idx_node()
482 zbr = &zp->zbranch[i]; in layout_in_empty_space()
600 struct ubifs_zbranch *zbr = &znode->zbranch[i]; in find_first_dirty()
628 struct ubifs_zbranch *zbr = &znode->zbranch[n]; in find_next_dirty()
871 struct ubifs_zbranch *zbr = &znode->zbranch[i]; in write_index()
895 znode->cparent->zbranch[znode->ciip].hash); in write_index()
900 znode->parent->zbranch[znode->iip].hash); in write_index()
Dmisc.h76 if (znode->zbranch[start].znode) in ubifs_tnc_find_child()
77 return znode->zbranch[start].znode; in ubifs_tnc_find_child()
Dfile.c609 int i = 0, nn = *n, offs = bu->zbranch[0].offs, hole = 0, read = 0; in populate_page()
635 } else if (key_block(c, &bu->zbranch[nn].key) == page_block) { in populate_page()
638 dn = bu->buf + (bu->zbranch[nn].offs - offs); in populate_page()
666 } else if (key_block(c, &bu->zbranch[nn].key) < page_block) { in populate_page()
756 bu->buf_len = bu->zbranch[bu->cnt - 1].offs + in ubifs_do_bulk_read()
757 bu->zbranch[bu->cnt - 1].len - in ubifs_do_bulk_read()
758 bu->zbranch[0].offs; in ubifs_do_bulk_read()
Dshrinker.c112 znode->parent->zbranch[znode->iip].znode = NULL; in shrink_tnc()
Dubifs.h791 struct ubifs_zbranch zbranch[]; member
807 struct ubifs_zbranch zbranch[UBIFS_MAX_BULK_READ]; member