vtbl_slots        194 drivers/mtd/ubi/build.c 	for (i = 0; i < ubi->vtbl_slots; i++) {
vtbl_slots        372 drivers/mtd/ubi/build.c 		ret = sprintf(buf, "%d\n", ubi->vtbl_slots);
vtbl_slots        420 drivers/mtd/ubi/build.c 	for (i = 0; i < ubi->vtbl_slots; i++)
vtbl_slots        451 drivers/mtd/ubi/build.c 	err = alloc_chrdev_region(&dev, 0, ubi->vtbl_slots + 1, ubi->ubi_name);
vtbl_slots        469 drivers/mtd/ubi/build.c 	for (i = 0; i < ubi->vtbl_slots; i++)
vtbl_slots        484 drivers/mtd/ubi/build.c 	unregister_chrdev_region(ubi->cdev.dev, ubi->vtbl_slots + 1);
vtbl_slots        502 drivers/mtd/ubi/build.c 	unregister_chrdev_region(ubi->cdev.dev, ubi->vtbl_slots + 1);
vtbl_slots        513 drivers/mtd/ubi/build.c 	for (i = ubi->vtbl_slots;
vtbl_slots        514 drivers/mtd/ubi/build.c 	     i < ubi->vtbl_slots + UBI_INT_VOL_COUNT; i++) {
vtbl_slots        990 drivers/mtd/ubi/build.c 		ubi->vtbl_slots);
vtbl_slots        602 drivers/mtd/ubi/cdev.c 	if ((req->vol_id < 0 || req->vol_id >= ubi->vtbl_slots) &&
vtbl_slots        663 drivers/mtd/ubi/cdev.c 	if (req->vol_id < 0 || req->vol_id >= ubi->vtbl_slots)
vtbl_slots        695 drivers/mtd/ubi/cdev.c 		    req->ents[i].vol_id >= ubi->vtbl_slots)
vtbl_slots       1524 drivers/mtd/ubi/eba.c 	num_volumes = ubi->vtbl_slots + UBI_INT_VOL_COUNT;
vtbl_slots       1625 drivers/mtd/ubi/eba.c 	num_volumes = ubi->vtbl_slots + UBI_INT_VOL_COUNT;
vtbl_slots        137 drivers/mtd/ubi/kapi.c 	if (vol_id < 0 || vol_id >= ubi->vtbl_slots) {
vtbl_slots        257 drivers/mtd/ubi/kapi.c 	for (i = 0; i < ubi->vtbl_slots; i++) {
vtbl_slots        375 drivers/mtd/ubi/kapi.c 	if (vol_id < 0 || vol_id >= ubi->vtbl_slots || lnum < 0 ||
vtbl_slots        522 drivers/mtd/ubi/kapi.c 	if (vol_id < 0 || vol_id >= ubi->vtbl_slots)
vtbl_slots        567 drivers/mtd/ubi/kapi.c 	if (vol_id < 0 || vol_id >= ubi->vtbl_slots)
vtbl_slots        575 drivers/mtd/ubi/ubi.h 	int vtbl_slots;
vtbl_slots       1170 drivers/mtd/ubi/ubi.h 		return vol_id - UBI_INTERNAL_VOL_START + ubi->vtbl_slots;
vtbl_slots       1182 drivers/mtd/ubi/ubi.h 	if (idx >= ubi->vtbl_slots)
vtbl_slots       1183 drivers/mtd/ubi/ubi.h 		return idx - ubi->vtbl_slots + UBI_INTERNAL_VOL_START;
vtbl_slots        171 drivers/mtd/ubi/vmt.c 		for (i = 0; i < ubi->vtbl_slots; i++)
vtbl_slots        197 drivers/mtd/ubi/vmt.c 	for (i = 0; i < ubi->vtbl_slots; i++)
vtbl_slots        795 drivers/mtd/ubi/vmt.c 	for (i = 0; i < ubi->vtbl_slots; i++) {
vtbl_slots         96 drivers/mtd/ubi/vtbl.c 	ubi_assert(idx >= 0 && idx < ubi->vtbl_slots);
vtbl_slots        165 drivers/mtd/ubi/vtbl.c 	for (i = 0; i < ubi->vtbl_slots; i++) {
vtbl_slots        251 drivers/mtd/ubi/vtbl.c 	for (i = 0; i < ubi->vtbl_slots - 1; i++) {
vtbl_slots        252 drivers/mtd/ubi/vtbl.c 		for (n = i + 1; n < ubi->vtbl_slots; n++) {
vtbl_slots        494 drivers/mtd/ubi/vtbl.c 	for (i = 0; i < ubi->vtbl_slots; i++)
vtbl_slots        528 drivers/mtd/ubi/vtbl.c 	for (i = 0; i < ubi->vtbl_slots; i++) {
vtbl_slots        725 drivers/mtd/ubi/vtbl.c 	if (ai->vols_found > UBI_INT_VOL_COUNT + ubi->vtbl_slots) {
vtbl_slots        727 drivers/mtd/ubi/vtbl.c 			ai->vols_found, UBI_INT_VOL_COUNT, ubi->vtbl_slots);
vtbl_slots        731 drivers/mtd/ubi/vtbl.c 	if (ai->highest_vol_id >= ubi->vtbl_slots + UBI_INT_VOL_COUNT &&
vtbl_slots        738 drivers/mtd/ubi/vtbl.c 	for (i = 0; i < ubi->vtbl_slots + UBI_INT_VOL_COUNT; i++) {
vtbl_slots        750 drivers/mtd/ubi/vtbl.c 			ubi_assert(i < ubi->vtbl_slots);
vtbl_slots        794 drivers/mtd/ubi/vtbl.c 	ubi->vtbl_slots = ubi->leb_size / UBI_VTBL_RECORD_SIZE;
vtbl_slots        795 drivers/mtd/ubi/vtbl.c 	if (ubi->vtbl_slots > UBI_MAX_VOLUMES)
vtbl_slots        796 drivers/mtd/ubi/vtbl.c 		ubi->vtbl_slots = UBI_MAX_VOLUMES;
vtbl_slots        798 drivers/mtd/ubi/vtbl.c 	ubi->vtbl_size = ubi->vtbl_slots * UBI_VTBL_RECORD_SIZE;
vtbl_slots        854 drivers/mtd/ubi/vtbl.c 	for (i = 0; i < ubi->vtbl_slots + UBI_INT_VOL_COUNT; i++) {