Searched refs:prot (Results 1 – 5 of 5) sorted by relevance
/bionic/libc/bionic/ |
D | mmap.cpp | 42 void* mmap64(void* addr, size_t size, int prot, int flags, int fd, off64_t offset) { in mmap64() argument 49 void* result = __mmap2(addr, size, prot, flags, fd, offset >> MMAP2_SHIFT); in mmap64() 62 void* mmap(void* addr, size_t size, int prot, int flags, int fd, off_t offset) { in mmap() argument 63 return mmap64(addr, size, prot, flags, fd, static_cast<off64_t>(offset)); in mmap()
|
D | pthread_create.cpp | 106 int prot = PROT_READ | PROT_WRITE; in __create_thread_stack() local 108 void* stack = mmap(NULL, thread->attr.stack_size, prot, flags, -1, 0); in __create_thread_stack()
|
/bionic/linker/ |
D | linker_allocator.h | 39 void protect_all(int prot); 65 void protect_all(int prot) { block_allocator_.protect_all(prot); } in protect_all() argument
|
D | linker_allocator.cpp | 87 void LinkerBlockAllocator::protect_all(int prot) { in protect_all() argument 89 if (mprotect(page, PAGE_SIZE, prot) == -1) { in protect_all()
|
/bionic/libc/kernel/uapi/linux/ |
D | agpgart.h | 71 int prot; member
|