Lines Matching full:fdctx
43 static FdContext fdctx;
66 CHECK_NE(s, &fdctx.globsync);
67 CHECK_NE(s, &fdctx.filesync);
68 CHECK_NE(s, &fdctx.socksync);
77 atomic_uintptr_t *pl1 = &fdctx.tab[fd / kTableSizeL2];
109 d->sync = &fdctx.globsync;
123 atomic_store(&fdctx.globsync.rc, (u64)-1, memory_order_relaxed);
124 atomic_store(&fdctx.filesync.rc, (u64)-1, memory_order_relaxed);
125 atomic_store(&fdctx.socksync.rc, (u64)-1, memory_order_relaxed);
133 FdDesc *tab = (FdDesc*)atomic_load(&fdctx.tab[l1], memory_order_relaxed);
145 FdDesc *tab = (FdDesc*)atomic_load(&fdctx.tab[l1], memory_order_relaxed);
222 init(thr, pc, fd, &fdctx.filesync);
277 init(thr, pc, fd, &fdctx.socksync);
285 Acquire(thr, pc, (uptr)&fdctx.connectsync);
286 init(thr, pc, newfd, &fdctx.socksync);
294 Release(thr, pc, (uptr)&fdctx.connectsync);
301 init(thr, pc, fd, &fdctx.socksync);