Home
last modified time | relevance | path

Searched refs:map_buf (Results 1 – 4 of 4) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/android/ion/
Dionapp_import.c33 unsigned char *map_buf; in main() local
72 map_buf = info.buffer; in main()
74 read_buffer(map_buf, map_len); in main()
78 write_buffer(map_buf, map_len); in main()
Dionapp_export.c42 unsigned char *map_buf; in main() local
113 map_buf = info.buffer; in main()
115 write_buffer(map_buf, map_len); in main()
Dionutils.c153 unsigned char *map_buf; in ion_import_buffer_fd() local
170 map_buf = (unsigned char *)mmap(NULL, map_len, PROT_READ|PROT_WRITE, in ion_import_buffer_fd()
172 if (map_buf == MAP_FAILED) { in ion_import_buffer_fd()
178 ion_info->buffer = map_buf; in ion_import_buffer_fd()
/external/stressapptest/src/
Dos.cc627 void *map_buf = mmap(NULL, length, PROT_READ | PROT_WRITE, in AllocateTestMem() local
629 if (map_buf != MAP_FAILED) { in AllocateTestMem()
630 buf = map_buf; in AllocateTestMem()