Searched refs:old_word (Results 1 – 3 of 3) sorted by relevance
37 uintptr_t old_word; in AtomicTestAndSetBit() local39 old_word = atomic_entry->LoadRelaxed(); in AtomicTestAndSetBit()41 if ((old_word & word_mask) != 0) { in AtomicTestAndSetBit()45 } while (!atomic_entry->CompareExchangeWeakSequentiallyConsistent(old_word, in AtomicTestAndSetBit()46 old_word | word_mask)); in AtomicTestAndSetBit()138 uintptr_t old_word = *address; in ModifyBit() local140 *address = old_word | word_mask; in ModifyBit()142 *address = old_word & ~word_mask; in ModifyBit()145 return (old_word & word_mask) != 0; in ModifyBit()
41 uintptr_t old_word; in AtomicTestAndSet() local43 old_word = atomic_entry->LoadRelaxed(); in AtomicTestAndSet()45 if ((old_word & mask) != 0) { in AtomicTestAndSet()49 } while (!atomic_entry->CompareExchangeWeakRelaxed(old_word, old_word | mask)); in AtomicTestAndSet()168 uintptr_t old_word = *address; in Modify() local175 if ((old_word & mask) == 0) { in Modify()176 *address = old_word | mask; in Modify()179 *address = old_word & ~mask; in Modify()182 return (old_word & mask) != 0; in Modify()
46 const uintptr_t old_word = cur_word | (static_cast<uintptr_t>(old_value) << shift_in_bits); in byte_cas()48 return word_atomic->CompareExchangeWeakRelaxed(old_word, new_word); in byte_cas()