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