Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/ubifs/
Dtnc.c116 zbr = &znode->parent->zbranch[znode->iip]; in insert_old_idx_znode()
141 zbr = &znode->parent->zbranch[znode->iip]; in ins_clr_old_idx_znode()
211 struct ubifs_zbranch *zbr = &zn->zbranch[i]; in copy_znode()
585 zbr = &znode->zbranch[n]; in get_znode()
705 err = matches_name(c, &(*zn)->zbranch[*n], nm); in resolve_collision()
722 if (keys_cmp(c, &(*zn)->zbranch[*n].key, key)) { in resolve_collision()
766 err = matches_name(c, &(*zn)->zbranch[*n], nm); in resolve_collision()
786 if (keys_cmp(c, &znode->zbranch[nn].key, key)) in resolve_collision()
788 err = matches_name(c, &znode->zbranch[nn], nm); in resolve_collision()
896 cmp = fallible_matches_name(c, &znode->zbranch[nn], nm); in fallible_resolve_collision()
[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()
Ddebug.c878 zbr = &znode->parent->zbranch[znode->iip]; in ubifs_dump_znode()
893 zbr = &znode->zbranch[n]; in ubifs_dump_znode()
1356 if (keys_cmp(c, &zp->zbranch[n].key, in dbg_check_znode()
1357 &zp->zbranch[znode->iip].key)) { in dbg_check_znode()
1369 cmp = keys_cmp(c, min, &znode->zbranch[0].key); in dbg_check_znode()
1376 max = &zp->zbranch[n + 1].key; in dbg_check_znode()
1384 &znode->zbranch[znode->child_cnt - 1].key); in dbg_check_znode()
1403 cmp = keys_cmp(c, &znode->zbranch[n - 1].key, in dbg_check_znode()
1404 &znode->zbranch[n].key); in dbg_check_znode()
1411 if (!is_hash_key(c, &znode->zbranch[n].key)) { in dbg_check_znode()
[all …]
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