Lines Matching refs:res
173 auto res = mkdir(dirname.c_str(), MARKER_DIRECTORY_MODE); in SetUpdatedMarker() local
174 if (res == -1 && errno != EEXIST) { in SetUpdatedMarker()
820 int res = stat(cn.c_str(), &sb); in WriteStash() local
822 if (res == 0) { in WriteStash()
880 int res = stat(dirname.c_str(), &sb); in CreateStash() local
881 if (res == -1 && errno != ENOENT) { in CreateStash()
888 if (res == -1) { in CreateStash()
890 res = mkdir_recursively(dirname, STASH_DIRECTORY_MODE, false, nullptr); in CreateStash()
892 if (res != 0) { in CreateStash()
1770 int res = CreateStash(state, stash_max_blocks, params.stashbase); in PerformBlockImageUpdate() local
1771 if (res == -1) { in PerformBlockImageUpdate()
1774 params.createdstash = res; in PerformBlockImageUpdate()