Home
last modified time | relevance | path

Searched refs:guest_random_u32 (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/tools/testing/selftests/kvm/include/
Dtest_util.h98 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()
/linux-6.12.1/tools/testing/selftests/kvm/lib/
Dtest_util.c32 uint32_t guest_random_u32(struct guest_random_state *state) in guest_random_u32() function
Dmemstress.c72 page = guest_random_u32(&rand_state) % pages; in memstress_guest_code()