Lines Matching refs:card_end
59 uint8_t* card_end = CardFromAddr(AlignUp(scan_end, kCardSize)); in Scan() local
61 CheckCardValid(card_end); in Scan()
65 while (!IsAligned<sizeof(intptr_t)>(card_cur) && card_cur < card_end) { in Scan()
77 uint8_t* aligned_end = card_end - in Scan()
78 (reinterpret_cast<uintptr_t>(card_end) & (sizeof(uintptr_t) - 1)); in Scan()
114 while (card_cur < card_end) { in Scan()
141 uint8_t* card_end = CardFromAddr(AlignUp(scan_end, kCardSize)); in ModifyCardsAtomic() local
143 CheckCardValid(card_end); in ModifyCardsAtomic()
146 while (!IsAligned<sizeof(intptr_t)>(card_cur) && card_cur < card_end) { in ModifyCardsAtomic()
159 while (!IsAligned<sizeof(intptr_t)>(card_end) && card_end > card_cur) { in ModifyCardsAtomic()
160 --card_end; in ModifyCardsAtomic()
163 expected = *card_end; in ModifyCardsAtomic()
165 } while (expected != new_value && UNLIKELY(!byte_cas(expected, new_value, card_end))); in ModifyCardsAtomic()
167 modified(card_end, expected, new_value); in ModifyCardsAtomic()
173 uintptr_t* word_end = reinterpret_cast<uintptr_t*>(card_end); in ModifyCardsAtomic()