Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_fd.cpp42 static FdContext fdctx; variable
65 CHECK_NE(s, &fdctx.globsync); in unref()
66 CHECK_NE(s, &fdctx.filesync); in unref()
67 CHECK_NE(s, &fdctx.socksync); in unref()
109 d->sync = &fdctx.globsync; in init()
222 init(thr, pc, fd, &fdctx.filesync); in FdFileCreate()
277 init(thr, pc, fd, &fdctx.socksync); in FdSocketCreate()
285 Acquire(thr, pc, (uptr)&fdctx.connectsync); in FdSocketAccept()
286 init(thr, pc, newfd, &fdctx.socksync); in FdSocketAccept()
294 Release(thr, pc, (uptr)&fdctx.connectsync); in FdSocketConnecting()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_fd.cpp48 static FdContext fdctx; variable
71 CHECK_NE(s, &fdctx.globsync); in unref()
72 CHECK_NE(s, &fdctx.filesync); in unref()
73 CHECK_NE(s, &fdctx.socksync); in unref()
119 d->sync = &fdctx.globsync; in init()
253 init(thr, pc, fd, &fdctx.filesync); in FdFileCreate()
332 init(thr, pc, fd, &fdctx.socksync); in FdSocketCreate()
340 Acquire(thr, pc, (uptr)&fdctx.connectsync); in FdSocketAccept()
341 init(thr, pc, newfd, &fdctx.socksync); in FdSocketAccept()
349 Release(thr, pc, (uptr)&fdctx.connectsync); in FdSocketConnecting()
[all …]