Searched refs:bufs (Results 1 – 4 of 4) sorted by relevance
/system/extras/tests/pagingtest/ |
D | thrashing_test.c | 17 volatile char *bufs[4] = {0}; in thrashing_test() local 44 bufs[i] = mmap(NULL, filesize, PROT_READ, MAP_PRIVATE, fds[i], 0); in thrashing_test() 45 if (bufs[i] == ((void *)-1)) { in thrashing_test() 51 ret = madvise((void *)bufs[i], filesize, MADV_RANDOM) || in thrashing_test() 63 bufs[j][k]; in thrashing_test() 79 for (size_t i = 0; i < ARRAY_SIZE(bufs) && bufs[i] != NULL; i++) { in thrashing_test() 80 munmap((void *)bufs[i], filesize); in thrashing_test()
|
/system/memory/libmeminfo/libdmabufinfo/tools/ |
D | dmabuf_dump.cpp | 70 static void PrintDmaBufTable(const std::vector<DmaBuffer>& bufs) { in PrintDmaBufTable() argument 71 if (bufs.empty()) { in PrintDmaBufTable() 80 for (auto& buf : bufs) { in PrintDmaBufTable() 96 for (auto& buf : bufs) { in PrintDmaBufTable() 140 static void PrintDmaBufPerProcess(const std::vector<DmaBuffer>& bufs) { in PrintDmaBufPerProcess() argument 141 if (bufs.empty()) { in PrintDmaBufPerProcess() 149 for (auto& buf : bufs) { in PrintDmaBufPerProcess() 157 for (auto buf : bufs) { in PrintDmaBufPerProcess() 291 std::vector<DmaBuffer> bufs; in main() local 293 if (!ReadDmaBufInfo(pid, &bufs)) { in main() [all …]
|
/system/memory/libmeminfo/libdmabufinfo/ |
D | dmabufinfo.cpp | 277 bool ReadProcfsDmaBufs(std::vector<DmaBuffer>* bufs) { in ReadProcfsDmaBufs() argument 278 bufs->clear(); in ReadProcfsDmaBufs() 283 bufs->clear(); in ReadProcfsDmaBufs() 296 if (!ReadDmaBufFdRefs(pid, bufs)) { in ReadProcfsDmaBufs() 300 if (!ReadDmaBufMapRefs(pid, bufs)) { in ReadProcfsDmaBufs()
|
/system/memory/libmeminfo/libdmabufinfo/include/dmabufinfo/ |
D | dmabufinfo.h | 126 bool ReadProcfsDmaBufs(std::vector<DmaBuffer>* bufs);
|