tsan_fd.cc | 28 struct FdDesc { 71 static FdDesc *fddesc(ThreadState *thr, uptr pc, int fd) { function in namespace:__tsan 76 uptr size = kTableSizeL2 * sizeof(FdDesc); 80 MemoryResetRange(thr, (uptr)&fddesc, (uptr)p, size); 86 return &((FdDesc*)l1)[fd % kTableSizeL2]; // NOLINT 91 FdDesc *d = fddesc(thr, pc, fd); 123 FdDesc *tab = (FdDesc*)atomic_load(&fdctx.tab[l1], memory_order_relaxed) [all...] |