Lines Matching refs:state1
68 uint32_t ret, state0, state1; in prng_lg_range_u32() local
77 state1 = prng_state_next_u32(state0); in prng_lg_range_u32()
79 state1, ATOMIC_RELAXED, ATOMIC_RELAXED)); in prng_lg_range_u32()
81 state1 = prng_state_next_u32(state0); in prng_lg_range_u32()
82 atomic_store_u32(state, state1, ATOMIC_RELAXED); in prng_lg_range_u32()
84 ret = state1 >> (32 - lg_range); in prng_lg_range_u32()
91 uint64_t ret, state1; in prng_lg_range_u64() local
96 state1 = prng_state_next_u64(*state); in prng_lg_range_u64()
97 *state = state1; in prng_lg_range_u64()
98 ret = state1 >> (64 - lg_range); in prng_lg_range_u64()
105 size_t ret, state0, state1; in prng_lg_range_zu() local
114 state1 = prng_state_next_zu(state0); in prng_lg_range_zu()
116 state1, ATOMIC_RELAXED, ATOMIC_RELAXED)); in prng_lg_range_zu()
118 state1 = prng_state_next_zu(state0); in prng_lg_range_zu()
119 atomic_store_zu(state, state1, ATOMIC_RELAXED); in prng_lg_range_zu()
121 ret = state1 >> ((ZU(1) << (3 + LG_SIZEOF_PTR)) - lg_range); in prng_lg_range_zu()