Searched refs:old_seed (Results 1 - 1 of 1) sorted by relevance

/fuchsia/zircon/kernel/lib/libc/
H A Drand.c21 uint64_t old_seed = atomic_load_u64_relaxed(&randseed); local
22 uint64_t new_seed = 6364136223846793005ULL * old_seed + 1;
23 if (atomic_cmpxchg_u64_relaxed(&randseed, &old_seed, new_seed)) {

Completed in 70 milliseconds