Lines Matching refs:Ring
48 // into the Tab array, which stores an index into the Ring array where the
49 // stack traces are stored. As the name implies, Ring is a ring buffer, so a
52 // Each stack trace in Ring is prefixed by a stack trace marker consisting of
59 // Ring arrays, but find() is resilient to races in the sense that, barring
82 atomic_u64 Ring[RingSize];
95 u64 Entry = atomic_load_relaxed(&Ring[RingPos]);
103 atomic_store_relaxed(&Ring[RingPos], Id);
106 atomic_store_relaxed(&Ring[RingPos], *I);
120 u64 Entry = atomic_load_relaxed(&Ring[RingPos]);
132 B.add(u32(atomic_load_relaxed(&Ring[RingPos])) >> 2);
138 return atomic_load_relaxed(&Ring[RingPos & RingMask]);