Lines Matching refs:uptr
44 const uptr kMetaShadowBeg = 0x300000000000ull;
45 const uptr kMetaShadowEnd = 0x400000000000ull;
46 const uptr kTraceMemBeg = 0x600000000000ull;
47 const uptr kTraceMemEnd = 0x620000000000ull;
48 const uptr kShadowBeg = 0x020000000000ull;
49 const uptr kShadowEnd = 0x100000000000ull;
50 const uptr kHeapMemBeg = 0x7d0000000000ull;
51 const uptr kHeapMemEnd = 0x7e0000000000ull;
52 const uptr kLoAppMemBeg = 0x000000001000ull;
53 const uptr kLoAppMemEnd = 0x010000000000ull;
54 const uptr kHiAppMemBeg = 0x7e8000000000ull;
55 const uptr kHiAppMemEnd = 0x800000000000ull;
56 const uptr kAppMemMsk = 0x7c0000000000ull;
57 const uptr kAppMemXor = 0x020000000000ull;
58 const uptr kVdsoBeg = 0xf000000000000000ull;
74 const uptr kMetaShadowBeg = 0x3000000000ull;
75 const uptr kMetaShadowEnd = 0x4000000000ull;
76 const uptr kTraceMemBeg = 0x6000000000ull;
77 const uptr kTraceMemEnd = 0x6200000000ull;
78 const uptr kShadowBeg = 0x1400000000ull;
79 const uptr kShadowEnd = 0x2400000000ull;
80 const uptr kHeapMemBeg = 0xfe00000000ull;
81 const uptr kHeapMemEnd = 0xff00000000ull;
82 const uptr kLoAppMemBeg = 0x0100000000ull;
83 const uptr kLoAppMemEnd = 0x0200000000ull;
84 const uptr kHiAppMemBeg = 0xff80000000ull;
85 const uptr kHiAppMemEnd = 0xffffffffffull;
86 const uptr kAppMemMsk = 0xfc00000000ull;
87 const uptr kAppMemXor = 0x0400000000ull;
88 const uptr kVdsoBeg = 0xfffff00000ull;
92 bool IsAppMem(uptr mem) { in IsAppMem()
99 bool IsShadowMem(uptr mem) { in IsShadowMem()
104 bool IsMetaMem(uptr mem) { in IsMetaMem()
109 uptr MemToShadow(uptr x) { in MemToShadow()
116 u32 *MemToMeta(uptr x) { in MemToMeta()
123 uptr ShadowToMem(uptr s) { in ShadowToMem()
131 static USED uptr UserRegions[] = {
152 const uptr kMetaShadowBeg = 0x300000000000ull;
153 const uptr kMetaShadowEnd = 0x400000000000ull;
154 const uptr kTraceMemBeg = 0x600000000000ull;
155 const uptr kTraceMemEnd = 0x620000000000ull;
156 const uptr kShadowBeg = 0x200000000000ull;
157 const uptr kShadowEnd = 0x238000000000ull;
158 const uptr kAppMemBeg = 0x000000001000ull;
159 const uptr kAppMemEnd = 0x00e000000000ull;
162 bool IsAppMem(uptr mem) {
167 bool IsShadowMem(uptr mem) {
172 bool IsMetaMem(uptr mem) {
177 uptr MemToShadow(uptr x) {
183 u32 *MemToMeta(uptr x) {
190 uptr ShadowToMem(uptr s) {
195 static USED uptr UserRegions[] = {
213 const uptr kMetaShadowBeg = 0x076000000000ull;
214 const uptr kMetaShadowEnd = 0x07d000000000ull;
215 const uptr kTraceMemBeg = 0x056000000000ull;
216 const uptr kTraceMemEnd = 0x076000000000ull;
217 const uptr kShadowBeg = 0x010000000000ull;
218 const uptr kShadowEnd = 0x050000000000ull;
219 const uptr kAppMemBeg = 0x000000001000ull;
220 const uptr kAppMemEnd = 0x00e000000000ull;
223 bool IsAppMem(uptr mem) {
228 bool IsShadowMem(uptr mem) {
233 bool IsMetaMem(uptr mem) {
238 uptr MemToShadow(uptr x) {
244 u32 *MemToMeta(uptr x) {
251 uptr ShadowToMem(uptr s) {
257 static USED uptr UserRegions[] = {
267 const uptr kTotalTraceSize = (kTraceSize * sizeof(Event) + sizeof(Trace)
270 uptr ALWAYS_INLINE GetThreadTrace(int tid) { in GetThreadTrace()
271 uptr p = kTraceMemBeg + (uptr)tid * kTotalTraceSize; in GetThreadTrace()
276 uptr ALWAYS_INLINE GetThreadTraceHeader(int tid) { in GetThreadTraceHeader()
277 uptr p = kTraceMemBeg + (uptr)tid * kTotalTraceSize in GetThreadTraceHeader()
285 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive);
289 bool IsGlobalVar(uptr addr);