Lines Matching full:data_path
524 int64_t data_disk_free(const std::string& data_path)
527 if (statfs(data_path.c_str(), &sfs) == 0) {
530 PLOG(ERROR) << "Couldn't statfs " << data_path;
782 void add_cache_files(cache_t* cache, const std::string& data_path) {
787 const char* basepath = data_path.c_str();
887 void clear_cache_files(const std::string& data_path, cache_t* cache, int64_t free_size)
912 if (data_disk_free(data_path) > free_size) {