Lines Matching refs:leb_size
402 if (lprops->free == c->leb_size) { in ubifs_categorize_lprops()
407 if (lprops->free + lprops->dirty == c->leb_size) { in ubifs_categorize_lprops()
557 if ((lprops->flags & LPROPS_TAKEN) && lprops->free == c->leb_size) in ubifs_change_lp()
569 c->lst.total_used -= c->leb_size - old_spc; in ubifs_change_lp()
577 if (free == c->leb_size) { in ubifs_change_lp()
578 if (lprops->free != c->leb_size) in ubifs_change_lp()
580 } else if (lprops->free == c->leb_size) in ubifs_change_lp()
610 c->lst.total_used += c->leb_size - new_spc; in ubifs_change_lp()
613 if ((lprops->flags & LPROPS_TAKEN) && lprops->free == c->leb_size) in ubifs_change_lp()
790 ubifs_assert(c, lprops->free == c->leb_size); in ubifs_fast_find_empty()
813 ubifs_assert(c, lprops->free + lprops->dirty == c->leb_size); in ubifs_fast_find_freeable()
837 ubifs_assert(c, lprops->free + lprops->dirty == c->leb_size); in ubifs_fast_find_frdi_idx()
861 if (lprops->free != c->leb_size) { in dbg_check_cats()
877 if (lprops->free + lprops->dirty != c->leb_size) { in dbg_check_cats()
907 if (lprops->free + lprops->dirty != c->leb_size) { in dbg_check_cats()
1084 if (lp->free == c->leb_size) { in scan_check_cb()
1086 lst->total_free += c->leb_size; in scan_check_cb()
1087 lst->total_dark += ubifs_calc_dark(c, c->leb_size); in scan_check_cb()
1090 if (lp->free + lp->dirty == c->leb_size && in scan_check_cb()
1094 lst->total_dark += ubifs_calc_dark(c, c->leb_size); in scan_check_cb()
1098 buf = __vmalloc(c->leb_size, GFP_NOFS); in scan_check_cb()
1143 free = c->leb_size - sleb->endpt; in scan_check_cb()
1146 if (free > c->leb_size || free < 0 || dirty > c->leb_size || in scan_check_cb()
1153 if (lp->free + lp->dirty == c->leb_size && in scan_check_cb()
1154 free + dirty == c->leb_size) in scan_check_cb()
1156 (!is_idx && free == c->leb_size) || in scan_check_cb()
1157 lp->free == c->leb_size) { in scan_check_cb()
1191 if (free == c->leb_size) in scan_check_cb()
1205 if (free == c->leb_size) in scan_check_cb()
1212 lst->total_used += c->leb_size - free - dirty; in scan_check_cb()