Home
last modified time | relevance | path

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

/linux/drivers/mtd/ubi/
H A Dvtbl.c96 ubi_assert(idx >= 0 && idx < ubi->vtbl_slots); in ubi_change_vtbl_record()
165 for (i = 0; i < ubi->vtbl_slots; i++) { in vtbl_check()
251 for (i = 0; i < ubi->vtbl_slots - 1; i++) { in vtbl_check()
252 for (n = i + 1; n < ubi->vtbl_slots; n++) { in vtbl_check()
494 for (i = 0; i < ubi->vtbl_slots; i++) in create_empty_lvol()
528 for (i = 0; i < ubi->vtbl_slots; i++) { in init_volumes()
725 if (ai->vols_found > UBI_INT_VOL_COUNT + ubi->vtbl_slots) { in check_attaching_info()
727 ai->vols_found, UBI_INT_VOL_COUNT, ubi->vtbl_slots); in check_attaching_info()
731 if (ai->highest_vol_id >= ubi->vtbl_slots + UBI_INT_VOL_COUNT && in check_attaching_info()
738 for (i = 0; i < ubi->vtbl_slots + UBI_INT_VOL_COUNT; i++) { in check_attaching_info()
[all …]
H A Dkapi.c138 if (vol_id < 0 || vol_id >= ubi->vtbl_slots) { in ubi_open_volume()
258 for (i = 0; i < ubi->vtbl_slots; i++) { in ubi_open_volume_nm()
396 if (vol_id < 0 || vol_id >= ubi->vtbl_slots || lnum < 0 || in leb_read_sanity_check()
543 if (vol_id < 0 || vol_id >= ubi->vtbl_slots) in ubi_leb_write()
588 if (vol_id < 0 || vol_id >= ubi->vtbl_slots) in ubi_leb_change()
H A Dvmt.c192 for (i = 0; i < ubi->vtbl_slots; i++) in ubi_create_volume()
218 for (i = 0; i < ubi->vtbl_slots; i++) in ubi_create_volume()
841 for (i = 0; i < ubi->vtbl_slots; i++) { in self_check_volumes()
H A Deba.c1537 num_volumes = ubi->vtbl_slots + UBI_INT_VOL_COUNT; in self_check_eba()
1639 num_volumes = ubi->vtbl_slots + UBI_INT_VOL_COUNT; in ubi_eba_init()