Lines Matching refs:vtbl_slots
90 ubi_assert(idx >= 0 && idx < ubi->vtbl_slots); in ubi_change_vtbl_record()
175 for (i = 0; i < ubi->vtbl_slots; i++) { in vtbl_check()
261 for (i = 0; i < ubi->vtbl_slots - 1; i++) { in vtbl_check()
262 for (n = i + 1; n < ubi->vtbl_slots; n++) { in vtbl_check()
501 for (i = 0; i < ubi->vtbl_slots; i++) in create_empty_lvol()
535 for (i = 0; i < ubi->vtbl_slots; i++) { in init_volumes()
716 if (ai->vols_found > UBI_INT_VOL_COUNT + ubi->vtbl_slots) { in check_attaching_info()
718 ai->vols_found, UBI_INT_VOL_COUNT, ubi->vtbl_slots); in check_attaching_info()
722 if (ai->highest_vol_id >= ubi->vtbl_slots + UBI_INT_VOL_COUNT && in check_attaching_info()
729 for (i = 0; i < ubi->vtbl_slots + UBI_INT_VOL_COUNT; i++) { in check_attaching_info()
741 ubi_assert(i < ubi->vtbl_slots); in check_attaching_info()
785 ubi->vtbl_slots = ubi->leb_size / UBI_VTBL_RECORD_SIZE; in ubi_read_volume_table()
786 if (ubi->vtbl_slots > UBI_MAX_VOLUMES) in ubi_read_volume_table()
787 ubi->vtbl_slots = UBI_MAX_VOLUMES; in ubi_read_volume_table()
789 ubi->vtbl_size = ubi->vtbl_slots * UBI_VTBL_RECORD_SIZE; in ubi_read_volume_table()
845 for (i = 0; i < ubi->vtbl_slots + UBI_INT_VOL_COUNT; i++) { in ubi_read_volume_table()