Searched refs:map_buf (Results 1 – 4 of 4) sorted by relevance
24 unsigned char *map_buf; in main() local63 map_buf = info.buffer; in main()65 read_buffer(map_buf, map_len); in main()69 write_buffer(map_buf, map_len); in main()
33 unsigned char *map_buf; in main() local104 map_buf = info.buffer; in main()106 write_buffer(map_buf, map_len); in main()
153 unsigned char *map_buf; in ion_import_buffer_fd() local170 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()
642 void *map_buf = mmap(NULL, length, PROT_READ | PROT_WRITE, in AllocateTestMem() local644 if (map_buf != MAP_FAILED) { in AllocateTestMem()645 buf = map_buf; in AllocateTestMem()