Lines Matching refs:FdSync
23 struct FdSync { struct
28 FdSync *sync;
36 FdSync globsync;
37 FdSync filesync;
38 FdSync socksync;
49 static FdSync *allocsync(ThreadState *thr, uptr pc) { in allocsync()
50 FdSync *s = (FdSync*)user_alloc_internal(thr, pc, sizeof(FdSync), in allocsync()
56 static FdSync *ref(FdSync *s) { in ref()
62 static void unref(ThreadState *thr, uptr pc, FdSync *s) { in unref()
94 static void init(ThreadState *thr, uptr pc, int fd, FdSync *s, in init()
164 FdSync *s = d->sync; in FdAcquire()
175 FdSync *s = d->sync; in FdRelease()
238 FdSync *s = allocsync(thr, pc); in FdPipeCreate()