Home
last modified time | relevance | path

Searched refs:prot (Results 1 – 4 of 4) sorted by relevance

/dalvik/libdex/
DSysUtil.cpp263 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/
DMisc.h297 void *dvmAllocRegion(size_t size, int prot, const char *name);
DMisc.cpp612 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/
DCopying.cpp262 int prot = PROT_READ | PROT_WRITE; in virtualAlloc() local
263 void *addr = mmap(NULL, length, prot, flags, -1, 0); in virtualAlloc()