Searched refs:target_old (Results 1 – 1 of 1) sorted by relevance
2346 uint16_t target_old, target_new; in atomic_add_safe_u16() local2349 target_old = atomic_get(target); in atomic_add_safe_u16()2350 if (u16_add_overflow(target_old, addition, &target_new)) { in atomic_add_safe_u16()2353 } while (!atomic_cas(target, target_old, target_new)); in atomic_add_safe_u16()