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