Home
last modified time | relevance | path

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

/freebsd/sys/kern/
H A Dkern_fail.c168 int fe_prob; /**< likelihood of firing in millionths */ member
282 fp_entry->fe_prob = PROB_MAX; in fail_point_entry_new()
566 if (ent->fe_prob < PROB_MAX && in fail_point_eval_nontrivial()
567 ent->fe_prob < random() % PROB_MAX) in fail_point_eval_nontrivial()
701 if (ent->fe_prob < PROB_MAX) { in fail_point_get()
702 int decimal = ent->fe_prob % (PROB_MAX / 100); in fail_point_get()
703 int units = ent->fe_prob / (PROB_MAX / 100); in fail_point_get()
794 if (ent->fe_prob == 0 || ent->fe_count == 0) { in fail_point_set()
1024 ent->fe_prob = units * (PROB_MAX / 100) + decimal; in parse_term()
1025 if (ent->fe_prob > PROB_MAX) in parse_term()
[all …]