Searched refs:current_head (Results 1 – 3 of 3) sorted by relevance
250 uint64_t current_head, old_head; in util_sparse_array_free_list_push() local253 current_head = old_head; in util_sparse_array_free_list_push()254 p_atomic_set(last_next, (uint32_t)current_head); /* Index is the bottom 32 bits */ in util_sparse_array_free_list_push()255 uint64_t new_head = free_list_head(current_head, items[0]); in util_sparse_array_free_list_push()256 old_head = p_atomic_cmpxchg(&fl->head, current_head, new_head); in util_sparse_array_free_list_push()257 } while (old_head != current_head); in util_sparse_array_free_list_push()263 uint64_t current_head; in util_sparse_array_free_list_pop_idx() local265 current_head = p_atomic_read(&fl->head); in util_sparse_array_free_list_pop_idx()267 if ((uint32_t)current_head == fl->sentinel) in util_sparse_array_free_list_pop_idx()270 uint32_t head_idx = current_head; /* Index is the bottom 32 bits */ in util_sparse_array_free_list_pop_idx()[all …]
49 subtle::AtomicWord current_head = subtle::NoBarrier_Load(bucket_ptr); in Insert() local52 subtle::NoBarrier_Store(&new_node->next, current_head); in Insert()53 expected_head = current_head; in Insert()54 current_head = subtle::Release_CompareAndSwap( in Insert()55 bucket_ptr, current_head, in Insert()57 } while (current_head != expected_head); in Insert()
136 CancellationManager* current_head = state_->first_child; in RegisterChild() local139 child->next_sibling_ = current_head; in RegisterChild()140 if (current_head) { in RegisterChild()141 current_head->prev_sibling_ = child; in RegisterChild()