Searched refs:path_id (Results 1 – 3 of 3) sorted by relevance
/aosp12/system/iorap/src/prefetcher/ |
H A D | session.cc | 65 auto it = path_map_.find(path_id); in GetFilePath() 74 auto it = path_map_.find(path_id); in RemoveFilePath() 141 if (!RemoveFilePath(path_id)) { in UnregisterFilePath() 185 auto it = path_fd_map_.find(path_id); in GetFdForPath() 376 size_t path_id = index_entry.id(); in ProcessFd() local 521 size_t path_id = it->first; in Dump() local 595 size_t path_id = it->first; in ~SessionDirect() local 598 UnregisterFilePath(path_id); in ~SessionDirect() 656 cmd.id = path_id; in RegisterFilePath() 666 cmd.id = path_id; in UnregisterFilePath() [all …]
|
H A D | session.h | 43 virtual bool UnregisterFilePath(size_t path_id) = 0; 102 bool RemoveFilePath(size_t path_id); 103 bool InsertFilePath(size_t path_id, std::string file_path); 118 virtual bool UnregisterFilePath(size_t path_id) override; 119 virtual bool ReadAhead(size_t path_id, 124 virtual bool UnreadAhead(size_t path_id, 140 size_t path_id; member 146 return path_id == other.path_id && 187 virtual bool UnregisterFilePath(size_t path_id) override; 188 virtual bool ReadAhead(size_t path_id, [all …]
|
H A D | read_ahead.cc | 197 static bool PerformReadAhead(std::shared_ptr<Session> session, size_t path_id, ReadAheadKind kind, … in PerformReadAhead() argument 198 return session->ReadAhead(path_id, kind, length, offset); in PerformReadAhead() 345 size_t path_id = index_entry.id(); in BeginTask() local 348 if (!session->RegisterFilePath(path_id, path_file_name)) { in BeginTask()
|