/system/core/libion/ |
D | ion_test.c | 34 int prot = PROT_READ | PROT_WRITE; variable 83 ret = ion_map(fd, handle, len, prot, map_flags, 0, &ptr, &map_fd); in ion_map_test() 110 ret = ion_map(fd, handle, len, prot, flags, 0, &ptr, &map_fd); in ion_map_test() 144 ptr = mmap(NULL, len, prot, map_flags, share_fd, 0); in ion_share_test() 201 ptr = mmap(NULL, len, prot, map_flags, recv_fd, 0); in ion_share_test() 251 prot = 0; in main() 252 prot |= strstr(optarg, "MAP_PRIVATE") ? MAP_PRIVATE : 0; in main() 253 prot |= strstr(optarg, "MAP_SHARED") ? MAP_PRIVATE : 0; in main() 273 " alloc_flags %d\n", test, len, align, map_flags, prot, in main()
|
D | ion.c | 90 int ion_map(int fd, ion_user_handle_t handle, size_t length, int prot, in ion_map() argument 111 tmp_ptr = mmap(NULL, length, prot, flags, data.fd, offset); in ion_map()
|
/system/core/libutils/ |
D | FileMap.cpp | 163 int prot, flags, adjust; in create() 187 prot = PROT_READ; in create() 189 prot |= PROT_WRITE; in create() 191 ptr = mmap(NULL, adjLength, prot, flags, fd, adjOffset); in create()
|
/system/core/libmemunreachable/ |
D | PtracerThread.cpp | 41 int prot = PROT_READ | PROT_WRITE; in Stack() local 45 base_ = mmap(NULL, size_, prot, flags, -1, 0); in Stack()
|
D | Allocator.cpp | 122 const int prot = PROT_READ | PROT_WRITE; in MapAligned() local 133 void* ptr = mmap(NULL, map_size, prot, flags, -1, 0); in MapAligned()
|
/system/core/include/cutils/ |
D | ashmem.h | 20 int ashmem_set_prot_region(int fd, int prot);
|
/system/core/libcutils/ |
D | ashmem-dev.c | 176 int ashmem_set_prot_region(int fd, int prot) in ashmem_set_prot_region() argument 183 return TEMP_FAILURE_RETRY(ioctl(fd, ASHMEM_SET_PROT_MASK, prot)); in ashmem_set_prot_region()
|
D | ashmem-host.c | 58 int ashmem_set_prot_region(int fd __unused, int prot __unused) in ashmem_set_prot_region()
|
/system/core/libion/include/ion/ |
D | ion.h | 39 int ion_map(int fd, ion_user_handle_t handle, size_t length, int prot,
|
/system/extras/simpleperf/ |
D | record.h | 193 uint32_t prot, flags; member
|
D | record.cpp | 251 PrintIndented(indent, "prot %u, flags %u, filenames %s\n", data.prot, data.flags, in DumpData()
|