Home
last modified time | relevance | path

Searched refs:dmabuf_sysfs_path (Results 1 – 5 of 5) sorted by relevance

/system/memory/libmeminfo/libdmabufinfo/
Ddmabuf_sysfs_stats.cpp49 const std::string& dmabuf_sysfs_path) { in ReadBufferExporter() argument
51 ::android::base::StringPrintf("%s/%u/exporter_name", dmabuf_sysfs_path.c_str(), inode); in ReadBufferExporter()
55 bool ReadBufferSize(unsigned int inode, uint64_t* size, const std::string& dmabuf_sysfs_path) { in ReadBufferSize() argument
57 ::android::base::StringPrintf("%s/%u/size", dmabuf_sysfs_path.c_str(), inode); in ReadBufferSize()
Ddmabufinfo.cpp203 const std::string& dmabuf_sysfs_path) { in ReadDmaBufMapRefs() argument
230 bool sysfs_stats = ReadBufferExporter(mapinfo.inode, &exporter, dmabuf_sysfs_path); in ReadDmaBufMapRefs()
241 if (!sysfs_stats || !ReadBufferSize(mapinfo.inode, &size, dmabuf_sysfs_path)) { in ReadDmaBufMapRefs()
260 const std::string& procfs_path, const std::string& dmabuf_sysfs_path) { in ReadDmaBufInfo() argument
270 if (!ReadDmaBufMapRefs(pid, dmabufs, procfs_path, dmabuf_sysfs_path)) { in ReadDmaBufInfo()
Ddmabufinfo_test.cpp256 dmabuf_sysfs_path = fs::current_path() / "buffers"; in SetUp()
258 ASSERT_TRUE(fs::create_directory(dmabuf_sysfs_path)); in SetUp()
266 fs::remove_all(dmabuf_sysfs_path); in TearDown()
282 auto buffer_path = dmabuf_sysfs_path / android::base::StringPrintf("%u", inode); in AddSysfsDmaBufStats()
309 std::filesystem::path dmabuf_sysfs_path; member in DmaBufProcessStatsTest
331 ASSERT_TRUE(ReadDmaBufInfo(pid, &dmabufs, true, procfs_path, dmabuf_sysfs_path)); in TEST_F()
408 ASSERT_TRUE(ReadDmaBufMapRefs(pid, &dmabufs, procfs_path, dmabuf_sysfs_path)); in TEST_F()
/system/memory/libmeminfo/libdmabufinfo/include/dmabufinfo/
Ddmabuf_sysfs_stats.h85 const std::string& dmabuf_sysfs_path = "/sys/kernel/dmabuf/buffers");
89 const std::string& dmabuf_sysfs_path = "/sys/kernel/dmabuf/buffers");
Ddmabufinfo.h96 const std::string& dmabuf_sysfs_path = "/sys/kernel/dmabuf/buffers");
114 const std::string& dmabuf_sysfs_path = "/sys/kernel/dmabuf/buffers");
121 const std::string& dmabuf_sysfs_path = "/sys/kernel/dmabuf/buffers");