Lines Matching refs:vtbl_slots
109 ubi_assert(idx >= 0 && idx < ubi->vtbl_slots); in ubi_change_vtbl_record()
178 for (i = 0; i < ubi->vtbl_slots; i++) { in vtbl_check()
264 for (i = 0; i < ubi->vtbl_slots - 1; i++) { in vtbl_check()
265 for (n = i + 1; n < ubi->vtbl_slots; n++) { in vtbl_check()
504 for (i = 0; i < ubi->vtbl_slots; i++) in create_empty_lvol()
538 for (i = 0; i < ubi->vtbl_slots; i++) { in init_volumes()
719 if (ai->vols_found > UBI_INT_VOL_COUNT + ubi->vtbl_slots) { in check_attaching_info()
721 ai->vols_found, UBI_INT_VOL_COUNT, ubi->vtbl_slots); in check_attaching_info()
725 if (ai->highest_vol_id >= ubi->vtbl_slots + UBI_INT_VOL_COUNT && in check_attaching_info()
732 for (i = 0; i < ubi->vtbl_slots + UBI_INT_VOL_COUNT; i++) { in check_attaching_info()
744 ubi_assert(i < ubi->vtbl_slots); in check_attaching_info()
788 ubi->vtbl_slots = ubi->leb_size / UBI_VTBL_RECORD_SIZE; in ubi_read_volume_table()
789 if (ubi->vtbl_slots > UBI_MAX_VOLUMES) in ubi_read_volume_table()
790 ubi->vtbl_slots = UBI_MAX_VOLUMES; in ubi_read_volume_table()
792 ubi->vtbl_size = ubi->vtbl_slots * UBI_VTBL_RECORD_SIZE; in ubi_read_volume_table()
848 for (i = 0; i < ubi->vtbl_slots + UBI_INT_VOL_COUNT; i++) { in ubi_read_volume_table()