/hardware/ti/omap4-aah/ion/ |
ion_test.c | 20 int map_flags = MAP_SHARED; variable 96 ret = ion_map(fd, handle, len, prot, map_flags, 0, &ptr, &map_fd); 161 ptr = mmap(NULL, len, prot, map_flags, share_fd, 0); 217 ptr = mmap(NULL, len, prot, map_flags, recv_fd, 0); 243 {"map_flags", required_argument, 0, 'z'}, 263 map_flags = 0; 264 map_flags |= strstr(optarg, "PROT_EXEC") ? 266 map_flags |= strstr(optarg, "PROT_READ") ? 268 map_flags |= strstr(optarg, "PROT_WRITE") ? 270 map_flags |= strstr(optarg, "PROT_NONE") [all...] |
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])); 369 {"map_flags", required_argument, 0, 'z'}, 391 map_flags = 0; 392 map_flags |= strstr(optarg, "PROT_EXEC") ? 394 map_flags |= strstr(optarg, "PROT_READ") ? 396 map_flags |= strstr(optarg, "PROT_WRITE") ? 398 map_flags |= strstr(optarg, "PROT_NONE") ? 445 "iteration %d, map_flags %d, prot %d, alloc_flags %d\n", test, len, width, 446 height, fmt, align, count, iteration, map_flags, prot, alloc_flags) [all...] |
/system/core/libion/ |
ion_test.c | 35 int map_flags = MAP_SHARED; variable 83 ret = ion_map(fd, handle, len, prot, map_flags, 0, &ptr, &map_fd); 144 ptr = mmap(NULL, len, prot, map_flags, share_fd, 0); 201 ptr = mmap(NULL, len, prot, map_flags, recv_fd, 0); 228 {"map_flags", required_argument, 0, 'z'}, 244 map_flags = 0; 245 map_flags |= strstr(optarg, "PROT_EXEC") ? PROT_EXEC : 0; 246 map_flags |= strstr(optarg, "PROT_READ") ? PROT_READ: 0; 247 map_flags |= strstr(optarg, "PROT_WRITE") ? PROT_WRITE: 0; 248 map_flags |= strstr(optarg, "PROT_NONE") ? PROT_NONE: 0 [all...] |
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/ |
d3d11_objects.h | 408 unsigned map_flags, 412 HRESULT hr = device->Map(this, 0, map_type, map_flags, &msr); 434 unsigned map_flags, 438 HRESULT hr = device->Map(this, subresource, map_type, map_flags, &msr); 463 unsigned map_flags, 467 HRESULT hr = device->Map(this, subresource, map_type, map_flags, &msr); 493 unsigned map_flags, 497 HRESULT hr = device->Map(this, subresource, map_type, map_flags, &msr); 562 unsigned map_flags) 565 if(map_flags & DXGI_MAP_DISCARD [all...] |
d3d11_context.h | [all...] |
/external/linux-tools-perf/src/tools/perf/bench/ |
numa.c | 310 static u8 *alloc_data(ssize_t bytes0, int map_flags, 329 buf = (void *)mmap(0, bytes, PROT_READ|PROT_WRITE, MAP_ANON|map_flags, -1, 0); 332 if (map_flags == MAP_PRIVATE) { [all...] |