reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
73 static FdDesc *fddesc(ThreadState *thr, uptr pc, int fd) { 79 uptr size = kTableSizeL2 * sizeof(FdDesc); 89 FdDesc *fds = reinterpret_cast<FdDesc *>(l1); 96 FdDesc *d = fddesc(thr, pc, fd); 133 FdDesc *tab = (FdDesc*)atomic_load(&fdctx.tab[l1], memory_order_relaxed); 137 FdDesc *d = &tab[l2]; 145 FdDesc *tab = (FdDesc*)atomic_load(&fdctx.tab[l1], memory_order_relaxed); 149 int l2 = (addr - (uptr)tab) / sizeof(FdDesc); 150 FdDesc *d = &tab[l2]; 163 FdDesc *d = fddesc(thr, pc, fd); 174 FdDesc *d = fddesc(thr, pc, fd); 186 FdDesc *d = fddesc(thr, pc, fd); 194 FdDesc *d = fddesc(thr, pc, fd); 230 FdDesc *od = fddesc(thr, pc, oldfd);