Searched refs:map_flags (Results 1 – 2 of 2) sorted by relevance
/hardware/ti/omap4-aah/ion/ |
D | ion_test.c | 20 int map_flags = MAP_SHARED; variable 96 ret = ion_map(fd, handle, len, prot, map_flags, 0, &ptr, &map_fd); in ion_map_test() 161 ptr = mmap(NULL, len, prot, map_flags, share_fd, 0); in ion_share_test() 217 ptr = mmap(NULL, len, prot, map_flags, recv_fd, 0); in ion_share_test() 263 map_flags = 0; in main() 264 map_flags |= strstr(optarg, "PROT_EXEC") ? in main() 266 map_flags |= strstr(optarg, "PROT_READ") ? in main() 268 map_flags |= strstr(optarg, "PROT_WRITE") ? in main() 270 map_flags |= strstr(optarg, "PROT_NONE") ? in main() 308 height, fmt, align, map_flags, prot, alloc_flags); in main()
|
D | ion_test_2.c | 40 int map_flags = MAP_SHARED; variable 194 ret = ion_map(fd, handle[i], len, prot, map_flags, 0, &(ptr[i]), &(map_fd[i])); in ion_map_test() 391 map_flags = 0; in main() 392 map_flags |= strstr(optarg, "PROT_EXEC") ? in main() 394 map_flags |= strstr(optarg, "PROT_READ") ? in main() 396 map_flags |= strstr(optarg, "PROT_WRITE") ? in main() 398 map_flags |= strstr(optarg, "PROT_NONE") ? in main() 446 height, fmt, align, count, iteration, map_flags, prot, alloc_flags); in main()
|