Lines Matching refs:leb_size
79 c->leb_size - wbuf->offs - wbuf->used); in switch_gc_head()
366 avail = c->leb_size - wbuf->offs - wbuf->used; in move_nodes()
381 avail = c->leb_size - wbuf->offs - wbuf->used; in move_nodes()
471 if (lp->free + lp->dirty == c->leb_size) { in ubifs_garbage_collect_leb()
476 if (lp->free != c->leb_size) { in ubifs_garbage_collect_leb()
485 err = ubifs_change_one_lp(c, lp->lnum, c->leb_size, in ubifs_garbage_collect_leb()
546 err = ubifs_change_one_lp(c, lnum, c->leb_size, 0, 0, in ubifs_garbage_collect_leb()
563 err = ubifs_change_one_lp(c, lnum, c->leb_size, 0, 0, 0, 0); in ubifs_garbage_collect_leb()
710 space_before = c->leb_size - wbuf->offs - wbuf->used; in ubifs_garbage_collect()
750 space_after = c->leb_size - wbuf->offs - wbuf->used; in ubifs_garbage_collect()
854 lp = ubifs_change_lp(c, lp, c->leb_size, 0, lp->flags, 0); in ubifs_gc_start_commit()
885 lp = ubifs_change_lp(c, lp, c->leb_size, 0, flags, 1); in ubifs_gc_start_commit()