Lines Matching refs:prot
19 int prot = PROT_READ | PROT_WRITE;
68 ret = ion_map(fd, handle, len, prot, map_flags, 0, &ptr, &map_fd);
95 ret = ion_map(fd, handle, len, prot, flags, 0, &ptr, &map_fd);
129 ptr = mmap(NULL, len, prot, map_flags, share_fd, 0);
185 ptr = mmap(NULL, len, prot, map_flags, recv_fd, 0);
212 {"prot", required_argument, 0, 'p'},
238 prot = 0;
239 prot |= strstr(optarg, "MAP_PRIVATE") ?
241 prot |= strstr(optarg, "MAP_SHARED") ?
261 printf("test %d, len %u, align %u, map_flags %d, prot %d, heap_mask %d,"
262 " alloc_flags %d\n", test, len, align, map_flags, prot,