Lines Matching refs:leb_size
89 c->leb_size - wbuf->offs - wbuf->used); in switch_gc_head()
372 avail = c->leb_size - wbuf->offs - wbuf->used; in move_nodes()
387 avail = c->leb_size - wbuf->offs - wbuf->used; in move_nodes()
477 if (lp->free + lp->dirty == c->leb_size) { in ubifs_garbage_collect_leb()
482 if (lp->free != c->leb_size) { in ubifs_garbage_collect_leb()
491 err = ubifs_change_one_lp(c, lp->lnum, c->leb_size, in ubifs_garbage_collect_leb()
552 err = ubifs_change_one_lp(c, lnum, c->leb_size, 0, 0, in ubifs_garbage_collect_leb()
569 err = ubifs_change_one_lp(c, lnum, c->leb_size, 0, 0, 0, 0); in ubifs_garbage_collect_leb()
716 space_before = c->leb_size - wbuf->offs - wbuf->used; in ubifs_garbage_collect()
756 space_after = c->leb_size - wbuf->offs - wbuf->used; in ubifs_garbage_collect()
856 lp = ubifs_change_lp(c, lp, c->leb_size, 0, lp->flags, 0); in ubifs_gc_start_commit()
887 lp = ubifs_change_lp(c, lp, c->leb_size, 0, flags, 1); in ubifs_gc_start_commit()