Lines Matching defs:idx_growth
97 liab = c->bi.idx_growth + c->bi.data_growth + c->bi.dd_growth;
171 idx_size = c->bi.old_idx_sz + c->bi.idx_growth + c->bi.uncommitted_idx;
427 int err, idx_growth, data_growth, dd_growth, retried = 0;
444 idx_growth = calc_idx_growth(c, req);
448 ubifs_assert(c, c->bi.idx_growth >= 0);
458 c->bi.idx_growth += idx_growth;
464 req->idx_growth = idx_growth;
472 c->bi.idx_growth -= idx_growth;
509 * since the index changes (which were budgeted for in @req->idx_growth) will
511 * from @c->bi.idx_growth to @c->bi.uncommitted_idx. The latter will be zeroed
527 ubifs_assert(c, req->idx_growth >= 0);
535 req->idx_growth = calc_idx_growth(c, req);
545 c->bi.idx_growth -= req->idx_growth;
546 c->bi.uncommitted_idx += req->idx_growth;
551 ubifs_assert(c, c->bi.idx_growth >= 0);
555 ubifs_assert(c, !(c->bi.idx_growth & 7));
574 c->bi.idx_growth -= c->max_idx_node_sz << UBIFS_BLOCKS_PER_PAGE_SHIFT;