Home
last modified time | relevance | path

Searched refs:fdrefs (Results 1 – 3 of 3) sorted by relevance

/system/memory/libmeminfo/libdmabufinfo/tools/
Ddmabuf_dump.cpp85 static_cast<uintmax_t>(buf.inode()), buf.size() / 1024, buf.fdrefs().size(), in PrintDmaBufTable()
91 if (buf.fdrefs().count(pid) == 1) { in PrintDmaBufTable()
94 pid_refs += buf.fdrefs().at(pid); in PrintDmaBufTable()
142 if (buf.fdrefs().empty() && buf.maprefs().empty()) { in PrintDmaBufPerProcess()
/system/memory/libmeminfo/libdmabufinfo/
Ddmabufinfo_test.cpp169 EXPECT_EQ(_bufptr->fdrefs().size(), _fdrefs); \
178 const std::unordered_map<pid_t, int>& _fdrefs = _bufptr->fdrefs(); \
215 EXPECT_TRUE(dmabufs[0].fdrefs().empty()); in TEST()
225 EXPECT_TRUE(dmabufs[1].fdrefs().empty()); in TEST()
274 int fdrefs = dmabuf.fdrefs().find(pid)->second; in checkPidRef() local
275 return fdrefs == expectFdrefs; in checkPidRef()
/system/memory/libmeminfo/libdmabufinfo/include/dmabufinfo/
Ddmabufinfo.h54 const std::unordered_map<pid_t, int>& fdrefs() const { return fdrefs_; } in fdrefs() function