Lines Matching refs:FileEntry
208 const FileEntry *ent, const std::chrono::steady_clock::time_point &now) { in need_validation_file_entry()
214 bool validate_file_entry(FileEntry *ent, in validate_file_entry()
336 FileEntry *get_cached_fd(const std::string &path) { in get_cached_fd()
370 FileEntry *cache_fd(const std::string &path, const FileEntry &ent) { in cache_fd()
372 auto rv = fd_cache_.emplace(path, std::make_unique<FileEntry>(ent)); in cache_fd()
376 std::make_pair(path, std::make_unique<FileEntry>(ent))); in cache_fd()
394 void release_fd(FileEntry *target) { in release_fd()
426 std::multimap<std::string, std::unique_ptr<FileEntry>> fd_cache_;
427 DList<FileEntry> fd_cache_lru_;
1204 sessions->cache_fd(path, FileEntry(path, 0, 0, fd, nullptr, {}, true)); in prepare_upload_temp_store()
1374 file_path, FileEntry(file_path, buf.st_size, buf.st_mtime, file, in prepare_response()
1935 FileEntry make_status_body(int status, uint16_t port) { in make_status_body()
1976 return FileEntry(util::utos(status), nwrite, 0, fd, nullptr, {}); in make_status_body()