Lines Matching refs:RingPos
94 u32 RingPos = atomic_load_relaxed(&Tab[Pos]); in insert() local
95 u64 Entry = atomic_load_relaxed(&Ring[RingPos]); in insert()
101 RingPos = RingEnd; in insert()
102 atomic_store_relaxed(&Tab[Pos], RingPos); in insert()
103 atomic_store_relaxed(&Ring[RingPos], Id); in insert()
105 RingPos = (RingPos + 1) & RingMask; in insert()
106 atomic_store_relaxed(&Ring[RingPos], *I); in insert()
108 RingEnd = (RingPos + 1) & RingMask; in insert()
117 u32 RingPos = atomic_load_relaxed(&Tab[Pos]); in find() local
118 if (RingPos >= RingSize) in find()
120 u64 Entry = atomic_load_relaxed(&Ring[RingPos]); in find()
127 *RingPosPtr = (RingPos + 1) & RingMask; in find()
131 RingPos = (RingPos + 1) & RingMask; in find()
132 B.add(u32(atomic_load_relaxed(&Ring[RingPos])) >> 2); in find()
137 u64 operator[](uptr RingPos) const {
138 return atomic_load_relaxed(&Ring[RingPos & RingMask]);