Lines Matching refs:dd_growth
97 liab = c->bi.idx_growth + c->bi.data_growth + c->bi.dd_growth;
338 outstanding = c->bi.data_growth + c->bi.dd_growth;
400 int dd_growth;
402 dd_growth = req->dirtied_page ? c->bi.page_budget : 0;
405 dd_growth += c->bi.inode_budget * req->dirtied_ino;
407 dd_growth += c->bi.dent_budget;
408 dd_growth += req->dirtied_ino_d;
409 return dd_growth;
427 int err, idx_growth, data_growth, dd_growth, retried = 0;
441 dd_growth = calc_dd_growth(c, req);
442 if (!data_growth && !dd_growth)
450 ubifs_assert(c, c->bi.dd_growth >= 0);
460 c->bi.dd_growth += dd_growth;
466 req->dd_growth = dd_growth;
474 c->bi.dd_growth -= dd_growth;
529 ubifs_assert(c, req->dd_growth >= 0);
534 req->dd_growth = calc_dd_growth(c, req);
538 if (!req->data_growth && !req->dd_growth)
548 c->bi.dd_growth -= req->dd_growth;
553 ubifs_assert(c, c->bi.dd_growth >= 0);
557 ubifs_assert(c, !(c->bi.dd_growth & 7));
578 c->bi.dd_growth += c->bi.page_budget;
599 /* The "no space" flags will be cleared because dd_growth is > 0 */
600 req.dd_growth = c->bi.inode_budget + ALIGN(ui->data_len, 8);
671 outstanding = c->bi.data_growth + c->bi.dd_growth;