Home
last modified time | relevance | path

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

/Linux-v5.15/kernel/
Dscftorture.c129 static unsigned long scf_sel_totweight; variable
216 WARN_ON_ONCE(0 - 100000 * weight <= 100000 * scf_sel_totweight) || in scf_sel_add()
219 scf_sel_totweight += weight; in scf_sel_add()
220 scfsp->scfs_weight = scf_sel_totweight; in scf_sel_add()
236 w = (scfsp->scfs_weight - oldw) * 100000 / scf_sel_totweight; in scf_sel_dump()
248 unsigned long w = torture_random(trsp) % (scf_sel_totweight + 1); in scf_sel_rand()