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.c24 unsigned char *map_buf; in main() local
63 map_buf = info.buffer; in main()
65 read_buffer(map_buf, map_len); in main()
69 write_buffer(map_buf, map_len); in main()
Dionapp_export.c33 unsigned char *map_buf; in main() local
104 map_buf = info.buffer; in main()
106 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.cc642 void *map_buf = mmap(NULL, length, PROT_READ | PROT_WRITE, in AllocateTestMem() local
644 if (map_buf != MAP_FAILED) { in AllocateTestMem()
645 buf = map_buf; in AllocateTestMem()