Home
last modified time | relevance | path

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

/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 Dpart.c22 for (i = 0; i < (ubi->vtbl_slots + 1); i++) { in ubi_get_volume_by_index()
69 for (i = 0; i < (ubi->vtbl_slots + 1); i++) { in part_print_ubi()
A Dbuild.c222 for (i = 0; i < ubi->vtbl_slots; i++) { in ubi_notify_all()
403 ret = sprintf(buf, "%d\n", ubi->vtbl_slots); in dev_attribute_show()
484 for (i = 0; i < ubi->vtbl_slots; i++) in kill_volumes()
525 err = alloc_chrdev_region(&dev, 0, ubi->vtbl_slots + 1, ubi->ubi_name); in uif_init()
546 for (i = 0; i < ubi->vtbl_slots; i++) in uif_init()
565 unregister_chrdev_region(ubi->cdev.dev, ubi->vtbl_slots + 1); in uif_init()
584 unregister_chrdev_region(ubi->cdev.dev, ubi->vtbl_slots + 1); in uif_close()
595 for (i = ubi->vtbl_slots; in ubi_free_internal_volumes()
596 i < ubi->vtbl_slots + UBI_INT_VOL_COUNT; i++) { in ubi_free_internal_volumes()
1041 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.h552 int vtbl_slots; member
1107 return vol_id - UBI_INTERNAL_VOL_START + ubi->vtbl_slots; in vol_id2idx()
1119 if (idx >= ubi->vtbl_slots) in idx2vol_id()
1120 return idx - ubi->vtbl_slots + UBI_INTERNAL_VOL_START; in idx2vol_id()
A Dblock.c45 for (i = 0; i < (ubi->vtbl_slots + 1); i++) { in get_volume_name()
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()

Completed in 17 milliseconds