Lines Matching refs:vtbl_slots
102 ubi_assert(idx >= 0 && idx < ubi->vtbl_slots); in ubi_change_vtbl_record()
171 for (i = 0; i < ubi->vtbl_slots; i++) {
257 for (i = 0; i < ubi->vtbl_slots - 1; i++) {
258 for (n = i + 1; n < ubi->vtbl_slots; n++) {
501 for (i = 0; i < ubi->vtbl_slots; i++)
535 for (i = 0; i < ubi->vtbl_slots; i++) {
715 if (ai->vols_found > UBI_INT_VOL_COUNT + ubi->vtbl_slots) {
717 ai->vols_found, UBI_INT_VOL_COUNT, ubi->vtbl_slots);
721 if (ai->highest_vol_id >= ubi->vtbl_slots + UBI_INT_VOL_COUNT &&
728 for (i = 0; i < ubi->vtbl_slots + UBI_INT_VOL_COUNT; i++) {
740 ubi_assert(i < ubi->vtbl_slots);
784 ubi->vtbl_slots = ubi->leb_size / UBI_VTBL_RECORD_SIZE;
785 if (ubi->vtbl_slots > UBI_MAX_VOLUMES)
786 ubi->vtbl_slots = UBI_MAX_VOLUMES;
788 ubi->vtbl_size = ubi->vtbl_slots * UBI_VTBL_RECORD_SIZE;
844 for (i = 0; i < ubi->vtbl_slots + UBI_INT_VOL_COUNT; i++) {