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

/linux-master/kernel/
H A Dscftorture.c125 static unsigned long scf_sel_totweight; variable
213 WARN_ON_ONCE(0 - 100000 * weight <= 100000 * scf_sel_totweight) ||
216 scf_sel_totweight += weight;
217 scfsp->scfs_weight = scf_sel_totweight;
233 w = (scfsp->scfs_weight - oldw) * 100000 / scf_sel_totweight;
245 unsigned long w = torture_random(trsp) % (scf_sel_totweight + 1);

Completed in 197 milliseconds