Lines Matching defs:bud_bytes
170 c->bud_bytes += c->leb_size - bud->start;
172 dbg_log("LEB %d:%d, jhead %s, bud_bytes %lld", bud->lnum,
173 bud->start, dbg_jhead(bud->jhead), c->bud_bytes);
246 * It is not necessary to hold @c->buds_lock when reading @c->bud_bytes
247 * because we are holding @c->log_mutex. All @c->bud_bytes take place
248 * when both @c->log_mutex and @c->bud_bytes are locked.
250 if (c->bud_bytes + c->leb_size - offs > c->max_bud_bytes) {
252 c->bud_bytes, c->max_bud_bytes);
263 if (c->bud_bytes >= c->bg_bud_bytes &&
266 c->bud_bytes, c->max_bud_bytes);
518 c->bud_bytes -= c->cmt_bud_bytes;
780 * ('c->bud_bytes' is correct). Returns zero in case of success and %-EINVAL in
787 long long bud_bytes = 0;
795 bud_bytes += c->leb_size - bud->start;
797 if (c->bud_bytes != bud_bytes) {
798 ubifs_err("bad bud_bytes %lld, calculated %lld",
799 c->bud_bytes, bud_bytes);