Lines Matching refs:dd_growth
94 liab = c->bi.idx_growth + c->bi.data_growth + c->bi.dd_growth;
335 outstanding = c->bi.data_growth + c->bi.dd_growth;
397 int dd_growth;
399 dd_growth = req->dirtied_page ? c->bi.page_budget : 0;
402 dd_growth += c->bi.inode_budget * req->dirtied_ino;
404 dd_growth += c->bi.dent_budget;
405 dd_growth += req->dirtied_ino_d;
406 return dd_growth;
424 int err, idx_growth, data_growth, dd_growth, retried = 0;
438 dd_growth = calc_dd_growth(c, req);
439 if (!data_growth && !dd_growth)
447 ubifs_assert(c, c->bi.dd_growth >= 0);
457 c->bi.dd_growth += dd_growth;
463 req->dd_growth = dd_growth;
471 c->bi.dd_growth -= dd_growth;
526 ubifs_assert(c, req->dd_growth >= 0);
531 req->dd_growth = calc_dd_growth(c, req);
535 if (!req->data_growth && !req->dd_growth)
545 c->bi.dd_growth -= req->dd_growth;
550 ubifs_assert(c, c->bi.dd_growth >= 0);
554 ubifs_assert(c, !(c->bi.dd_growth & 7));
575 c->bi.dd_growth += c->bi.page_budget;
596 /* The "no space" flags will be cleared because dd_growth is > 0 */
597 req.dd_growth = c->bi.inode_budget + ALIGN(ui->data_len, 8);
668 outstanding = c->bi.data_growth + c->bi.dd_growth;