Lines Matching refs:child_cnt
244 const int n = new_zn->child_cnt; in replace_znode()
646 if (nn < znode->child_cnt) { in tnc_next()
658 if (nn < znode->child_cnt) { in tnc_next()
707 nn = znode->child_cnt - 1; in tnc_prev()
712 nn = znode->child_cnt - 1; in tnc_prev()
790 if (*n == (*zn)->child_cnt - 1) { in resolve_collision()
964 if (*n == (*zn)->child_cnt - 1) { in fallible_resolve_collision()
1168 ubifs_assert(c, path[p - 1] < zp->child_cnt); in dirty_cow_bottom_up()
1178 ubifs_assert(c, path[p - 1] < znode->child_cnt); in dirty_cow_bottom_up()
2074 for (i = znode->child_cnt; i > n; i--) { in insert_zbranch()
2082 for (i = znode->child_cnt; i > n; i--) in insert_zbranch()
2086 znode->child_cnt += 1; in insert_zbranch()
2130 if (znode->child_cnt < c->fanout) { in tnc_insert()
2224 zn->child_cnt = move; in tnc_insert()
2225 znode->child_cnt = keep; in tnc_insert()
2271 zi->child_cnt = 2; in tnc_insert()
2561 for (i = n; i < znode->child_cnt - 1; i++) in tnc_delete()
2563 znode->child_cnt -= 1; in tnc_delete()
2565 if (znode->child_cnt > 0) in tnc_delete()
2593 } while (znode->child_cnt == 1); /* while removing last child */ in tnc_delete()
2596 znode->child_cnt -= 1; in tnc_delete()
2598 for (i = n; i < znode->child_cnt; i++) { in tnc_delete()
2609 while (znode->child_cnt == 1 && znode->level != 0) { in tnc_delete()
2862 for (i = n + 1, k = 0; i < znode->child_cnt; i++, k++) { in ubifs_tnc_remove_range()
2876 for (i = n + 1 + k; i < znode->child_cnt; i++) in ubifs_tnc_remove_range()
2878 znode->child_cnt -= k; in ubifs_tnc_remove_range()
3151 n = znode->child_cnt - 1; in left_znode()
3182 if (n < znode->child_cnt) { in right_znode()
3300 n = znode->child_cnt - 1; in lookup_znode()
3316 if (++n >= znode->child_cnt) { in lookup_znode()