Searched refs:out_of (Results 1 – 1 of 1) sorted by relevance
2468 static inline int chance(unsigned int n, unsigned int out_of) in chance() argument2470 return !!((prandom_u32() % out_of) + 1 <= n); in chance()