Searched refs:Inode (Results 1 – 12 of 12) sorted by relevance
/system/iorap/src/inode2filename/ |
D | inode.h | 83 struct Inode { struct 89 static bool Parse(const std::string& str, /*out*/Inode* out, /*out*/std::string* error_msg); argument 91 constexpr bool operator==(const Inode& rhs) const { 97 constexpr bool operator!=(const Inode& rhs) const { 101 Inode() = default; 102 constexpr Inode(size_t device_major, size_t device_minor, size_t inode) in Inode() argument 106 static constexpr Inode FromDeviceAndInode(dev_t dev, ino_t inode) { in FromDeviceAndInode() argument 107 return Inode{major(dev), minor(dev), static_cast<size_t>(inode)}; in FromDeviceAndInode() 119 inline std::ostream& operator<<(std::ostream& os, const Inode& inode) { argument 128 struct hash<iorap::inode2filename::Inode> { [all …]
|
D | search_directories.cc | 112 std::unordered_multimap<ino_t, Inode>::iterator begin_, end_; 124 [](const std::pair<const ino_t, Inode>& pair) { in IterateValues() 135 static InodeSet OfList(const std::vector<Inode>& list) { in OfList() 137 std::unordered_multimap<ino_t, Inode>* map = &new_inode_set.set_; in OfList() 139 for (const Inode& inode : list) { in OfList() 157 std::optional<Inode> FindAndRemoveInodeInList(ValueRange inode_list, in FindAndRemoveInodeInList() 164 [&](const std::pair<ino_t, Inode>& pair) { in FindAndRemoveInodeInList() 165 const Inode& inode = pair.second; in FindAndRemoveInodeInList() 186 Inode inode = found->second; in FindAndRemoveInodeInList() 201 std::optional<Inode> FindAndRemoveInodeInList(ValueRange inode_list, in FindAndRemoveInodeInList() [all …]
|
D | search_directories.h | 67 std::vector<Inode> inode_list, 93 std::vector<Inode> inode_list, 104 rxcpp::observable<Inode> inodes, 114 std::vector<Inode> inode_list,
|
D | inode_result.h | 41 Inode inode; 46 static InodeResult makeSuccess(Inode inode, std::string filename) { in makeSuccess() 50 static InodeResult makeFailure(Inode inode, int err_no) { in makeFailure()
|
D | inode_resolver.cc | 127 InodeResolver::FindFilenamesFromInodes(rxcpp::observable<Inode> inodes) const { in FindFilenamesFromInodes() 131 return inodes.reduce(std::vector<Inode>{}, in FindFilenamesFromInodes() 132 [](std::vector<Inode> vec, Inode inode) { in FindFilenamesFromInodes() 136 [](std::vector<Inode> v) { in FindFilenamesFromInodes() 139 .flat_map([self=shared_from_this()](std::vector<Inode> vec) { in FindFilenamesFromInodes() 147 InodeResolver::FindFilenamesFromInodes(std::vector<Inode> inodes) const { in FindFilenamesFromInodes()
|
D | inode.cc | 31 bool Inode::Parse(const std::string& str, Inode* out, std::string* error_msg) { in Parse()
|
D | inode_resolver.h | 79 FindFilenamesFromInodes(rxcpp::observable<Inode> inodes) const; 83 FindFilenamesFromInodes(std::vector<Inode> inodes) const;
|
D | out_of_process_inode_resolver.cc | 154 Inode inode; in ParseFromLine() 157 if (!Inode::Parse(inode_s, /*out*/&inode, /*out*/&inode_parse_error_msg)) { in ParseFromLine() 206 const std::vector<Inode>& inodes) const { in CreateArgvFind() 237 const std::vector<Inode>& inodes) { in EmitFromCommandFind() 370 OutOfProcessInodeResolver::FindFilenamesFromInodes(std::vector<Inode> inodes) const { in FindFilenamesFromInodes()
|
D | out_of_process_inode_resolver.h | 30 FindFilenamesFromInodes(std::vector<Inode> inodes) const override;
|
D | data_source.cc | 146 Inode inode = Inode::FromDeviceAndInode(static_cast<dev_t>(device_number), in EmitInodes()
|
D | main.cc | 195 std::vector<Inode> inode_list; in main() 288 Inode maybe_inode{}; in main() 291 if (Inode::Parse(argstr, /*out*/&maybe_inode, /*out*/&error_msg)) { in main() 401 const Inode& inode = result.inode; in main()
|
/system/iorap/src/compiler/ |
D | compiler.cc | 48 using Inode = iorap::inode2filename::Inode; typedef 222 Inode inode() const { in inode() 223 return Inode::FromDeviceAndInode(static_cast<dev_t>(s_dev), in inode() 435 .map([](const PageCacheFtraceEvent& event) -> Inode { in SelectDistinctInodesFromTraces() 436 return Inode::FromDeviceAndInode(static_cast<dev_t>(event.s_dev), in SelectDistinctInodesFromTraces() 439 .tap([](const Inode& inode) { in SelectDistinctInodesFromTraces() 450 rxcpp::observable<Inode> inodes, in ResolveInodesToFileNames() 457 using InodeMap = std::unordered_map<Inode, std::string /*filename*/>; 563 rxcpp::observable<Inode> distinct_inodes_obs = distinct_inodes.as_dynamic(); in ResolvePageCacheEntriesFromProtos()
|