Lines Matching refs:volume
58 Volume* v = &fstab->recs[i];
65 Volume* volume_for_path(const char* path) {
70 Volume* v = volume_for_path(path);
72 LOGE("unknown volume for path [%s]\n", path);
90 // volume is already mounted
122 Volume* v = volume_for_path(path);
124 LOGE("unknown volume for path [%s]\n", path);
142 // volume is already unmounted
149 int format_volume(const char* volume) {
150 Volume* v = volume_for_path(volume);
152 LOGE("unknown volume \"%s\"\n", volume);
157 LOGE("can't format_volume \"%s\"", volume);
160 if (strcmp(v->mount_point, volume) != 0) {
161 LOGE("can't give path \"%s\" to format_volume\n", volume);
165 if (ensure_path_unmounted(volume) != 0) {
194 int result = make_ext4fs(v->blk_device, v->length, volume, sehandle);