Lines Matching refs:flags
55 (it->flags & PROT_READ) ? 'r' : '-', in operator <<()
56 (it->flags & PROT_WRITE) ? 'w' : '-', in operator <<()
57 (it->flags & PROT_EXEC) ? 'x' : '-', it->name.c_str()); in operator <<()
246 int flags = MAP_PRIVATE | MAP_ANONYMOUS; in MapAnonymous() local
270 flags = MAP_PRIVATE; in MapAnonymous()
331 actual = mmap(reinterpret_cast<void*>(ptr), page_aligned_byte_count, prot, flags, fd.get(), in MapAnonymous()
354 actual = mmap(expected_ptr, page_aligned_byte_count, prot, flags, fd.get(), 0); in MapAnonymous()
361 flags |= MAP_32BIT; in MapAnonymous()
365 void* actual = mmap(expected_ptr, page_aligned_byte_count, prot, flags, fd.get(), 0); in MapAnonymous()
374 expected_ptr, page_aligned_byte_count, prot, flags, fd.get(), in MapAnonymous()
386 MemMap* MemMap::MapFileAtAddress(byte* expected_ptr, size_t byte_count, int prot, int flags, int fd, in MapFileAtAddress() argument
390 CHECK_NE(0, flags & (MAP_SHARED | MAP_PRIVATE)); in MapFileAtAddress()
404 flags |= MAP_FIXED; in MapFileAtAddress()
406 CHECK_EQ(0, flags & MAP_FIXED); in MapFileAtAddress()
426 flags, in MapFileAtAddress()
437 page_aligned_expected, page_aligned_byte_count, prot, flags, fd, in MapFileAtAddress()
527 int flags = MAP_PRIVATE | MAP_FIXED; in RemapAtEnd() local
535 int flags = MAP_PRIVATE | MAP_ANONYMOUS; in RemapAtEnd() local
553 flags, fd.get(), 0)); in RemapAtEnd()
558 tail_base_begin, tail_base_size, tail_prot, flags, fd.get(), in RemapAtEnd()