Lines Matching refs:scfsp

207 	struct scf_selector *scfsp = &scf_sel_array[scf_sel_array_len];  in scf_sel_add()  local
218 scfsp->scfs_weight = scf_sel_totweight; in scf_sel_add()
219 scfsp->scfs_prim = prim; in scf_sel_add()
220 scfsp->scfs_wait = wait; in scf_sel_add()
229 struct scf_selector *scfsp; in scf_sel_dump() local
233 scfsp = &scf_sel_array[i]; in scf_sel_dump()
234 w = (scfsp->scfs_weight - oldw) * 100000 / scf_sel_totweight; in scf_sel_dump()
236 scf_prim_name[scfsp->scfs_prim], in scf_sel_dump()
237 scfsp->scfs_wait ? "wait" : "nowait"); in scf_sel_dump()
238 oldw = scfsp->scfs_weight; in scf_sel_dump()
321 struct scf_selector *scfsp = scf_sel_rand(trsp); in scftorture_invoke_one() local
327 if (scfsp->scfs_prim == SCF_PRIM_SINGLE || scfsp->scfs_wait) { in scftorture_invoke_one()
335 scfcp->scfc_wait = scfsp->scfs_wait; in scftorture_invoke_one()
340 switch (scfsp->scfs_prim) { in scftorture_invoke_one()
351 if (scfsp->scfs_wait) in scftorture_invoke_one()
360 ret = smp_call_function_single(cpu, scf_handler_1, (void *)scfcp, scfsp->scfs_wait); in scftorture_invoke_one()
362 if (scfsp->scfs_wait) in scftorture_invoke_one()
399 if (scfsp->scfs_wait) in scftorture_invoke_one()
407 smp_call_function_many(cpu_online_mask, scf_handler, scfcp, scfsp->scfs_wait); in scftorture_invoke_one()
410 if (scfsp->scfs_wait) in scftorture_invoke_one()
418 smp_call_function(scf_handler, scfcp, scfsp->scfs_wait); in scftorture_invoke_one()
425 if (scfcp && scfsp->scfs_wait) { in scftorture_invoke_one()
426 if (WARN_ON_ONCE((num_online_cpus() > 1 || scfsp->scfs_prim == SCF_PRIM_SINGLE) && in scftorture_invoke_one()
428 pr_warn("%s: Memory-ordering failure, scfs_prim: %d.\n", __func__, scfsp->scfs_prim); in scftorture_invoke_one()