Home
last modified time | relevance | path

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

/aosp12/system/memory/libmeminfo/libdmabufinfo/
H A Ddmabufinfo_test.cpp182 const std::unordered_map<pid_t, int>& _fdrefs = _bufptr->fdrefs(); \
219 EXPECT_TRUE(dmabufs[0].fdrefs().empty()); in TEST()
229 EXPECT_TRUE(dmabufs[1].fdrefs().empty()); in TEST()
377 ASSERT_EQ(dmabuf1->fdrefs().size(), 1u); in TEST_F()
386 ASSERT_EQ(dmabuf2->fdrefs().size(), 0u); in TEST_F()
413 const auto& fdrefs1 = dmabuf1->fdrefs(); in TEST_F()
428 const auto& fdrefs2 = dmabuf2->fdrefs(); in TEST_F()
453 ASSERT_EQ(dmabuf1->fdrefs().size(), 0u); in TEST_F()
468 ASSERT_EQ(dmabuf2->fdrefs().size(), 0u); in TEST_F()
526 int fdrefs = dmabuf.fdrefs().find(pid)->second; in checkPidRef() local
[all …]
/aosp12/system/memory/libmeminfo/libdmabufinfo/tools/
H A Ddmabuf_dump.cpp88 static_cast<uintmax_t>(buf.inode()), buf.size() / 1024, buf.fdrefs().size(), in PrintDmaBufTable()
94 if (buf.fdrefs().count(pid) == 1) { in PrintDmaBufTable()
97 pid_fdrefs += buf.fdrefs().at(pid); in PrintDmaBufTable()
145 if (buf.fdrefs().empty() && buf.maprefs().empty()) { in PrintDmaBufPerProcess()
/aosp12/system/memory/libmeminfo/libdmabufinfo/include/dmabufinfo/
H A Ddmabufinfo.h54 const std::unordered_map<pid_t, int>& fdrefs() const { return fdrefs_; } in fdrefs() function