• Home
  • Raw
  • Download

Lines Matching refs:zbranch

117 		zbr = &znode->parent->zbranch[znode->iip];  in insert_old_idx_znode()
142 zbr = &znode->parent->zbranch[znode->iip]; in ins_clr_old_idx_znode()
213 struct ubifs_zbranch *zbr = &zn->zbranch[i]; in copy_znode()
571 zbr = &znode->zbranch[n]; in get_znode()
691 err = matches_name(c, &(*zn)->zbranch[*n], nm); in resolve_collision()
708 if (keys_cmp(c, &(*zn)->zbranch[*n].key, key)) { in resolve_collision()
752 err = matches_name(c, &(*zn)->zbranch[*n], nm); in resolve_collision()
772 if (keys_cmp(c, &znode->zbranch[nn].key, key)) in resolve_collision()
774 err = matches_name(c, &znode->zbranch[nn], nm); in resolve_collision()
881 cmp = fallible_matches_name(c, &znode->zbranch[nn], nm); in fallible_resolve_collision()
909 if (keys_cmp(c, &(*zn)->zbranch[*n].key, key)) { in fallible_resolve_collision()
925 err = fallible_matches_name(c, &(*zn)->zbranch[*n], nm); in fallible_resolve_collision()
954 if (keys_cmp(c, &znode->zbranch[nn].key, key)) in fallible_resolve_collision()
956 err = fallible_matches_name(c, &znode->zbranch[nn], nm); in fallible_resolve_collision()
977 o_znode->zbranch[o_n].lnum, o_znode->zbranch[o_n].offs, in fallible_resolve_collision()
978 o_znode->zbranch[o_n].len); in fallible_resolve_collision()
1027 if (matches_position(&znode->zbranch[nn], lnum, offs)) in resolve_collision_directly()
1037 if (keys_cmp(c, &znode->zbranch[nn].key, key)) in resolve_collision_directly()
1039 if (matches_position(&znode->zbranch[nn], lnum, offs)) { in resolve_collision_directly()
1055 if (keys_cmp(c, &znode->zbranch[nn].key, key)) in resolve_collision_directly()
1059 if (matches_position(&znode->zbranch[nn], lnum, offs)) in resolve_collision_directly()
1115 zbr = &zp->zbranch[path[--p]]; in dirty_cow_bottom_up()
1125 znode = znode->zbranch[path[p - 1]].znode; in dirty_cow_bottom_up()
1182 zbr = &znode->zbranch[*n]; in ubifs_lookup_level0()
1253 if (keys_cmp(c, key, &znode->zbranch[*n].key)) { in ubifs_lookup_level0()
1321 zbr = &znode->zbranch[*n]; in lookup_level0_dirty()
1358 if (keys_cmp(c, key, &znode->zbranch[*n].key)) { in lookup_level0_dirty()
1445 zt = &znode->zbranch[n]; in ubifs_tnc_locate()
1463 zbr = znode->zbranch[n]; in ubifs_tnc_locate()
1520 len = znode->zbranch[n].len; in ubifs_tnc_get_bu_keys()
1527 bu->zbranch[bu->cnt++] = znode->zbranch[n]; in ubifs_tnc_get_bu_keys()
1529 lnum = znode->zbranch[n].lnum; in ubifs_tnc_get_bu_keys()
1530 offs = ALIGN(znode->zbranch[n].offs + len, 8); in ubifs_tnc_get_bu_keys()
1541 zbr = &znode->zbranch[n]; in ubifs_tnc_get_bu_keys()
1578 bu->zbranch[bu->cnt++] = *zbr; in ubifs_tnc_get_bu_keys()
1617 if (key_block(c, &bu->zbranch[bu->cnt - 1].key) < block) in ubifs_tnc_get_bu_keys()
1735 int lnum = bu->zbranch[0].lnum, offs = bu->zbranch[0].offs, len, err, i; in ubifs_tnc_bulk_read()
1739 len = bu->zbranch[bu->cnt - 1].offs; in ubifs_tnc_bulk_read()
1740 len += bu->zbranch[bu->cnt - 1].len - offs; in ubifs_tnc_bulk_read()
1768 err = validate_data_node(c, buf, &bu->zbranch[i]); in ubifs_tnc_bulk_read()
1771 buf = buf + ALIGN(bu->zbranch[i].len, 8); in ubifs_tnc_bulk_read()
1818 err = tnc_read_node_nm(c, &znode->zbranch[n], node); in do_lookup_nm()
1880 key = &znode->zbranch[0].key; in correct_parent_keys()
1881 key1 = &znode->parent->zbranch[0].key; in correct_parent_keys()
1889 key1 = &znode->parent->zbranch[0].key; in correct_parent_keys()
1913 znode->zbranch[i] = znode->zbranch[i - 1]; in insert_zbranch()
1914 if (znode->zbranch[i].znode) in insert_zbranch()
1915 znode->zbranch[i].znode->iip = i; in insert_zbranch()
1921 znode->zbranch[i] = znode->zbranch[i - 1]; in insert_zbranch()
1923 znode->zbranch[n] = *zbr; in insert_zbranch()
2004 key1 = &znode->zbranch[n - 1].key; in tnc_insert()
2015 key1 = &znode->zbranch[0].key; in tnc_insert()
2018 key1 = &znode->zbranch[n].key; in tnc_insert()
2069 zn->zbranch[i] = znode->zbranch[keep + i]; in tnc_insert()
2072 if (zn->zbranch[i].znode) { in tnc_insert()
2073 zn->zbranch[i].znode->parent = zn; in tnc_insert()
2074 zn->zbranch[i].znode->iip = i; in tnc_insert()
2092 zbr->key = zn->zbranch[0].key; in tnc_insert()
2115 zi->zbranch[0].key = znode->zbranch[0].key; in tnc_insert()
2116 zi->zbranch[0].znode = znode; in tnc_insert()
2117 zi->zbranch[0].lnum = c->zroot.lnum; in tnc_insert()
2118 zi->zbranch[0].offs = c->zroot.offs; in tnc_insert()
2119 zi->zbranch[0].len = c->zroot.len; in tnc_insert()
2120 zi->zbranch[1].key = zn->zbranch[0].key; in tnc_insert()
2121 zi->zbranch[1].znode = zn; in tnc_insert()
2167 struct ubifs_zbranch *zbr = &znode->zbranch[n]; in ubifs_tnc_add()
2213 struct ubifs_zbranch *zbr = &znode->zbranch[n]; in ubifs_tnc_replace()
2244 zbr = &znode->zbranch[n]; in ubifs_tnc_replace()
2317 struct ubifs_zbranch *zbr = &znode->zbranch[n]; in ubifs_tnc_add_nm()
2381 dbg_tnck(&znode->zbranch[n].key, "deleting key "); in tnc_delete()
2383 zbr = &znode->zbranch[n]; in tnc_delete()
2394 znode->zbranch[i] = znode->zbranch[i + 1]; in tnc_delete()
2431 znode->zbranch[i] = znode->zbranch[i + 1]; in tnc_delete()
2432 if (znode->zbranch[i].znode) in tnc_delete()
2433 znode->zbranch[i].znode->iip = i; in tnc_delete()
2443 zbr = &znode->zbranch[0]; in tnc_delete()
2609 key = &znode->zbranch[n].key; in ubifs_tnc_remove_range()
2627 key = &znode->zbranch[i].key; in ubifs_tnc_remove_range()
2630 lnc_free(&znode->zbranch[i]); in ubifs_tnc_remove_range()
2631 err = ubifs_add_dirt(c, znode->zbranch[i].lnum, in ubifs_tnc_remove_range()
2632 znode->zbranch[i].len); in ubifs_tnc_remove_range()
2641 znode->zbranch[i - k] = znode->zbranch[i]; in ubifs_tnc_remove_range()
2797 zbr = &znode->zbranch[n]; in ubifs_tnc_next_ent()
3025 if (znode->zbranch[n].lnum == lnum && znode->zbranch[n].offs == offs) in lookup_znode()
3050 if (znode->zbranch[n].lnum == lnum && in lookup_znode()
3051 znode->zbranch[n].offs == offs) in lookup_znode()
3054 if (keys_cmp(c, &znode->zbranch[n].key, key) < 0) in lookup_znode()
3072 if (znode->zbranch[n].lnum == lnum && in lookup_znode()
3073 znode->zbranch[n].offs == offs) in lookup_znode()
3076 if (keys_cmp(c, &znode->zbranch[n].key, key) > 0) in lookup_znode()
3139 zbr = &znode->zbranch[n]; in is_leaf_node_in_tnc()
3157 if (keys_cmp(c, key, &znode->zbranch[n].key)) in is_leaf_node_in_tnc()
3159 zbr = &znode->zbranch[n]; in is_leaf_node_in_tnc()
3173 if (keys_cmp(c, key, &znode->zbranch[n].key)) in is_leaf_node_in_tnc()
3175 zbr = &znode->zbranch[n]; in is_leaf_node_in_tnc()
3308 key = &znode->zbranch[n].key; in dbg_check_inode_size()