Lines Matching refs:vtbl_slots
106 ubi_assert(idx >= 0 && idx < ubi->vtbl_slots); in ubi_change_vtbl_record()
175 for (i = 0; i < ubi->vtbl_slots; i++) {
261 for (i = 0; i < ubi->vtbl_slots - 1; i++) {
262 for (n = i + 1; n < ubi->vtbl_slots; n++) {
505 for (i = 0; i < ubi->vtbl_slots; i++)
539 for (i = 0; i < ubi->vtbl_slots; i++) {
722 if (ai->vols_found > UBI_INT_VOL_COUNT + ubi->vtbl_slots) {
724 ai->vols_found, UBI_INT_VOL_COUNT, ubi->vtbl_slots);
728 if (ai->highest_vol_id >= ubi->vtbl_slots + UBI_INT_VOL_COUNT &&
735 for (i = 0; i < ubi->vtbl_slots + UBI_INT_VOL_COUNT; i++) {
747 ubi_assert(i < ubi->vtbl_slots);
791 ubi->vtbl_slots = ubi->leb_size / UBI_VTBL_RECORD_SIZE;
792 if (ubi->vtbl_slots > UBI_MAX_VOLUMES)
793 ubi->vtbl_slots = UBI_MAX_VOLUMES;
795 ubi->vtbl_size = ubi->vtbl_slots * UBI_VTBL_RECORD_SIZE;
851 for (i = 0; i < ubi->vtbl_slots + UBI_INT_VOL_COUNT; i++) {