Searched refs:prot (Results 1 – 4 of 4) sorted by relevance
/dalvik/libdex/ |
D | SysUtil.cpp | 263 int prot = wantReadWrite ? (PROT_READ|PROT_WRITE) : (PROT_READ); in sysChangeMapAccess() local 264 if (mprotect(alignAddr, alignLength, prot) != 0) { in sysChangeMapAccess() 267 alignAddr, alignLength, prot, strerror(errno)); in sysChangeMapAccess()
|
/dalvik/vm/ |
D | Misc.h | 297 void *dvmAllocRegion(size_t size, int prot, const char *name);
|
D | Misc.cpp | 612 void *dvmAllocRegion(size_t byteCount, int prot, const char *name) { in dvmAllocRegion() argument 621 base = mmap(NULL, byteCount, prot, MAP_PRIVATE, fd, 0); in dvmAllocRegion()
|
/dalvik/vm/alloc/ |
D | Copying.cpp | 262 int prot = PROT_READ | PROT_WRITE; in virtualAlloc() local 263 void *addr = mmap(NULL, length, prot, flags, -1, 0); in virtualAlloc()
|