Lines Matching refs:scfsp

205 	struct scf_selector *scfsp = &scf_sel_array[scf_sel_array_len];  in scf_sel_add()  local
216 scfsp->scfs_weight = scf_sel_totweight; in scf_sel_add()
217 scfsp->scfs_prim = prim; in scf_sel_add()
218 scfsp->scfs_wait = wait; in scf_sel_add()
227 struct scf_selector *scfsp; in scf_sel_dump() local
231 scfsp = &scf_sel_array[i]; in scf_sel_dump()
232 w = (scfsp->scfs_weight - oldw) * 100000 / scf_sel_totweight; in scf_sel_dump()
234 scf_prim_name[scfsp->scfs_prim], in scf_sel_dump()
235 scfsp->scfs_wait ? "wait" : "nowait"); in scf_sel_dump()
236 oldw = scfsp->scfs_weight; in scf_sel_dump()
318 struct scf_selector *scfsp = scf_sel_rand(trsp); in scftorture_invoke_one() local
324 if (scfsp->scfs_prim == SCF_PRIM_SINGLE || scfsp->scfs_wait) { in scftorture_invoke_one()
330 scfcp->scfc_wait = scfsp->scfs_wait; in scftorture_invoke_one()
335 switch (scfsp->scfs_prim) { in scftorture_invoke_one()
346 if (scfsp->scfs_wait) in scftorture_invoke_one()
355 ret = smp_call_function_single(cpu, scf_handler_1, (void *)scfcp, scfsp->scfs_wait); in scftorture_invoke_one()
357 if (scfsp->scfs_wait) in scftorture_invoke_one()
394 if (scfsp->scfs_wait) in scftorture_invoke_one()
402 smp_call_function_many(cpu_online_mask, scf_handler, scfcp, scfsp->scfs_wait); in scftorture_invoke_one()
405 if (scfsp->scfs_wait) in scftorture_invoke_one()
413 smp_call_function(scf_handler, scfcp, scfsp->scfs_wait); in scftorture_invoke_one()
420 if (scfcp && scfsp->scfs_wait) { in scftorture_invoke_one()
421 if (WARN_ON_ONCE((num_online_cpus() > 1 || scfsp->scfs_prim == SCF_PRIM_SINGLE) && in scftorture_invoke_one()
423 pr_warn("%s: Memory-ordering failure, scfs_prim: %d.\n", __func__, scfsp->scfs_prim); in scftorture_invoke_one()