Home
last modified time | relevance | path

Searched defs:LFStack (Results 1 – 1 of 1) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_lfstack.h27 struct LFStack { struct
28 void Clear() { in Clear()
32 bool Empty() const { in Empty()
36 void Push(T *p) { in Push()
48 T *Pop() { in Pop()
64 static const int kCounterBits = FIRST_32_SECOND_64(32, 17);
65 static const u64 kPtrMask = ((u64)-1) >> kCounterBits;
66 static const u64 kCounterMask = ~kPtrMask;
67 static const u64 kCounterInc = kPtrMask + 1;
69 atomic_uint64_t head_;