Lines Matching refs:device
32 const char *device;
228 if (info->device == g_mtd_device) {
243 if (info->device == NULL || info->mount_point == NULL ||
251 if (mount(info->device, info->mount_point, info->filesystem,
254 LOGE("Can't mount %s\n(%s)\n", info->device, strerror(errno));
259 info->device, info->device2, strerror(errno));
301 if (info == NULL || info->device != g_mtd_device ||
314 * a device with no relative path after it.
326 if (info == NULL || info->device == NULL) {
331 /* Don't try to format a mounted device.
340 /* Format the device.
342 if (info->device == g_mtd_device) {
368 //TODO: handle other device types (sdcard, etc.)
369 LOGW("format_root_device: can't handle non-mtd device \"%s\"\n", root);