Home | History | Annotate | Download | only in rtl

Lines Matching full:fddesc

28 struct FdDesc {
74 static FdDesc *fddesc(ThreadState *thr, uptr pc, int fd) {
80 uptr size = kTableSizeL2 * sizeof(FdDesc);
84 MemoryResetRange(thr, (uptr)&fddesc, (uptr)p, size);
90 return &((FdDesc*)l1)[fd % kTableSizeL2]; // NOLINT
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);