Home | History | Annotate | Download | only in ion

Lines Matching refs:prot

19 int prot = PROT_READ | PROT_WRITE;
96 ret = ion_map(fd, handle, len, prot, map_flags, 0, &ptr, &map_fd);
127 ret = ion_map(fd, handle, len, prot, 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);
244 {"prot", required_argument, 0, 'p'},
274 prot = 0;
275 prot |= strstr(optarg, "MAP_PRIVATE") ?
277 prot |= strstr(optarg, "MAP_SHARED") ?
307 "map_flags %d, prot %d, alloc_flags %d\n", test, len, width,
308 height, fmt, align, map_flags, prot, alloc_flags);