Lines Matching refs:BV
36 template <class BV>
70 // lock_id < BV::kSize, can cast to a smaller int.
109 const BV &getLocks(uptr current_epoch) const {
118 BV bv_;
137 template <class BV>
140 typedef BV BitVector;
199 void ensureCurrentEpoch(DeadlockDetectorTLS<BV> *dtls) {
206 bool onLockBefore(DeadlockDetectorTLS<BV> *dtls, uptr cur_node) {
212 u32 findLockContext(DeadlockDetectorTLS<BV> *dtls, uptr node) {
217 void onLockAfter(DeadlockDetectorTLS<BV> *dtls, uptr cur_node, u32 stk = 0) {
225 bool hasAllEdges(DeadlockDetectorTLS<BV> *dtls, uptr cur_node) {
244 uptr addEdges(DeadlockDetectorTLS<BV> *dtls, uptr cur_node, u32 stk,
281 bool onLock(DeadlockDetectorTLS<BV> *dtls, uptr cur_node, u32 stk = 0) {
294 bool onTryLock(DeadlockDetectorTLS<BV> *dtls, uptr cur_node, u32 stk = 0) {
304 bool onFirstLock(DeadlockDetectorTLS<BV> *dtls, uptr node, u32 stk = 0) {
316 uptr findPathToLock(DeadlockDetectorTLS<BV> *dtls, uptr cur_node, uptr *path,
331 void onUnlock(DeadlockDetectorTLS<BV> *dtls, uptr node) {
340 bool onLockFast(DeadlockDetectorTLS<BV> *dtls, uptr node, u32 stk = 0) {
348 bool isHeld(DeadlockDetectorTLS<BV> *dtls, uptr node) const {
405 BV available_nodes_;
406 BV recycled_nodes_;
407 BV tmp_bv_;
408 BVGraph<BV> g_;
409 uptr data_[BV::kSize];
410 Edge edges_[BV::kSize * 32];