Lines Matching refs:mountPoint

51 __attribute__((weak)) void InitPostMount(const char *mountPoint, int rc)
453 BEGET_LOGI("Mount device %s to %s", item->deviceName, item->mountPoint);
458 item->mountPoint);
463 rc = Mount(item->deviceName, item->mountPoint, item->fsType, mountFlags, fsSpecificData);
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);
494 if (rc == 0 && strcmp(item->mountPoint, "/usr") == 0) {
506 if (rc == 0 && strcmp(item->mountPoint, "/usr") == 0) {
527 if (strcmp(item->mountPoint, "/data") == 0 && IsSupportedDataType(item->fsType)) {
537 } else if (strcmp(item->fsType, "ext4") == 0 && strcmp(item->mountPoint, "/data") == 0) {
553 if (rc == 0 && (strcmp(item->mountPoint, "/usr") == 0)) {
557 InitPostMount(item->mountPoint, rc);
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);
713 BEGET_LOGI("Umount %s.", item->mountPoint);
714 MountStatus status = GetMountStatusForMountPoint(item->mountPoint);
716 BEGET_LOGW("Cannot get mount status of mount point \" %s \"", item->mountPoint);
720 item->mountPoint, item->deviceName, item->fsType);
723 rc = umount(item->mountPoint);
726 item->mountPoint, item->deviceName, item->fsType, errno);
728 BEGET_LOGE("Umount %s successfully.", item->mountPoint);
768 if (strcmp(item->mountPoint, devName) == 0) {