Lines Matching refs:leb_size
94 h = (long long)c->lhead_lnum * c->leb_size + c->lhead_offs; in empty_log_bytes()
95 t = (long long)c->ltail_lnum * c->leb_size; in empty_log_bytes()
144 c->bud_bytes += c->leb_size - bud->start; in ubifs_add_bud()
204 if (c->bud_bytes + c->leb_size - offs > c->max_bud_bytes) { in ubifs_add_bud_to_log()
234 if (c->lhead_offs > c->leb_size - c->ref_node_alsz) { in ubifs_add_bud_to_log()
325 c->cmt_bud_bytes += c->leb_size - bud->start; in remove_buds()
328 c->leb_size - bud->start, c->cmt_bud_bytes); in remove_buds()
397 if (lnum == -1 || offs == c->leb_size) in ubifs_log_start_commit()
441 ubifs_assert(c, c->lhead_offs < c->leb_size); in ubifs_log_start_commit()
485 c->min_log_bytes = c->leb_size; in ubifs_log_end_commit()
615 int len = le32_to_cpu(ch->len), remains = c->leb_size - *offs; in add_node()
652 buf = vmalloc(c->leb_size); in ubifs_consolidate_log()
752 bud_bytes += c->leb_size - bud->start; in dbg_check_bud_bytes()