Home
last modified time | relevance | path

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

/linux-6.12.1/net/sched/
Dsch_netem.c187 static u32 get_crandom(struct crndstate *state, struct prng *p) in get_crandom() function
299 return q->loss && q->loss >= get_crandom(&q->loss_cor, &q->prng); in loss_event()
338 rnd = get_crandom(state, prng); in tabledist()
458 if (q->duplicate && q->duplicate >= get_crandom(&q->dup_cor, &q->prng)) in netem_enqueue()
493 if (q->corrupt && q->corrupt >= get_crandom(&q->corrupt_cor, &q->prng)) { in netem_enqueue()
549 q->reorder < get_crandom(&q->reorder_cor, &q->prng)) { in netem_enqueue()