Home
last modified time | relevance | path

Searched refs:vtbl_slots (Results 1 – 7 of 7) sorted by relevance

/external/u-boot/drivers/mtd/ubi/
Dvtbl.c102 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++) {
[all …]
Dbuild.c225 for (i = 0; i < ubi->vtbl_slots; i++) { in ubi_notify_all()
406 ret = sprintf(buf, "%d\n", ubi->vtbl_slots); in dev_attribute_show()
487 for (i = 0; i < ubi->vtbl_slots; i++) in kill_volumes()
528 err = alloc_chrdev_region(&dev, 0, ubi->vtbl_slots + 1, ubi->ubi_name); in uif_init()
549 for (i = 0; i < ubi->vtbl_slots; i++) in uif_init()
568 unregister_chrdev_region(ubi->cdev.dev, ubi->vtbl_slots + 1); in uif_init()
587 unregister_chrdev_region(ubi->cdev.dev, ubi->vtbl_slots + 1); in uif_close()
598 for (i = ubi->vtbl_slots; in ubi_free_internal_volumes()
599 i < ubi->vtbl_slots + UBI_INT_VOL_COUNT; i++) { in ubi_free_internal_volumes()
1046 ubi->vtbl_slots); in ubi_attach_mtd_dev()
Dkapi.c144 if (vol_id < 0 || vol_id >= ubi->vtbl_slots) { in ubi_open_volume()
264 for (i = 0; i < ubi->vtbl_slots; i++) { in ubi_open_volume_nm()
381 if (vol_id < 0 || vol_id >= ubi->vtbl_slots || lnum < 0 || in leb_read_sanity_check()
529 if (vol_id < 0 || vol_id >= ubi->vtbl_slots) in ubi_leb_write()
574 if (vol_id < 0 || vol_id >= ubi->vtbl_slots) in ubi_leb_change()
Dubi.h547 int vtbl_slots; member
1102 return vol_id - UBI_INTERNAL_VOL_START + ubi->vtbl_slots; in vol_id2idx()
1114 if (idx >= ubi->vtbl_slots) in idx2vol_id()
1115 return idx - ubi->vtbl_slots + UBI_INTERNAL_VOL_START; in idx2vol_id()
Dvmt.c169 for (i = 0; i < ubi->vtbl_slots; i++) in ubi_create_volume()
195 for (i = 0; i < ubi->vtbl_slots; i++) in ubi_create_volume()
801 for (i = 0; i < ubi->vtbl_slots; i++) { in self_check_volumes()
Deba.c1300 num_volumes = ubi->vtbl_slots + UBI_INT_VOL_COUNT; in self_check_eba()
1399 num_volumes = ubi->vtbl_slots + UBI_INT_VOL_COUNT; in ubi_eba_init()
/external/u-boot/cmd/
Dubi.c58 for (i = 0; i < (ubi->vtbl_slots + 1); i++) { in display_volume_info()
78 ubi_msg("max. allowed volumes: %d", ubi->vtbl_slots); in display_ubi_info()
109 for (i = 0; i < (ubi->vtbl_slots + 1); i++) { in ubi_check()
130 if ((req->vol_id < 0 || req->vol_id >= ubi->vtbl_slots) && in verify_mkvol_req()
200 for (i = 0; i < ubi->vtbl_slots; i++) { in ubi_find_volume()