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

/bionic/libc/bionic/
H A Dmmap.cpp42 void* mmap64(void* addr, size_t size, int prot, int flags, int fd, off64_t offset) { argument
49 void* result = __mmap2(addr, size, prot, flags, fd, offset >> MMAP2_SHIFT);
62 void* mmap(void* addr, size_t size, int prot, int flags, int fd, off_t offset) { argument
63 return mmap64(addr, size, prot, flags, fd, static_cast<off64_t>(offset));
H A Dpthread_create.cpp106 int prot = PROT_READ | PROT_WRITE; local
108 void* stack = mmap(NULL, thread->attr.stack_size, prot, flags, -1, 0);
/bionic/linker/
H A Dlinker_allocator.h39 void protect_all(int prot);
65 void protect_all(int prot) { block_allocator_.protect_all(prot); } argument
H A Dlinker_allocator.cpp87 void LinkerBlockAllocator::protect_all(int prot) { argument
89 if (mprotect(page, PAGE_SIZE, prot) == -1) {
/bionic/libc/kernel/uapi/linux/
H A Dagpgart.h71 int prot; member in struct:_agp_segment

Completed in 66 milliseconds