Searched refs:guest_random_state (Results 1 – 4 of 4) sorted by relevance
90 struct guest_random_state { struct95 extern struct guest_random_state guest_rng; argument97 struct guest_random_state new_guest_random_state(uint32_t seed);98 uint32_t guest_random_u32(struct guest_random_state *state);100 static inline bool __guest_random_bool(struct guest_random_state *state, in __guest_random_bool()106 static inline bool guest_random_bool(struct guest_random_state *state) in guest_random_bool()111 static inline uint64_t guest_random_u64(struct guest_random_state *state) in guest_random_u64()
26 struct guest_random_state new_guest_random_state(uint32_t seed) in new_guest_random_state()28 struct guest_random_state s = {.seed = seed}; in new_guest_random_state()32 uint32_t guest_random_u32(struct guest_random_state *state) in guest_random_u32()
51 struct guest_random_state rand_state; in memstress_guest_code()
23 struct guest_random_state guest_rng;