Searched refs:rand (Results 1 – 20 of 20) sorted by relevance
5785 uint32_t rand; in mgmt_rx_reo_sim_get_random_bool() local5793 get_random_bytes(&rand, sizeof(rand)); in mgmt_rx_reo_sim_get_random_bool()5795 return ((rand % 100) < percentage_true); in mgmt_rx_reo_sim_get_random_bool()5810 uint32_t rand; in mgmt_rx_reo_sim_get_random_unsigned_int() local5812 get_random_bytes(&rand, sizeof(rand)); in mgmt_rx_reo_sim_get_random_unsigned_int()5814 return (rand % max); in mgmt_rx_reo_sim_get_random_unsigned_int()