Lines Matching refs: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
200 if (!ubi->volumes[i])
203 ubi_do_get_volume_info(ubi, ubi->volumes[i], &nt.vi);
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])
418 ubi_free_volume(ubi, ubi->volumes[i]);
466 if (ubi->volumes[i]) {
467 err = ubi_add_volume(ubi, ubi->volumes[i]);
470 ubi->volumes[i] = NULL;
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])
514 ubi_eba_replace_table(ubi->volumes[i], NULL);
515 ubi_fastmap_destroy_checkmap(ubi->volumes[i]);
516 kfree(ubi->volumes[i]);
517 ubi->volumes[i] = NULL;
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];
1028 ubi_msg(ubi, "user volume: %d, internal volumes: %d, max. volumes count: %d",