Searched refs:statData (Results 1 – 2 of 2) sorted by relevance
40 struct stat statData; in CreateDirIfNeeded() local42 if (stat(path.c_str(), &statData) != 0) { in CreateDirIfNeeded()53 if (!S_ISDIR(statData.st_mode)) { in CreateDirIfNeeded()
397 struct stat statData; in RevertAndReboot() local398 int ret = stat(UPDATE_ACTIVE_DIR, &statData); in RevertAndReboot()413 ret = chmod(UPDATE_ACTIVE_DIR, statData.st_mode & ALL_PERMISSIONS); in RevertAndReboot()