Lines Matching full:volumes
178 * ubi_notify_all - send a notification to all volumes.
183 * This function walks all volumes of UBI device @ubi and sends the @ntype
199 * change @ubi->volumes, we do not have to lock in ubi_notify_all()
202 if (!ubi->volumes[i]) in ubi_notify_all()
205 ubi_do_get_volume_info(ubi, ubi->volumes[i], &nt.vi); in ubi_notify_all()
219 * ubi_enumerate_volumes - send "add" notification for all existing volumes.
222 * This function walks all UBI devices and volumes and sends the
411 * kill_volumes - destroy all user volumes.
419 if (ubi->volumes[i]) in kill_volumes()
420 ubi_free_volume(ubi, ubi->volumes[i]); in kill_volumes()
468 if (ubi->volumes[i]) { in uif_init()
469 err = ubi_add_volume(ubi, ubi->volumes[i]); in uif_init()
472 ubi->volumes[i] = NULL; in uif_init()
494 * the memory allocated voe the volumes is freed as well (in the release
505 * ubi_free_volumes_from - free volumes from specific index.
514 if (!ubi->volumes[i]) in ubi_free_volumes_from()
516 ubi_eba_replace_table(ubi->volumes[i], NULL); in ubi_free_volumes_from()
517 ubi_fastmap_destroy_checkmap(ubi->volumes[i]); in ubi_free_volumes_from()
518 kfree(ubi->volumes[i]); in ubi_free_volumes_from()
519 ubi->volumes[i] = NULL; in ubi_free_volumes_from()
524 * ubi_free_all_volumes - free all volumes.
533 * ubi_free_internal_volumes - free internal volumes.
777 struct ubi_volume *vol = ubi->volumes[vol_id]; in autoresize()
1034 ubi_msg(ubi, "user volume: %d, internal volumes: %d, max. volumes count: %d", in ubi_attach_mtd_dev()