Home
last modified time | relevance | path

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

/Linux-v6.1/kernel/
Dscftorture.c125 static unsigned long scf_sel_totweight; variable
212 WARN_ON_ONCE(0 - 100000 * weight <= 100000 * scf_sel_totweight) || in scf_sel_add()
215 scf_sel_totweight += weight; in scf_sel_add()
216 scfsp->scfs_weight = scf_sel_totweight; in scf_sel_add()
232 w = (scfsp->scfs_weight - oldw) * 100000 / scf_sel_totweight; in scf_sel_dump()
244 unsigned long w = torture_random(trsp) % (scf_sel_totweight + 1); in scf_sel_rand()