Lines Matching full:volumes
176 * ubi_notify_all - send a notification to all volumes.
181 * This function walks all volumes of UBI device @ubi and sends the @ntype
197 * change @ubi->volumes, we do not have to lock in ubi_notify_all()
200 if (!ubi->volumes[i]) in ubi_notify_all()
203 ubi_do_get_volume_info(ubi, ubi->volumes[i], &nt.vi); in ubi_notify_all()
217 * ubi_enumerate_volumes - send "add" notification for all existing volumes.
220 * This function walks all UBI devices and volumes and sends the
409 * kill_volumes - destroy all user volumes.
417 if (ubi->volumes[i]) in kill_volumes()
418 ubi_free_volume(ubi, ubi->volumes[i]); in kill_volumes()
466 if (ubi->volumes[i]) { in uif_init()
467 err = ubi_add_volume(ubi, ubi->volumes[i]); in uif_init()
470 ubi->volumes[i] = NULL; in uif_init()
492 * the memory allocated voe the volumes is freed as well (in the release
503 * ubi_free_volumes_from - free volumes from specific index.
512 if (!ubi->volumes[i]) in ubi_free_volumes_from()
514 ubi_eba_replace_table(ubi->volumes[i], NULL); in ubi_free_volumes_from()
515 ubi_fastmap_destroy_checkmap(ubi->volumes[i]); in ubi_free_volumes_from()
516 kfree(ubi->volumes[i]); in ubi_free_volumes_from()
517 ubi->volumes[i] = NULL; in ubi_free_volumes_from()
522 * ubi_free_all_volumes - free all volumes.
531 * ubi_free_internal_volumes - free internal volumes.
777 struct ubi_volume *vol = ubi->volumes[vol_id]; in autoresize()
1028 ubi_msg(ubi, "user volume: %d, internal volumes: %d, max. volumes count: %d", in ubi_attach_mtd_dev()