Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ubifs/
Dtnc.c135 zbr = &znode->parent->zbranch[znode->iip]; in insert_old_idx_znode()
160 zbr = &znode->parent->zbranch[znode->iip]; in ins_clr_old_idx_znode()
259 struct ubifs_zbranch *child = &new_zn->zbranch[i]; in replace_znode()
630 zbr = &znode->zbranch[n]; in get_znode()
750 err = matches_name(c, &(*zn)->zbranch[*n], nm); in resolve_collision()
767 if (keys_cmp(c, &(*zn)->zbranch[*n].key, key)) { in resolve_collision()
811 err = matches_name(c, &(*zn)->zbranch[*n], nm); in resolve_collision()
831 if (keys_cmp(c, &znode->zbranch[nn].key, key)) in resolve_collision()
833 err = matches_name(c, &znode->zbranch[nn], nm); in resolve_collision()
941 cmp = fallible_matches_name(c, &znode->zbranch[nn], nm); in fallible_resolve_collision()
[all …]
Dtnc_misc.c143 const struct ubifs_zbranch *zbr = &znode->zbranch[0]; in ubifs_search_zbranch()
243 if (!zn->zbranch[n].znode) in ubifs_destroy_tnc_subtree()
247 !ubifs_zn_dirty(zn->zbranch[n].znode)) in ubifs_destroy_tnc_subtree()
251 kfree(zn->zbranch[n].znode); in ubifs_destroy_tnc_subtree()
312 struct ubifs_zbranch *zbr = &znode->zbranch[i]; in read_znode()
374 key1 = &znode->zbranch[i].key; in read_znode()
375 key2 = &znode->zbranch[i + 1].key; in read_znode()
Ddebug.c863 zbr = &znode->parent->zbranch[znode->iip]; in ubifs_dump_znode()
878 zbr = &znode->zbranch[n]; in ubifs_dump_znode()
1341 if (keys_cmp(c, &zp->zbranch[n].key, in dbg_check_znode()
1342 &zp->zbranch[znode->iip].key)) { in dbg_check_znode()
1354 cmp = keys_cmp(c, min, &znode->zbranch[0].key); in dbg_check_znode()
1361 max = &zp->zbranch[n + 1].key; in dbg_check_znode()
1369 &znode->zbranch[znode->child_cnt - 1].key); in dbg_check_znode()
1388 cmp = keys_cmp(c, &znode->zbranch[n - 1].key, in dbg_check_znode()
1389 &znode->zbranch[n].key); in dbg_check_znode()
1396 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()
77 zbr = &zp->zbranch[znode->iip]; in make_idx_node()
489 zbr = &zp->zbranch[i]; in layout_in_empty_space()
607 struct ubifs_zbranch *zbr = &znode->zbranch[i]; in find_first_dirty()
635 struct ubifs_zbranch *zbr = &znode->zbranch[n]; in find_next_dirty()
874 struct ubifs_zbranch *zbr = &znode->zbranch[i]; in write_index()
Dfile.c621 int i = 0, nn = *n, offs = bu->zbranch[0].offs, hole = 0, read = 0; in populate_page()
647 } else if (key_block(c, &bu->zbranch[nn].key) == page_block) { in populate_page()
650 dn = bu->buf + (bu->zbranch[nn].offs - offs); in populate_page()
678 } else if (key_block(c, &bu->zbranch[nn].key) < page_block) { in populate_page()
768 bu->buf_len = bu->zbranch[bu->cnt - 1].offs + in ubifs_do_bulk_read()
769 bu->zbranch[bu->cnt - 1].len - in ubifs_do_bulk_read()
770 bu->zbranch[0].offs; in ubifs_do_bulk_read()
Dshrinker.c124 znode->parent->zbranch[znode->iip].znode = NULL; in shrink_tnc()
Dubifs.h781 struct ubifs_zbranch zbranch[]; member
797 struct ubifs_zbranch zbranch[UBIFS_MAX_BULK_READ]; member