Searched refs:FdDesc (Results 1 – 1 of 1) sorted by relevance
28 struct FdDesc { struct74 static FdDesc *fddesc(ThreadState *thr, uptr pc, int fd) { in fddesc()80 uptr size = kTableSizeL2 * sizeof(FdDesc); in fddesc()90 return &((FdDesc*)l1)[fd % kTableSizeL2]; // NOLINT in fddesc()96 FdDesc *d = fddesc(thr, pc, fd); in init()133 FdDesc *tab = (FdDesc*)atomic_load(&fdctx.tab[l1], memory_order_relaxed); in FdOnFork()137 FdDesc *d = &tab[l2]; in FdOnFork()145 FdDesc *tab = (FdDesc*)atomic_load(&fdctx.tab[l1], memory_order_relaxed); in FdLocation()149 int l2 = (addr - (uptr)tab) / sizeof(FdDesc); in FdLocation()150 FdDesc *d = &tab[l2]; in FdLocation()[all …]