/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); 200 ptr = mmap(NULL, len, prot, map_flags, recv_fd, 0); 226 {"map_flags", required_argument, 0, 'z'}, 242 map_flags = 0; 243 map_flags |= strstr(optarg, "PROT_EXEC") ? PROT_EXEC : 0; 244 map_flags |= strstr(optarg, "PROT_READ") ? PROT_READ: 0; 245 map_flags |= strstr(optarg, "PROT_WRITE") ? PROT_WRITE: 0; 246 map_flags |= strstr(optarg, "PROT_NONE") ? PROT_NONE: 0 [all...] |
/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...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/bin/ |
bin-objfmt.c | 65 } map_flags; member in struct:yasm_objfmt_bin 108 objfmt_bin->map_flags = NO_MAP; 743 if (objfmt_bin->map_flags == NO_MAP) 746 if (objfmt_bin->map_flags == MAP_NONE) 747 objfmt_bin->map_flags = MAP_BRIEF; /* default to brief */ 790 if (objfmt_bin->map_flags & MAP_BRIEF) { 806 if (objfmt_bin->map_flags & MAP_SECTIONS) { 814 if (objfmt_bin->map_flags & MAP_SYMBOLS) { [all...] |