Home
last modified time | relevance | path

Searched refs:bufs (Results 1 – 7 of 7) sorted by relevance

/system/extras/tests/pagingtest/
Dthrashing_test.c17 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/core/libmeminfo/libdmabufinfo/tools/
Ddmabuf_dump.cpp62 static void PrintDmaBufInfo(const std::vector<DmaBuffer>& bufs) { in PrintDmaBufInfo() argument
66 if (bufs.empty()) { in PrintDmaBufInfo()
72 for (int i = 0; i < bufs.size(); i++) { in PrintDmaBufInfo()
73 AddPidsToSet(bufs[i].fdrefs(), &pid_set); in PrintDmaBufInfo()
74 AddPidsToSet(bufs[i].maprefs(), &pid_set); in PrintDmaBufInfo()
106 for (auto buf = bufs.begin(); buf != bufs.end(); ++buf) { in PrintDmaBufInfo()
139 std::vector<DmaBuffer> bufs; in main() local
152 if (!ReadDmaBufInfo(&bufs)) { in main()
154 bufs.clear(); in main()
170 if (!AppendDmaBufInfo(pid, &bufs)) { in main()
[all …]
/system/core/deprecated-adf/libadf/original-kernel-headers/video/
Dadf.h160 struct adf_buffer_config __user *bufs; member
187 __u64 bufs; /* struct adf_buffer_config * packed into __u64 */ member
/system/core/deprecated-adf/libadf/include/video/
Dadf.h100 struct adf_buffer_config __user * bufs; member
111 __u64 bufs; member
/system/core/deprecated-adf/libadf/include/adf/
Dadf.h75 struct adf_buffer_config *bufs, size_t n_bufs,
95 struct adf_buffer_config *bufs, __u32 n_bufs,
/system/core/deprecated-adf/libadf/
Dadf.cpp144 struct adf_buffer_config *bufs, size_t n_bufs, in adf_device_post() argument
153 data.bufs = bufs; in adf_device_post()
167 struct adf_buffer_config *bufs, __u32 n_bufs, in adf_device_post_v2() argument
178 data.bufs = (uintptr_t)bufs; in adf_device_post_v2()
/system/bt/stack/a2dp/
Da2dp_aac_encoder.cc558 in_buf_desc.bufs = in_buf_vector; in a2dp_aac_encode_frames()
571 out_buf_desc.bufs = out_buf_vector; in a2dp_aac_encode_frames()