Lines Matching refs:data_growth

94 	liab = c->bi.idx_growth + c->bi.data_growth + c->bi.dd_growth;  in get_liability()
336 outstanding = c->bi.data_growth + c->bi.dd_growth; in do_budget_space()
378 int data_growth; in calc_data_growth() local
380 data_growth = req->new_ino ? c->bi.inode_budget : 0; in calc_data_growth()
382 data_growth += c->bi.page_budget; in calc_data_growth()
384 data_growth += c->bi.dent_budget; in calc_data_growth()
385 data_growth += req->new_ino_d; in calc_data_growth()
386 return data_growth; in calc_data_growth()
425 int err, idx_growth, data_growth, dd_growth, retried = 0; in ubifs_budget_space() local
438 data_growth = calc_data_growth(c, req); in ubifs_budget_space()
440 if (!data_growth && !dd_growth) in ubifs_budget_space()
447 ubifs_assert(c, c->bi.data_growth >= 0); in ubifs_budget_space()
457 c->bi.data_growth += data_growth; in ubifs_budget_space()
463 req->data_growth = data_growth; in ubifs_budget_space()
471 c->bi.data_growth -= data_growth; in ubifs_budget_space()
526 ubifs_assert(c, req->data_growth >= 0); in ubifs_release_budget()
531 req->data_growth = calc_data_growth(c, req); in ubifs_release_budget()
536 if (!req->data_growth && !req->dd_growth) in ubifs_release_budget()
545 c->bi.data_growth -= req->data_growth; in ubifs_release_budget()
550 ubifs_assert(c, c->bi.data_growth >= 0); in ubifs_release_budget()
554 ubifs_assert(c, !(c->bi.data_growth & 7)); in ubifs_release_budget()
574 c->bi.data_growth -= c->bi.page_budget; in ubifs_convert_page_budget()
669 outstanding = c->bi.data_growth + c->bi.dd_growth; in ubifs_get_free_space_nolock()