Lines Matching defs:idx_growth
94 liab = c->bi.idx_growth + c->bi.data_growth + c->bi.dd_growth;
168 idx_size = c->bi.old_idx_sz + c->bi.idx_growth + c->bi.uncommitted_idx;
424 int err, idx_growth, data_growth, dd_growth, retried = 0;
441 idx_growth = calc_idx_growth(c, req);
445 ubifs_assert(c, c->bi.idx_growth >= 0);
455 c->bi.idx_growth += idx_growth;
461 req->idx_growth = idx_growth;
469 c->bi.idx_growth -= idx_growth;
506 * since the index changes (which were budgeted for in @req->idx_growth) will
508 * from @c->bi.idx_growth to @c->bi.uncommitted_idx. The latter will be zeroed
524 ubifs_assert(c, req->idx_growth >= 0);
532 req->idx_growth = calc_idx_growth(c, req);
542 c->bi.idx_growth -= req->idx_growth;
543 c->bi.uncommitted_idx += req->idx_growth;
548 ubifs_assert(c, c->bi.idx_growth >= 0);
552 ubifs_assert(c, !(c->bi.idx_growth & 7));
571 c->bi.idx_growth -= c->max_idx_node_sz << UBIFS_BLOCKS_PER_PAGE_SHIFT;