Lines Matching full:volumes
181 * ubi_notify_all - send a notification to all volumes.
186 * This function walks all volumes of UBI device @ubi and sends the @ntype
202 * change @ubi->volumes, we do not have to lock in ubi_notify_all()
205 if (!ubi->volumes[i]) in ubi_notify_all()
208 ubi_do_get_volume_info(ubi, ubi->volumes[i], &nt.vi); in ubi_notify_all()
222 * ubi_enumerate_volumes - send "add" notification for all existing volumes.
225 * This function walks all UBI devices and volumes and sends the
417 * kill_volumes - destroy all user volumes.
425 if (ubi->volumes[i]) in kill_volumes()
426 ubi_free_volume(ubi, ubi->volumes[i]); in kill_volumes()
474 if (ubi->volumes[i]) { in uif_init()
475 err = ubi_add_volume(ubi, ubi->volumes[i]); in uif_init()
478 ubi->volumes[i] = NULL; in uif_init()
500 * the memory allocated voe the volumes is freed as well (in the release
511 * ubi_free_volumes_from - free volumes from specific index.
520 if (!ubi->volumes[i] || ubi->volumes[i]->is_dead) in ubi_free_volumes_from()
522 ubi_eba_replace_table(ubi->volumes[i], NULL); in ubi_free_volumes_from()
523 ubi_fastmap_destroy_checkmap(ubi->volumes[i]); in ubi_free_volumes_from()
524 kfree(ubi->volumes[i]); in ubi_free_volumes_from()
525 ubi->volumes[i] = NULL; in ubi_free_volumes_from()
530 * ubi_free_all_volumes - free all volumes.
539 * ubi_free_internal_volumes - free internal volumes.
783 struct ubi_volume *vol = ubi->volumes[vol_id]; in autoresize()
1043 ubi_msg(ubi, "user volume: %d, internal volumes: %d, max. volumes count: %d", in ubi_attach_mtd_dev()