Lines Matching refs:uptr
28 uptr GetMmapGranularity() { in GetMmapGranularity()
32 uptr GetMaxVirtualAddress() { in GetMaxVirtualAddress()
50 void *MmapOrDie(uptr size, const char *mem_type) { in MmapOrDie()
52 uptr res = internal_mmap(0, size, in MmapOrDie()
73 void UnmapOrDie(void *addr, uptr size) { in UnmapOrDie()
75 uptr res = internal_munmap(addr, size); in UnmapOrDie()
83 void *MmapFixedNoReserve(uptr fixed_addr, uptr size) { in MmapFixedNoReserve()
84 uptr PageSize = GetPageSizeCached(); in MmapFixedNoReserve()
85 uptr p = internal_mmap((void*)(fixed_addr & ~(PageSize - 1)), in MmapFixedNoReserve()
98 void *MmapFixedOrDie(uptr fixed_addr, uptr size) { in MmapFixedOrDie()
99 uptr PageSize = GetPageSizeCached(); in MmapFixedOrDie()
100 uptr p = internal_mmap((void*)(fixed_addr & ~(PageSize - 1)), in MmapFixedOrDie()
115 void *Mprotect(uptr fixed_addr, uptr size) { in Mprotect()
122 void *MapFileToMemory(const char *file_name, uptr *buff_size) { in MapFileToMemory()
123 uptr openrv = OpenFile(file_name, false); in MapFileToMemory()
126 uptr fsize = internal_filesize(fd); in MapFileToMemory()
127 CHECK_NE(fsize, (uptr)-1); in MapFileToMemory()
130 uptr map = internal_mmap(0, *buff_size, PROT_READ, MAP_PRIVATE, fd, 0); in MapFileToMemory()
135 static inline bool IntervalsAreSeparate(uptr start1, uptr end1, in IntervalsAreSeparate()
136 uptr start2, uptr end2) { in IntervalsAreSeparate()
146 bool MemoryRangeIsAvailable(uptr range_start, uptr range_end) { in MemoryRangeIsAvailable()
148 uptr start, end; in MemoryRangeIsAvailable()
160 uptr start, end; in DumpProcessMap()