Searched refs:guest_random_u32 (Results 1 – 3 of 3) sorted by relevance
98 uint32_t guest_random_u32(struct guest_random_state *state);103 return (guest_random_u32(state) % 100) < percent; in __guest_random_bool()113 return ((uint64_t)guest_random_u32(state) << 32) | guest_random_u32(state); in guest_random_u64()
32 uint32_t guest_random_u32(struct guest_random_state *state) in guest_random_u32() function
72 page = guest_random_u32(&rand_state) % pages; in memstress_guest_code()