Lines Matching refs:uptr
45 static const uptr kMetaShadowBeg = 0x300000000000ull;
46 static const uptr kMetaShadowEnd = 0x400000000000ull;
47 static const uptr kTraceMemBeg = 0x600000000000ull;
48 static const uptr kTraceMemEnd = 0x620000000000ull;
49 static const uptr kShadowBeg = 0x020000000000ull;
50 static const uptr kShadowEnd = 0x100000000000ull;
51 static const uptr kHeapMemBeg = 0x7d0000000000ull;
52 static const uptr kHeapMemEnd = 0x7e0000000000ull;
53 static const uptr kLoAppMemBeg = 0x000000001000ull;
54 static const uptr kLoAppMemEnd = 0x010000000000ull;
55 static const uptr kHiAppMemBeg = 0x7e8000000000ull;
56 static const uptr kHiAppMemEnd = 0x800000000000ull;
57 static const uptr kAppMemMsk = 0x7c0000000000ull;
58 static const uptr kAppMemXor = 0x020000000000ull;
59 static const uptr kVdsoBeg = 0xf000000000000000ull;
77 static const uptr kMetaShadowBeg = 0x3000000000ull;
78 static const uptr kMetaShadowEnd = 0x4000000000ull;
79 static const uptr kTraceMemBeg = 0x6000000000ull;
80 static const uptr kTraceMemEnd = 0x6200000000ull;
81 static const uptr kShadowBeg = 0x1400000000ull;
82 static const uptr kShadowEnd = 0x2400000000ull;
83 static const uptr kHeapMemBeg = 0xfe00000000ull;
84 static const uptr kHeapMemEnd = 0xff00000000ull;
85 static const uptr kLoAppMemBeg = 0x0100000000ull;
86 static const uptr kLoAppMemEnd = 0x0200000000ull;
87 static const uptr kHiAppMemBeg = 0xff80000000ull;
88 static const uptr kHiAppMemEnd = 0xffffffffffull;
89 static const uptr kAppMemMsk = 0xfc00000000ull;
90 static const uptr kAppMemXor = 0x0400000000ull;
91 static const uptr kVdsoBeg = 0xfffff00000ull;
116 static const uptr kLoAppMemBeg = 0x0000001000ull;
117 static const uptr kLoAppMemEnd = 0x0100000000ull;
118 static const uptr kShadowBeg = 0x0800000000ull;
119 static const uptr kShadowEnd = 0x2000000000ull;
120 static const uptr kMetaShadowBeg = 0x3100000000ull;
121 static const uptr kMetaShadowEnd = 0x3400000000ull;
122 static const uptr kMidAppMemBeg = 0x5500000000ull;
123 static const uptr kMidAppMemEnd = 0x5600000000ull;
124 static const uptr kMidShadowOff = 0x5000000000ull;
125 static const uptr kTraceMemBeg = 0x6000000000ull;
126 static const uptr kTraceMemEnd = 0x6200000000ull;
127 static const uptr kHeapMemBeg = 0x7c00000000ull;
128 static const uptr kHeapMemEnd = 0x7d00000000ull;
129 static const uptr kHiAppMemBeg = 0x7e00000000ull;
130 static const uptr kHiAppMemEnd = 0x7fffffffffull;
131 static const uptr kAppMemMsk = 0x7800000000ull;
132 static const uptr kAppMemXor = 0x0200000000ull;
133 static const uptr kVdsoBeg = 0x7f00000000ull;
152 static const uptr kLoAppMemBeg = 0x00000001000ull;
153 static const uptr kLoAppMemEnd = 0x01000000000ull;
154 static const uptr kShadowBeg = 0x10000000000ull;
155 static const uptr kShadowEnd = 0x20000000000ull;
156 static const uptr kMetaShadowBeg = 0x26000000000ull;
157 static const uptr kMetaShadowEnd = 0x28000000000ull;
158 static const uptr kMidAppMemBeg = 0x2aa00000000ull;
159 static const uptr kMidAppMemEnd = 0x2ab00000000ull;
160 static const uptr kMidShadowOff = 0x28000000000ull;
161 static const uptr kTraceMemBeg = 0x36200000000ull;
162 static const uptr kTraceMemEnd = 0x36400000000ull;
163 static const uptr kHeapMemBeg = 0x3e000000000ull;
164 static const uptr kHeapMemEnd = 0x3f000000000ull;
165 static const uptr kHiAppMemBeg = 0x3f000000000ull;
166 static const uptr kHiAppMemEnd = 0x3ffffffffffull;
167 static const uptr kAppMemMsk = 0x3c000000000ull;
168 static const uptr kAppMemXor = 0x04000000000ull;
169 static const uptr kVdsoBeg = 0x37f00000000ull;
198 static const uptr kMetaShadowBeg = 0x0b0000000000ull;
199 static const uptr kMetaShadowEnd = 0x0d0000000000ull;
200 static const uptr kTraceMemBeg = 0x0d0000000000ull;
201 static const uptr kTraceMemEnd = 0x0f0000000000ull;
202 static const uptr kShadowBeg = 0x000100000000ull;
203 static const uptr kShadowEnd = 0x0b0000000000ull;
204 static const uptr kLoAppMemBeg = 0x000000000100ull;
205 static const uptr kLoAppMemEnd = 0x000100000000ull;
206 static const uptr kHeapMemBeg = 0x0f0000000000ull;
207 static const uptr kHeapMemEnd = 0x0f5000000000ull;
208 static const uptr kHiAppMemBeg = 0x0f6000000000ull;
209 static const uptr kHiAppMemEnd = 0x100000000000ull; // 44 bits
210 static const uptr kAppMemMsk = 0x0f0000000000ull;
211 static const uptr kAppMemXor = 0x002100000000ull;
212 static const uptr kVdsoBeg = 0x3c0000000000000ull;
230 static const uptr kMetaShadowBeg = 0x100000000000ull;
231 static const uptr kMetaShadowEnd = 0x200000000000ull;
232 static const uptr kTraceMemBeg = 0x200000000000ull;
233 static const uptr kTraceMemEnd = 0x220000000000ull;
234 static const uptr kShadowBeg = 0x010000000000ull;
235 static const uptr kShadowEnd = 0x100000000000ull;
236 static const uptr kHeapMemBeg = 0x3d0000000000ull;
237 static const uptr kHeapMemEnd = 0x3e0000000000ull;
238 static const uptr kLoAppMemBeg = 0x000000001000ull;
239 static const uptr kLoAppMemEnd = 0x010000000000ull;
240 static const uptr kHiAppMemBeg = 0x3e8000000000ull;
241 static const uptr kHiAppMemEnd = 0x400000000000ull; // 46 bits
242 static const uptr kAppMemMsk = 0x3c0000000000ull;
243 static const uptr kAppMemXor = 0x020000000000ull;
244 static const uptr kVdsoBeg = 0x7800000000000000ull;
267 static const uptr kMetaShadowBeg = 0x300000000000ull;
268 static const uptr kMetaShadowEnd = 0x400000000000ull;
269 static const uptr kTraceMemBeg = 0x600000000000ull;
270 static const uptr kTraceMemEnd = 0x620000000000ull;
271 static const uptr kShadowBeg = 0x200000000000ull;
272 static const uptr kShadowEnd = 0x238000000000ull;
273 static const uptr kAppMemBeg = 0x000000001000ull;
274 static const uptr kAppMemEnd = 0x00e000000000ull;
292 static const uptr kMetaShadowBeg = 0x076000000000ull;
293 static const uptr kMetaShadowEnd = 0x07d000000000ull;
294 static const uptr kTraceMemBeg = 0x056000000000ull;
295 static const uptr kTraceMemEnd = 0x076000000000ull;
296 static const uptr kShadowBeg = 0x010000000000ull;
297 static const uptr kShadowEnd = 0x050000000000ull;
298 static const uptr kAppMemBeg = 0x000000001000ull;
299 static const uptr kAppMemEnd = 0x00e000000000ull;
308 extern uptr vmaSize;
335 uptr MappingImpl(void) { in MappingImpl()
363 uptr MappingArchImpl(void) { in MappingArchImpl()
383 uptr LoAppMemBeg(void) { in LoAppMemBeg()
387 uptr LoAppMemEnd(void) { in LoAppMemEnd()
393 uptr MidAppMemBeg(void) { in MidAppMemBeg()
397 uptr MidAppMemEnd(void) { in MidAppMemEnd()
403 uptr HeapMemBeg(void) { in HeapMemBeg()
407 uptr HeapMemEnd(void) { in HeapMemEnd()
412 uptr HiAppMemBeg(void) { in HiAppMemBeg()
416 uptr HiAppMemEnd(void) { in HiAppMemEnd()
421 uptr VdsoBeg(void) { in VdsoBeg()
428 uptr AppMemBeg(void) { in AppMemBeg()
432 uptr AppMemEnd(void) { in AppMemEnd()
439 bool GetUserRegion(int i, uptr *start, uptr *end) { in GetUserRegion()
472 uptr ShadowBeg(void) { in ShadowBeg()
476 uptr ShadowEnd(void) { in ShadowEnd()
481 uptr MetaShadowBeg(void) { in MetaShadowBeg()
485 uptr MetaShadowEnd(void) { in MetaShadowEnd()
490 uptr TraceMemBeg(void) { in TraceMemBeg()
494 uptr TraceMemEnd(void) { in TraceMemEnd()
500 bool IsAppMemImpl(uptr mem) { in IsAppMemImpl()
514 bool IsAppMem(uptr mem) { in IsAppMem()
534 bool IsShadowMemImpl(uptr mem) { in IsShadowMemImpl()
539 bool IsShadowMem(uptr mem) { in IsShadowMem()
559 bool IsMetaMemImpl(uptr mem) { in IsMetaMemImpl()
564 bool IsMetaMem(uptr mem) { in IsMetaMem()
584 uptr MemToShadowImpl(uptr x) { in MemToShadowImpl()
595 uptr MemToShadow(uptr x) { in MemToShadow()
615 u32 *MemToMetaImpl(uptr x) { in MemToMetaImpl()
628 u32 *MemToMeta(uptr x) { in MemToMeta()
648 uptr ShadowToMemImpl(uptr s) { in ShadowToMemImpl()
672 uptr ShadowToMem(uptr s) { in ShadowToMem()
694 const uptr kTotalTraceSize = (kTraceSize * sizeof(Event) + sizeof(Trace)
698 uptr GetThreadTraceImpl(int tid) { in GetThreadTraceImpl()
699 uptr p = Mapping::kTraceMemBeg + (uptr)tid * kTotalTraceSize; in GetThreadTraceImpl()
705 uptr GetThreadTrace(int tid) { in GetThreadTrace()
725 uptr GetThreadTraceHeaderImpl(int tid) { in GetThreadTraceHeaderImpl()
726 uptr p = Mapping::kTraceMemBeg + (uptr)tid * kTotalTraceSize in GetThreadTraceHeaderImpl()
733 uptr GetThreadTraceHeader(int tid) { in GetThreadTraceHeader()
756 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive);
760 bool IsGlobalVar(uptr addr);