Lines Matching refs:MemMap
48 // On 64b systems not supporting MAP_32BIT, the implementation of MemMap will do a linear scan
51 // For this to work, it is paramount that there are no other static initializers that access MemMap.
53 class MemMap {
62 // On success, returns returns a MemMap instance. On failure, returns a NULL;
63 static MemMap* MapAnonymous(const char* ashmem_name, byte* addr, size_t byte_count, int prot,
69 // On success, returns returns a MemMap instance. On failure, returns a NULL;
70 static MemMap* MapFile(size_t byte_count, int prot, int flags, int fd, off_t start,
81 // On success, returns returns a MemMap instance. On failure, returns a
83 static MemMap* MapFileAtAddress(byte* addr, size_t byte_count, int prot, int flags, int fd,
88 ~MemMap() LOCKS_EXCLUDED(Locks::mem_maps_lock_);
131 MemMap* RemapAtEnd(byte* new_end, const char* tail_name, int tail_prot,
134 static bool CheckNoGaps(MemMap* begin_map, MemMap* end_map)
139 typedef AllocationTrackingMultiMap<void*, MemMap*, kAllocatorTagMaps> Maps;
145 MemMap(const std::string& name, byte* begin, size_t size, void* base_begin, size_t base_size,
150 static bool HasMemMap(MemMap* map)
152 static MemMap* GetLargestMemMapAt(void* address)
177 std::ostream& operator<<(std::ostream& os, const MemMap& mem_map);