Searched refs:vtbl_slots (Results 1 – 7 of 7) sorted by relevance
/external/u-boot/drivers/mtd/ubi/ |
D | vtbl.c | 103 ubi_assert(idx >= 0 && idx < ubi->vtbl_slots); in ubi_change_vtbl_record() 172 for (i = 0; i < ubi->vtbl_slots; i++) { 258 for (i = 0; i < ubi->vtbl_slots - 1; i++) { 259 for (n = i + 1; n < ubi->vtbl_slots; n++) { 502 for (i = 0; i < ubi->vtbl_slots; i++) 536 for (i = 0; i < ubi->vtbl_slots; i++) { 719 if (ai->vols_found > UBI_INT_VOL_COUNT + ubi->vtbl_slots) { 721 ai->vols_found, UBI_INT_VOL_COUNT, ubi->vtbl_slots); 725 if (ai->highest_vol_id >= ubi->vtbl_slots + UBI_INT_VOL_COUNT && 732 for (i = 0; i < ubi->vtbl_slots + UBI_INT_VOL_COUNT; i++) { [all …]
|
D | build.c | 225 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()
|
D | kapi.c | 144 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()
|
D | ubi.h | 551 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()
|
D | vmt.c | 172 for (i = 0; i < ubi->vtbl_slots; i++) in ubi_create_volume() 198 for (i = 0; i < ubi->vtbl_slots; i++) in ubi_create_volume() 813 for (i = 0; i < ubi->vtbl_slots; i++) { in self_check_volumes()
|
D | eba.c | 1301 num_volumes = ubi->vtbl_slots + UBI_INT_VOL_COUNT; in self_check_eba() 1400 num_volumes = ubi->vtbl_slots + UBI_INT_VOL_COUNT; in ubi_eba_init()
|
/external/u-boot/cmd/ |
D | ubi.c | 43 for (i = 0; i < (ubi->vtbl_slots + 1); i++) { in display_volume_info() 63 ubi_msg("max. allowed volumes: %d", ubi->vtbl_slots); in display_ubi_info() 94 for (i = 0; i < (ubi->vtbl_slots + 1); i++) { in ubi_check() 114 if ((req->vol_id < 0 || req->vol_id >= ubi->vtbl_slots) && in verify_mkvol_req() 188 for (i = 0; i < ubi->vtbl_slots; i++) { in ubi_find_volume()
|