Searched refs:prot (Results 1 - 8 of 8) sorted by relevance

/system/core/include/cutils/
H A Dashmem.h20 int ashmem_set_prot_region(int fd, int prot);
/system/core/libion/
H A Dion_test.c19 int prot = PROT_READ | PROT_WRITE; variable
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
[all...]
H A Dion.c83 int ion_map(int fd, struct ion_handle *handle, size_t length, int prot, argument
98 *ptr = mmap(NULL, length, prot, flags, *map_fd, offset);
/system/core/libcutils/
H A Dashmem-dev.c70 int ashmem_set_prot_region(int fd, int prot) argument
72 return ioctl(fd, ASHMEM_SET_PROT_MASK, prot);
H A Dashmem-host.c81 int ashmem_set_prot_region(int fd, int prot) argument
/system/core/include/ion/
H A Dion.h36 int ion_map(int fd, struct ion_handle *handle, size_t length, int prot,
/system/extras/ext4_utils/
H A Dext4_utils.h49 static inline void *mmap64(void *addr, size_t length, int prot, int flags, argument
52 return __mmap2(addr, length, prot, flags, fd, offset >> 12);
/system/core/libsparse/
H A Doutput_file.c51 static inline void *mmap64(void *addr, size_t length, int prot, int flags, argument
54 return __mmap2(addr, length, prot, flags, fd, offset >> 12);

Completed in 76 milliseconds