Searched refs:RingMask (Results 1 – 2 of 2) sorted by relevance
81 static const uptr RingMask = RingSize - 1; variable105 RingPos = (RingPos + 1) & RingMask; in insert()108 RingEnd = (RingPos + 1) & RingMask; in insert()127 *RingPosPtr = (RingPos + 1) & RingMask; in find()131 RingPos = (RingPos + 1) & RingMask; in find()138 return atomic_load_relaxed(&Ring[RingPos & RingMask]);