Lines Matching refs:child_cnt

219 		const int n = zn->child_cnt;  in copy_znode()
616 if (nn < znode->child_cnt) { in tnc_next()
628 if (nn < znode->child_cnt) { in tnc_next()
677 nn = znode->child_cnt - 1; in tnc_prev()
682 nn = znode->child_cnt - 1; in tnc_prev()
760 if (*n == (*zn)->child_cnt - 1) { in resolve_collision()
934 if (*n == (*zn)->child_cnt - 1) { in fallible_resolve_collision()
1138 ubifs_assert(c, path[p - 1] < zp->child_cnt); in dirty_cow_bottom_up()
1148 ubifs_assert(c, path[p - 1] < znode->child_cnt); in dirty_cow_bottom_up()
2032 for (i = znode->child_cnt; i > n; i--) { in insert_zbranch()
2040 for (i = znode->child_cnt; i > n; i--) in insert_zbranch()
2044 znode->child_cnt += 1; in insert_zbranch()
2088 if (znode->child_cnt < c->fanout) { in tnc_insert()
2182 zn->child_cnt = move; in tnc_insert()
2183 znode->child_cnt = keep; in tnc_insert()
2229 zi->child_cnt = 2; in tnc_insert()
2513 for (i = n; i < znode->child_cnt - 1; i++) in tnc_delete()
2515 znode->child_cnt -= 1; in tnc_delete()
2517 if (znode->child_cnt > 0) in tnc_delete()
2545 } while (znode->child_cnt == 1); /* while removing last child */ in tnc_delete()
2548 znode->child_cnt -= 1; in tnc_delete()
2550 for (i = n; i < znode->child_cnt; i++) { in tnc_delete()
2561 while (znode->child_cnt == 1 && znode->level != 0) { in tnc_delete()
2814 for (i = n + 1, k = 0; i < znode->child_cnt; i++, k++) { in ubifs_tnc_remove_range()
2828 for (i = n + 1 + k; i < znode->child_cnt; i++) in ubifs_tnc_remove_range()
2830 znode->child_cnt -= k; in ubifs_tnc_remove_range()
3092 n = znode->child_cnt - 1; in left_znode()
3123 if (n < znode->child_cnt) { in right_znode()
3241 n = znode->child_cnt - 1; in lookup_znode()
3257 if (++n >= znode->child_cnt) { in lookup_znode()