Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_lfstack.h26 struct LFStack { struct
27 void Clear() { in Clear()
31 bool Empty() const { in Empty()
35 void Push(T *p) { in Push()
47 T *Pop() { in Pop()
63 static const int kCounterBits = FIRST_32_SECOND_64(32, 17);
64 static const u64 kPtrMask = ((u64)-1) >> kCounterBits;
65 static const u64 kCounterMask = ~kPtrMask;
66 static const u64 kCounterInc = kPtrMask + 1;
68 atomic_uint64_t head_;