Lines Matching refs:FileEntry
208 const FileEntry *ent, const std::chrono::steady_clock::time_point &now) {
214 bool validate_file_entry(FileEntry *ent,
336 FileEntry *get_cached_fd(const std::string &path) {
370 FileEntry *cache_fd(const std::string &path, const FileEntry &ent) {
372 auto rv = fd_cache_.emplace(path, std::make_unique<FileEntry>(ent));
376 std::make_pair(path, std::make_unique<FileEntry>(ent)));
394 void release_fd(FileEntry *target) {
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));
1374 file_path, FileEntry(file_path, buf.st_size, buf.st_mtime, file,
1935 FileEntry make_status_body(int status, uint16_t port) {
1976 return FileEntry(util::utos(status), nwrite, 0, fd, nullptr, {});