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()
507 for (i = 0; i < ubi->vtbl_slots; i++) in create_empty_lvol()
541 for (i = 0; i < ubi->vtbl_slots; i++) { in init_volumes()
738 if (ai->vols_found > UBI_INT_VOL_COUNT + ubi->vtbl_slots) { in check_attaching_info()
740 ai->vols_found, UBI_INT_VOL_COUNT, ubi->vtbl_slots); in check_attaching_info()
744 if (ai->highest_vol_id >= ubi->vtbl_slots + UBI_INT_VOL_COUNT && in check_attaching_info()
751 for (i = 0; i < ubi->vtbl_slots + UBI_INT_VOL_COUNT; i++) { in check_attaching_info()
763 ubi_assert(i < ubi->vtbl_slots); in check_attaching_info()
807 ubi->vtbl_slots = ubi->leb_size / UBI_VTBL_RECORD_SIZE; in ubi_read_volume_table()
808 if (ubi->vtbl_slots > UBI_MAX_VOLUMES) in ubi_read_volume_table()
809 ubi->vtbl_slots = UBI_MAX_VOLUMES; in ubi_read_volume_table()
811 ubi->vtbl_size = ubi->vtbl_slots * UBI_VTBL_RECORD_SIZE; in ubi_read_volume_table()
867 for (i = 0; i < ubi->vtbl_slots + UBI_INT_VOL_COUNT; i++) { in ubi_read_volume_table()