Searched refs:head_ (Results 1 – 9 of 9) sorted by relevance
| /rocksdb-6.9/utilities/persistent_cache/ |
| D | lrulist.h | 40 assert(!head_); in ~LRUList() 52 assert((!head_ && !tail_) || (head_ && tail_)); in Push() 53 assert(!head_ || !head_->prev_); in Push() 56 t->next_ = head_; in Push() 57 if (head_) { in Push() 61 head_ = t; in Push() 81 T* t = head_; in Pop() 133 head_ = head_->next_; in UnlinkImpl() 152 assert((!head_ && !tail_) || (head_ && tail_)); in PushBackImpl() 153 assert(!head_ || !head_->prev_); in PushBackImpl() [all …]
|
| /rocksdb-6.9/memtable/ |
| D | skiplist.h | 124 Node* const head_; variable 245 if (node_ == list_->head_) { 269 node_ = list_->head_->Next(0); 275 if (node_ == list_->head_) { 308 Node* x = head_; 336 Node* x = head_; 366 Node* x = head_; 387 Node* x = head_; 429 head_->SetNext(i, nullptr); 430 prev_[i] = head_; [all …]
|
| D | inlineskiplist.h | 202 Node* const head_; variable 393 if (node_ == list_->head_) { 417 node_ = list_->head_->Next(0); 423 if (node_ == list_->head_) { 448 assert(n != head_); 456 assert(n != head_); 468 Node* x = head_; 544 Node* x = head_; 565 Node* x = head_; 608 head_->SetNext(i, nullptr); [all …]
|
| D | hash_linklist_rep.cc | 330 head_(head), in LinkListIterator() 363 node_ = hash_link_list_rep_->FindGreaterOrEqualInBucket(head_, in Seek() 393 head_ = head; in Reset() 399 Node* head_; member in ROCKSDB_NAMESPACE::__anoncfd1c5190111::HashLinkListRep::LinkListIterator 403 node_ = head_; in SeekToHead()
|
| /rocksdb-6.9/util/ |
| D | thread_local.cc | 136 ThreadData head_; member in ROCKSDB_NAMESPACE::ThreadLocalPtr::StaticMeta 310 head_(this), in StaticMeta() 342 head_.next = &head_; in StaticMeta() 343 head_.prev = &head_; in StaticMeta() 354 d->next = &head_; in AddThreadData() 355 d->prev = head_.prev; in AddThreadData() 356 head_.prev->next = d; in AddThreadData() 357 head_.prev = d; in AddThreadData() 442 for (ThreadData* t = head_.next; t != &head_; t = t->next) { in Scrape() 455 for (ThreadData* t = head_.next; t != &head_; t = t->next) { in Fold() [all …]
|
| /rocksdb-6.9/db/ |
| D | flush_scheduler.cc | 25 Node* node = new Node{cfd, head_.load(std::memory_order_relaxed)}; in ScheduleWork() 26 while (!head_.compare_exchange_strong( in ScheduleWork() 38 if (head_.load(std::memory_order_relaxed) == nullptr) { in TakeNextColumnFamily() 43 Node* node = head_.load(std::memory_order_relaxed); in TakeNextColumnFamily() 44 head_.store(node->next, std::memory_order_relaxed); in TakeNextColumnFamily() 68 auto rv = head_.load(std::memory_order_relaxed) == nullptr; in Empty() 83 assert(head_.load(std::memory_order_relaxed) == nullptr); in Clear()
|
| D | flush_scheduler.h | 24 FlushScheduler() : head_(nullptr) {} in FlushScheduler() 47 std::atomic<Node*> head_; variable
|
| /rocksdb-6.9/third-party/folly/folly/synchronization/ |
| D | ParkingLot.h | 68 WaitNodeBase* head_; member 76 assert(head_); in push_back() 82 head_ = node; in push_back() 88 if (head_ == node && tail_ == node) { in erase() 91 head_ = nullptr; in erase() 93 } else if (head_ == node) { in erase() 96 head_ = node->next_; in erase() 97 head_->prev_ = nullptr; in erase() 298 for (auto iter = bucket.head_; iter != nullptr;) { in unpark()
|
| /rocksdb-6.9/cache/ |
| D | clock_cache.cc | 362 size_t head_; member in ROCKSDB_NAMESPACE::__anon9da5ff120111::ClockCacheShard 384 : head_(0), usage_(0), pinned_usage_(0), strict_capacity_limit_(false) {} in ClockCacheShard() 529 size_t new_head = head_; in EvictFromCache() 537 if (new_head == head_) { in EvictFromCache() 545 head_ = new_head; in EvictFromCache()
|