Lines Matching refs:deviceName
453 BEGET_LOGI("Mount device %s to %s", item->deviceName, item->mountPoint);
463 rc = Mount(item->deviceName, item->mountPoint, item->fsType, mountFlags, fsSpecificData);
470 int ret = DoFormat(item->deviceName, item->fsType);
475 rc = Mount(item->deviceName, item->mountPoint, item->fsType, mountFlags, fsSpecificData);
480 BEGET_LOGE("Mount device %s to %s failed, err = %d, retry", item->deviceName, item->mountPoint, errno);
488 if (CheckIsErofs(item->deviceName)) {
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);
524 WaitForFile(item->deviceName, WAIT_MAX_SECOND);
528 int ret = DoResizeF2fs(item->deviceName, 0, item->fsManagerFlags);
530 BEGET_LOGE("Failed to resize.f2fs dir %s , ret = %d", item->deviceName, ret);
533 ret = DoFsckF2fs(item->deviceName);
535 BEGET_LOGE("Failed to fsck.f2fs dir %s , ret = %d", item->deviceName, ret);
538 int ret = DoResizeExt(item->deviceName, 0);
540 BEGET_LOGE("Failed to resize2fs dir %s , ret = %d", item->deviceName, ret);
542 ret = DoFsckExt(item->deviceName);
544 BEGET_LOGE("Failed to e2fsck dir %s , ret = %d", item->deviceName, ret);
560 BEGET_LOGE("Mount no fail device %s to %s failed, err = %d", item->deviceName, item->mountPoint, errno);
562 BEGET_LOGW("Mount %s to %s failed, err = %d. Ignore failure", item->deviceName, item->mountPoint, errno);
566 BEGET_LOGI("Mount %s to %s successful", item->deviceName, item->mountPoint);
574 if (CheckIsErofs(item->deviceName)) {
589 BEGET_CHECK_ONLY_RETURN(strstr(item->deviceName, "/system") != NULL ||
590 strstr(item->deviceName, "/vendor") != NULL);
594 BEGET_ERROR_CHECK(sprintf_s(buffer, sizeof(buffer), "%s_%c", item->deviceName, 'a' + slot - 1) > 0,
596 free(item->deviceName);
597 item->deviceName = strdup(buffer);
598 if (item->deviceName == NULL) {
602 BEGET_LOGI("partition name with slot suffix: %s", item->deviceName);
628 BEGET_LOGI("not need dm verity, do mount item %s", item->deviceName);
637 BEGET_LOGW("DmVeritySetUp fail for %s, ignore error and do not mount", item->deviceName);
639 BEGET_LOGE("DmVeritySetUp fail for no fail devices %s, error!", item->deviceName);
720 item->mountPoint, item->deviceName, item->fsType);
726 item->mountPoint, item->deviceName, item->fsType, errno);