Lines Matching refs:child_cnt

255 		const int n = new_zn->child_cnt;  in replace_znode()
653 if (nn < znode->child_cnt) { in tnc_next()
665 if (nn < znode->child_cnt) { in tnc_next()
714 nn = znode->child_cnt - 1; in tnc_prev()
719 nn = znode->child_cnt - 1; in tnc_prev()
797 if (*n == (*zn)->child_cnt - 1) { in resolve_collision()
971 if (*n == (*zn)->child_cnt - 1) { in fallible_resolve_collision()
1175 ubifs_assert(c, path[p - 1] < zp->child_cnt); in dirty_cow_bottom_up()
1185 ubifs_assert(c, path[p - 1] < znode->child_cnt); in dirty_cow_bottom_up()
2075 for (i = znode->child_cnt; i > n; i--) { in insert_zbranch()
2083 for (i = znode->child_cnt; i > n; i--) in insert_zbranch()
2087 znode->child_cnt += 1; in insert_zbranch()
2131 if (znode->child_cnt < c->fanout) { in tnc_insert()
2225 zn->child_cnt = move; in tnc_insert()
2226 znode->child_cnt = keep; in tnc_insert()
2272 zi->child_cnt = 2; in tnc_insert()
2556 for (i = n; i < znode->child_cnt - 1; i++) in tnc_delete()
2558 znode->child_cnt -= 1; in tnc_delete()
2560 if (znode->child_cnt > 0) in tnc_delete()
2588 } while (znode->child_cnt == 1); /* while removing last child */ in tnc_delete()
2591 znode->child_cnt -= 1; in tnc_delete()
2593 for (i = n; i < znode->child_cnt; i++) { in tnc_delete()
2604 while (znode->child_cnt == 1 && znode->level != 0) { in tnc_delete()
2857 for (i = n + 1, k = 0; i < znode->child_cnt; i++, k++) { in ubifs_tnc_remove_range()
2871 for (i = n + 1 + k; i < znode->child_cnt; i++) in ubifs_tnc_remove_range()
2873 znode->child_cnt -= k; in ubifs_tnc_remove_range()
3150 n = znode->child_cnt - 1; in left_znode()
3181 if (n < znode->child_cnt) { in right_znode()
3299 n = znode->child_cnt - 1; in lookup_znode()
3315 if (++n >= znode->child_cnt) { in lookup_znode()