Searched defs:prot (Results 1 - 13 of 13) sorted by relevance

/bionic/libc/bionic/
H A Dmmap.cpp44 void* mmap64(void* addr, size_t size, int prot, int flags, int fd, off64_t offset) { argument
61 void* result = __mmap2(addr, size, prot, flags, fd, offset >> MMAP2_SHIFT);
75 void* mmap(void* addr, size_t size, int prot, int flags, int fd, off_t offset) { argument
76 return mmap64(addr, size, prot, flags, fd, static_cast<off64_t>(offset));
H A Dpthread_create.cpp167 int prot = PROT_READ | PROT_WRITE; local
169 void* space = mmap(NULL, mmap_size, prot, flags, -1, 0);
/bionic/linker/
H A Dlinker_block_allocator.h50 void protect_all(int prot);
86 void protect_all(int prot) { block_allocator_.protect_all(prot); } argument
H A Dlinker_block_allocator.cpp107 void LinkerBlockAllocator::protect_all(int prot) { argument
109 if (mprotect(page, PAGE_SIZE, prot) == -1) {
/bionic/libc/kernel/uapi/linux/
H A Dagpgart.h62 int prot; member in struct:_agp_segment
H A Dscif_ioctl.h45 __s32 prot; member in struct:scifioctl_reg
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Dagpgart.h62 int prot; member in struct:_agp_segment
H A Dscif_ioctl.h45 __s32 prot; member in struct:scifioctl_reg
/bionic/tests/
H A Dutils.h92 char prot[5]; // sizeof("rwxp") local
94 &record.addr_start, &record.addr_end, prot, &record.offset,
97 if (prot[0] == 'r') {
100 if (prot[1] == 'w') {
103 if (prot[2] == 'x') {
H A Dpthread_test.cpp2541 int prot = PROT_NONE; local
2543 void* page = mmap(nullptr, kPageSize, prot, MAP_ANON|MAP_PRIVATE, -1, 0);
2546 prot = (prot == PROT_NONE) ? PROT_READ : PROT_NONE;
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/
H A Dagpgart.h62 int prot; member in struct:_agp_segment
H A Dscif_ioctl.h45 __s32 prot; member in struct:scifioctl_reg
/bionic/libc/upstream-freebsd/lib/libc/gen/
H A Dglob.c192 Char *bufnext, *bufend, patbuf[MAXPATHLEN], prot; local
239 prot = M_PROTECT;
241 prot = 0;
249 *bufnext++ = wc | prot;

Completed in 2153 milliseconds