Lines Matching refs: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
202 if (!ubi->volumes[i])
205 ubi_do_get_volume_info(ubi, ubi->volumes[i], &nt.vi);
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])
420 ubi_free_volume(ubi, ubi->volumes[i]);
468 if (ubi->volumes[i]) {
469 err = ubi_add_volume(ubi, ubi->volumes[i]);
472 ubi->volumes[i] = NULL;
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])
516 ubi_eba_replace_table(ubi->volumes[i], NULL);
517 ubi_fastmap_destroy_checkmap(ubi->volumes[i]);
518 kfree(ubi->volumes[i]);
519 ubi->volumes[i] = NULL;
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];
1034 ubi_msg(ubi, "user volume: %d, internal volumes: %d, max. volumes count: %d",