|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
projects/compiler-rt/lib/tsan/rtl/tsan_dense_alloc.h 57 UnmapOrDie(map_[i], kL2Size * sizeof(T));
74 T *Map(IndexT idx) {
95 T *map_[kL1Size];
111 T *batch = (T*)MmapOrDie(kL2Size * sizeof(T), name_);
111 T *batch = (T*)MmapOrDie(kL2Size * sizeof(T), name_);
115 new(batch + i) T;
projects/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cpp 233 SyncVar *s = ctx->metamap.GetIfExistsAndLock((uptr)a, false);
271 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, (uptr)a, true);
283 SyncVar *s = 0;
407 SyncVar *s = 0;
projects/compiler-rt/lib/tsan/rtl/tsan_rtl.h 594 void AddMutex(const SyncVar *s);
projects/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cpp 42 void DDMutexInit(ThreadState *thr, uptr pc, SyncVar *s) {
73 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true);
83 SyncVar *s = ctx->metamap.GetIfExistsAndLock(addr, true);
100 && s->owner_tid != SyncVar::kInvalidTid
123 SyncVar *s = ctx->metamap.GetIfExistsAndLock(addr, true);
145 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, false);
167 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true);
172 if (s->owner_tid == SyncVar::kInvalidTid) {
217 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true);
232 s->owner_tid = SyncVar::kInvalidTid;
259 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, false);
273 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, false);
278 if (s->owner_tid != SyncVar::kInvalidTid) {
313 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true);
317 if (s->owner_tid != SyncVar::kInvalidTid) {
344 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true);
347 if (s->owner_tid == SyncVar::kInvalidTid) {
362 s->owner_tid = SyncVar::kInvalidTid;
389 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true);
390 s->owner_tid = SyncVar::kInvalidTid;
397 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true);
407 SyncVar *s = ctx->metamap.GetIfExistsAndLock(addr, false);
436 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true);
448 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true);
projects/compiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp 263 void ScopedReportBase::AddMutex(const SyncVar *s) {
280 uptr addr = SyncVar::SplitId(id, &uid);
281 SyncVar *s = ctx->metamap.GetIfExistsAndLock(addr, true);
projects/compiler-rt/lib/tsan/rtl/tsan_sync.cpp 19 void DDMutexInit(ThreadState *thr, uptr pc, SyncVar *s);
102 SyncVar *s = sync_alloc_.Map(idx & ~kFlagMask);
191 SyncVar * s = sync_alloc_.Map(idx & ~kFlagMask);
196 SyncVar* MetaMap::GetOrCreateAndLock(ThreadState *thr, uptr pc,
201 SyncVar* MetaMap::GetIfExistsAndLock(uptr addr, bool write_lock) {
205 SyncVar* MetaMap::GetAndLock(ThreadState *thr, uptr pc,
210 SyncVar *mys = 0;
219 SyncVar * s = sync_alloc_.Map(idx & ~kFlagMask);
284 SyncVar *s = sync_alloc_.Map(idx & ~kFlagMask);
projects/compiler-rt/lib/tsan/rtl/tsan_sync.h 121 SyncVar* GetOrCreateAndLock(ThreadState *thr, uptr pc,
123 SyncVar* GetIfExistsAndLock(uptr addr, bool write_lock);
134 typedef DenseSlabAlloc<SyncVar, 1<<16, 1<<10> SyncAlloc;
139 SyncVar* GetAndLock(ThreadState *thr, uptr pc, uptr addr, bool write_lock,