Searched refs:fdrefs (Results 1 – 3 of 3) sorted by relevance
85 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()
169 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() local275 return fdrefs == expectFdrefs; in checkPidRef()
54 const std::unordered_map<pid_t, int>& fdrefs() const { return fdrefs_; } in fdrefs() function