Lines Matching refs:head
55 static void DeleteNodesForIsolate(Isolate* isolate, FutexWaitListNode** head,
57 // For updating head & tail once we've iterated all nodes.
60 auto node = *head;
73 *head = new_head;
80 // list, it must be |head|, and if it's the last node, it must be |tail|.
81 void VerifyNode(FutexWaitListNode* node, FutexWaitListNode* head,
83 // Returns true if |node| is on the linked list starting with |head|.
84 static bool NodeIsOnList(FutexWaitListNode* node, FutexWaitListNode* head);
90 FutexWaitListNode* head;
218 DCHECK(NodeIsOnList(node, it->second.head));
223 DCHECK_EQ(node, it->second.head);
224 it->second.head = node->next_;
669 FutexWaitListNode* node = it->second.head;
829 node = it->second.head;
887 FutexWaitListNode*& head = it->second.head;
889 FutexWaitList::DeleteNodesForIsolate(isolate, &head, &tail);
890 // head and tail are either both nullptr or both non-nullptr.
891 DCHECK_EQ(head == nullptr, tail == nullptr);
892 if (head == nullptr) {
904 auto node = it->second.head;
931 FutexWaitListNode* node = it->second.head;
950 FutexWaitListNode* node = it.second.head;
972 FutexWaitListNode* node = it.second.head;
988 void FutexWaitList::VerifyNode(FutexWaitListNode* node, FutexWaitListNode* head,
998 DCHECK_NE(node, head);
1001 DCHECK_EQ(node, head);
1008 DCHECK(NodeIsOnList(node, head));
1015 FutexWaitListNode* node = it.second.head;
1017 VerifyNode(node, it.second.head, it.second.tail);
1023 auto node = it.second.head;
1025 VerifyNode(node, it.second.head, it.second.tail);
1034 FutexWaitListNode* head) {
1035 auto n = head;