Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/kernel/
H A Dscftorture.c118 static unsigned long scf_sel_totweight; variable
198 WARN_ON_ONCE(0 - 100000 * weight <= 100000 * scf_sel_totweight) || in scf_sel_add()
201 scf_sel_totweight += weight; in scf_sel_add()
202 scfsp->scfs_weight = scf_sel_totweight; in scf_sel_add()
218 w = (scfsp->scfs_weight - oldw) * 100000 / scf_sel_totweight; in scf_sel_dump()
230 unsigned long w = torture_random(trsp) % (scf_sel_totweight + 1); in scf_sel_rand()