Searched defs:volume (Results 1 - 3 of 3) sorted by relevance

/bootable/recovery/mtdutils/
H A Dmounts.c46 free_volume_internals(const MountedVolume *volume, int zero) argument
48 free((char *)volume->device);
49 free((char *)volume->mount_point);
50 free((char *)volume->filesystem);
51 free((char *)volume->flags);
53 memset((void *)volume, 0, sizeof(*volume));
78 /* Free the old volume strings.
202 unmount_mounted_volume(const MountedVolume *volume) argument
205 * to unmount a volume the
217 remount_read_only(const MountedVolume* volume) argument
[all...]
/bootable/recovery/
H A Droots.cpp36 static int parse_options(char* options, Volume* volume) { argument
42 volume->length = strtoll(option+7, NULL, 10);
144 LOGE("unknown volume for path [%s]\n", path);
162 // volume is already mounted
204 LOGE("unknown volume for path [%s]\n", path);
222 // volume is already unmounted
229 int format_volume(const char* volume) { argument
230 Volume* v = volume_for_path(volume);
232 LOGE("unknown volume \"%s\"\n", volume);
[all...]
H A Drecovery.cpp317 erase_volume(const char *volume) { argument
320 ui->Print("Formatting %s...\n", volume);
322 ensure_path_unmounted(volume);
324 if (strcmp(volume, "/cache") == 0) {
331 return format_volume(volume);

Completed in 135 milliseconds