Home | History | Annotate | Download | only in runtime

Lines Matching refs:byte_count

45 static void CheckMapRequest(byte* addr, size_t byte_count) {
51 uint32_t limit = base + byte_count;
70 MemMap* MemMap::MapAnonymous(const char* name, byte* addr, size_t byte_count, int prot) {
71 if (byte_count == 0) {
74 size_t page_aligned_byte_count = RoundUp(byte_count, kPageSize);
102 return new MemMap(name, actual, byte_count, actual, page_aligned_byte_count, prot);
105 MemMap* MemMap::MapFileAtAddress(byte* addr, size_t byte_count,
109 if (byte_count == 0) {
115 // Adjust 'byte_count' to be page-aligned as we will map this anyway.
116 size_t page_aligned_byte_count = RoundUp(byte_count + page_offset, kPageSize);
142 return new MemMap("file", actual + page_offset, byte_count, actual, page_aligned_byte_count,