Home
last modified time | relevance | path

Searched refs:fdctx (Results 1 – 1 of 1) sorted by relevance

/external/compiler-rt/lib/tsan/rtl/
Dtsan_fd.cc43 static FdContext fdctx; variable
60 CHECK_NE(s, &fdctx.globsync); in unref()
61 CHECK_NE(s, &fdctx.filesync); in unref()
62 CHECK_NE(s, &fdctx.socksync); in unref()
73 atomic_uintptr_t *pl1 = &fdctx.tab[fd / kTableSizeL2]; in fddesc()
103 d->sync = &fdctx.globsync; in init()
112 atomic_store(&fdctx.globsync.rc, (u64)-1, memory_order_relaxed); in FdInit()
113 atomic_store(&fdctx.filesync.rc, (u64)-1, memory_order_relaxed); in FdInit()
114 atomic_store(&fdctx.socksync.rc, (u64)-1, memory_order_relaxed); in FdInit()
122 FdDesc *tab = (FdDesc*)atomic_load(&fdctx.tab[l1], memory_order_relaxed); in FdOnFork()
[all …]