Lines Matching refs:leb_size
410 if (lprops->free == c->leb_size) {
415 if (lprops->free + lprops->dirty == c->leb_size) {
565 if ((lprops->flags & LPROPS_TAKEN) && lprops->free == c->leb_size)
577 c->lst.total_used -= c->leb_size - old_spc;
585 if (free == c->leb_size) {
586 if (lprops->free != c->leb_size)
588 } else if (lprops->free == c->leb_size)
618 c->lst.total_used += c->leb_size - new_spc;
621 if ((lprops->flags & LPROPS_TAKEN) && lprops->free == c->leb_size)
798 ubifs_assert(lprops->free == c->leb_size);
821 ubifs_assert(lprops->free + lprops->dirty == c->leb_size);
845 ubifs_assert(lprops->free + lprops->dirty == c->leb_size);
867 if (lprops->free != c->leb_size) {
883 if (lprops->free + lprops->dirty != c->leb_size) {
913 if (lprops->free + lprops->dirty != c->leb_size) {
1102 if (lp->free == c->leb_size) {
1106 lst->total_free += c->leb_size;
1107 lst->total_dark += ubifs_calc_dark(c, c->leb_size);
1111 if (lp->free + lp->dirty == c->leb_size &&
1117 lst->total_dark += ubifs_calc_dark(c, c->leb_size);
1155 free = c->leb_size - sleb->endpt;
1158 if (free > c->leb_size || free < 0 || dirty > c->leb_size ||
1165 if (lp->free + lp->dirty == c->leb_size &&
1166 free + dirty == c->leb_size)
1168 (!is_idx && free == c->leb_size) ||
1169 lp->free == c->leb_size) {
1203 if (free == c->leb_size)
1218 if (free == c->leb_size)
1225 lst->total_used += c->leb_size - free - dirty;