Searched refs:one_in_chance (Results 1 – 1 of 1) sorted by relevance
65 static int one_in_chance(int x) in one_in_chance() function74 if (one_in_chance(3)) { in mess_with_tm()79 if (one_in_chance(2)) in mess_with_tm()84 if (one_in_chance(20)) in mess_with_tm()101 if (one_in_chance(3)) { in trap_signal_handler()103 } else if (one_in_chance(2)) { in trap_signal_handler()105 } else if (one_in_chance(2)) { in trap_signal_handler()118 if (one_in_chance(4)) { in trap_signal_handler()121 if (one_in_chance(2)) { in trap_signal_handler()124 } else if (one_in_chance(2)) { in trap_signal_handler()[all …]