Home
last modified time | relevance | path

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

/u-boot/drivers/mtd/ubi/
A Dvtbl.c106 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++) {
724 ai->vols_found, UBI_INT_VOL_COUNT, ubi->vtbl_slots);
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)
[all …]
A Dbuild.c227 for (i = 0; i < ubi->vtbl_slots; i++) { in ubi_notify_all()
408 ret = sprintf(buf, "%d\n", ubi->vtbl_slots); in dev_attribute_show()
489 for (i = 0; i < ubi->vtbl_slots; i++) in kill_volumes()
530 err = alloc_chrdev_region(&dev, 0, ubi->vtbl_slots + 1, ubi->ubi_name); in uif_init()
551 for (i = 0; i < ubi->vtbl_slots; i++) in uif_init()
570 unregister_chrdev_region(ubi->cdev.dev, ubi->vtbl_slots + 1); in uif_init()
589 unregister_chrdev_region(ubi->cdev.dev, ubi->vtbl_slots + 1); in uif_close()
600 for (i = ubi->vtbl_slots; in ubi_free_internal_volumes()
601 i < ubi->vtbl_slots + UBI_INT_VOL_COUNT; i++) { in ubi_free_internal_volumes()
1048 ubi->vtbl_slots); in ubi_attach_mtd_dev()
A Dkapi.c145 if (vol_id < 0 || vol_id >= ubi->vtbl_slots) { in ubi_open_volume()
265 for (i = 0; i < ubi->vtbl_slots; i++) { in ubi_open_volume_nm()
382 if (vol_id < 0 || vol_id >= ubi->vtbl_slots || lnum < 0 || in leb_read_sanity_check()
530 if (vol_id < 0 || vol_id >= ubi->vtbl_slots) in ubi_leb_write()
575 if (vol_id < 0 || vol_id >= ubi->vtbl_slots) in ubi_leb_change()
A Dubi.h551 int vtbl_slots; member
1106 return vol_id - UBI_INTERNAL_VOL_START + ubi->vtbl_slots; in vol_id2idx()
1118 if (idx >= ubi->vtbl_slots) in idx2vol_id()
1119 return idx - ubi->vtbl_slots + UBI_INTERNAL_VOL_START; in idx2vol_id()
A Dvmt.c174 for (i = 0; i < ubi->vtbl_slots; i++) in ubi_create_volume()
200 for (i = 0; i < ubi->vtbl_slots; i++) in ubi_create_volume()
815 for (i = 0; i < ubi->vtbl_slots; i++) { in self_check_volumes()
A Deba.c1303 num_volumes = ubi->vtbl_slots + UBI_INT_VOL_COUNT; in self_check_eba()
1402 num_volumes = ubi->vtbl_slots + UBI_INT_VOL_COUNT; in ubi_eba_init()
/u-boot/cmd/
A Dubi.c45 for (i = 0; i < (ubi->vtbl_slots + 1); i++) { in display_volume_info()
65 ubi_msg("max. allowed volumes: %d", ubi->vtbl_slots); in display_ubi_info()
96 for (i = 0; i < (ubi->vtbl_slots + 1); i++) { in ubi_check()
116 if ((req->vol_id < 0 || req->vol_id >= ubi->vtbl_slots) && in verify_mkvol_req()
190 for (i = 0; i < ubi->vtbl_slots; i++) { in ubi_find_volume()

Completed in 17 milliseconds