Lines Matching refs:uptr

74 static const uptr kLinuxAppMemBeg = 0x000000000000ULL;
75 static const uptr kLinuxAppMemEnd = 0x04dfffffffffULL;
77 static const uptr kLinuxShadowMsk = 0x010000000000ULL;
78 static const uptr kMetaShadow = 0x076000000000ULL;
79 static const uptr kMetaSize = 0x007000000000ULL;
81 static const uptr kLinuxShadowMsk = 0x200000000000ULL;
82 static const uptr kMetaShadow = 0x300000000000ULL;
83 static const uptr kMetaSize = 0x100000000000ULL;
86 static const uptr kMetaShadow = 0x300000000000ULL;
87 static const uptr kMetaSize = 0x100000000000ULL;
92 static const uptr kLinuxAppMemBeg = 0x290000000000ULL;
93 static const uptr kLinuxAppMemEnd = 0x7fffffffffffULL;
94 static const uptr kAppMemGapBeg = 0x2c0000000000ULL;
95 static const uptr kAppMemGapEnd = 0x7d0000000000ULL;
97 static const uptr kLinuxAppMemBeg = 0x7cf000000000ULL;
98 static const uptr kLinuxAppMemEnd = 0x7fffffffffffULL;
102 static const uptr kLinuxAppMemMsk = 0x7c0000000000ULL;
105 const uptr kTraceMemBegin = 0x056000000000ULL;
107 const uptr kTraceMemBegin = 0x600000000000ULL;
109 const uptr kTraceMemSize = 0x020000000000ULL;
114 ((((uptr)addr) & ~(kLinuxAppMemMsk | (kShadowCell - 1))) * kShadowCnt)
116 (u32*)(((((uptr)addr) & ~(kLinuxAppMemMsk | (kMetaShadowCell - 1))) \
120 (((((uptr)addr) & ~(kShadowCell - 1)) * kShadowCnt) | kLinuxShadowMsk)
122 (u32*)(((((uptr)addr) & ~(kMetaShadowCell - 1)) \
126 static const uptr kLinuxShadowBeg = MemToShadow(kLinuxAppMemBeg);
127 static const uptr kLinuxShadowEnd =
130 static inline bool IsAppMem(uptr mem) {
141 static inline bool IsShadowMem(uptr mem) {
145 static inline uptr ShadowToMem(uptr shadow) {
157 static inline uptr AlternativeAddress(uptr addr) {
166 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive);
167 uptr GetRSS();
174 const uptr kTotalTraceSize = (kTraceSize * sizeof(Event) + sizeof(Trace)
177 uptr ALWAYS_INLINE GetThreadTrace(int tid) {
178 uptr p = kTraceMemBegin + (uptr)tid * kTotalTraceSize;
183 uptr ALWAYS_INLINE GetThreadTraceHeader(int tid) {
184 uptr p = kTraceMemBegin + (uptr)tid * kTotalTraceSize
195 bool IsGlobalVar(uptr addr);