Home | History | Annotate | Download | only in recovery

Lines Matching full:device

56     device_volumes[0].device = NULL;
77 char* device = strtok(NULL, " \t\n");
78 // lines may optionally have a second device, to use if
91 if (mount_point && fs_type && device) {
98 device_volumes[num_volumes].device = strdup(device);
121 v->device, v->device2, v->length);
170 partition = mtd_find_partition_by_name(v->device);
173 v->device, v->mount_point);
179 result = mount(v->device, v->mount_point, v->fs_type,
185 v->device, strerror(errno), v->device2);
250 const MtdPartition* partition = mtd_find_partition_by_name(v->device);
252 LOGE("format_volume: no MTD partition \"%s\"\n", v->device);
258 LOGW("format_volume: can't open MTD \"%s\"\n", v->device);
261 LOGW("format_volume: can't erase MTD \"%s\"\n", v->device);
265 LOGW("format_volume: can't close MTD \"%s\"\n", v->device);
272 int result = make_ext4fs(v->device, v->length);
274 LOGE("format_volume: make_extf4fs failed on %s\n", v->device);