Lines Matching defs:device
279 static int DoResizeF2fs(const char* device, const unsigned long long size, const unsigned int fsManagerFlags)
320 argv[argc++] = (char*)device;
325 static int DoFsckF2fs(const char* device)
331 file, "-p1", (char *)device, NULL
342 static int DoResizeExt(const char* device, const unsigned long long size)
350 file, "-f", (char *)device, NULL
362 file, "-f", (char *)device, sizeStr, NULL
371 static int DoFsckExt(const char* device)
377 file, "-y", (char *)device, NULL
420 return -1, "Failed to get bootctrl device");
422 BEGET_ERROR_CHECK(realPath != NULL, return -1, "Failed to get bootctrl device real path");
425 BEGET_ERROR_CHECK(fd >= 0, return -1, "Failed to open bootctrl device, errno %d", errno);
427 "Failed to lseek bootctrl device fd, errno %d", errno);
453 BEGET_LOGI("Mount device %s to %s", item->deviceName, item->mountPoint);
480 BEGET_LOGE("Mount device %s to %s failed, err = %d, retry", item->deviceName, item->mountPoint, errno);
499 BEGET_LOGI("fsType not erofs system, device [%s] skip erofs mount process", item->deviceName);
512 BEGET_LOGI("fsType is erofs system, device [%s] skip ext4 or hms mount process", item->deviceName);
560 BEGET_LOGE("Mount no fail device %s to %s failed, err = %d", item->deviceName, item->mountPoint, errno);
719 BEGET_LOGI("Mount point \" %s \" already unmounted. device path: %s, fs type: %s.",
725 BEGET_LOGE("Umount %s failed, device path: %s, fs type: %s, err = %d.",