Lines Matching refs:idx_growth
94 liab = c->bi.idx_growth + c->bi.data_growth + c->bi.dd_growth; in get_liability()
168 idx_size = c->bi.old_idx_sz + c->bi.idx_growth + c->bi.uncommitted_idx; in ubifs_calc_min_idx_lebs()
425 int err, idx_growth, data_growth, dd_growth, retried = 0; in ubifs_budget_space() local
442 idx_growth = calc_idx_growth(c, req); in ubifs_budget_space()
446 ubifs_assert(c, c->bi.idx_growth >= 0); in ubifs_budget_space()
456 c->bi.idx_growth += idx_growth; in ubifs_budget_space()
462 req->idx_growth = idx_growth; in ubifs_budget_space()
470 c->bi.idx_growth -= idx_growth; in ubifs_budget_space()
525 ubifs_assert(c, req->idx_growth >= 0); in ubifs_release_budget()
533 req->idx_growth = calc_idx_growth(c, req); in ubifs_release_budget()
543 c->bi.idx_growth -= req->idx_growth; in ubifs_release_budget()
544 c->bi.uncommitted_idx += req->idx_growth; in ubifs_release_budget()
549 ubifs_assert(c, c->bi.idx_growth >= 0); in ubifs_release_budget()
553 ubifs_assert(c, !(c->bi.idx_growth & 7)); in ubifs_release_budget()
572 c->bi.idx_growth -= c->max_idx_node_sz << UBIFS_BLOCKS_PER_PAGE_SHIFT; in ubifs_convert_page_budget()