Lines Matching refs:pcpu

70 	target_cpu = cpumask_first(pd->cpumask.pcpu);  in padata_index_to_cpu()
72 target_cpu = cpumask_next(target_cpu, pd->cpumask.pcpu); in padata_index_to_cpu()
83 int cpu_index = seq_nr % cpumask_weight(pd->cpumask.pcpu); in padata_cpu_hash()
293 pd->cpu = cpumask_next_wrap(cpu, pd->cpumask.pcpu, -1, false); in padata_find_next()
458 cpumask_copy(attrs->cpumask, pinst->cpumask.pcpu); in padata_setup_cpumasks()
593 for_each_cpu(cpu, pd->cpumask.pcpu) { in padata_init_reorder_list()
619 if (!alloc_cpumask_var(&pd->cpumask.pcpu, GFP_KERNEL)) in padata_alloc_pd()
624 cpumask_and(pd->cpumask.pcpu, pinst->cpumask.pcpu, cpu_online_mask); in padata_alloc_pd()
632 pd->cpu = cpumask_first(pd->cpumask.pcpu); in padata_alloc_pd()
638 free_cpumask_var(pd->cpumask.pcpu); in padata_alloc_pd()
651 free_cpumask_var(pd->cpumask.pcpu); in padata_free_pd()
742 cpumask_copy(pinst->cpumask.pcpu, pcpumask); in __padata_set_cpumasks()
778 parallel_mask = pinst->cpumask.pcpu; in padata_set_cpumask()
804 if (padata_validate_cpumask(pinst, pinst->cpumask.pcpu) && in __padata_add_cpu()
817 if (!padata_validate_cpumask(pinst, pinst->cpumask.pcpu) || in __padata_remove_cpu()
829 return cpumask_test_cpu(cpu, pinst->cpumask.pcpu) || in pinst_has_cpu()
876 free_cpumask_var(pinst->cpumask.pcpu); in __padata_free()
911 cpumask = pinst->cpumask.pcpu; in show_cpumask()
1035 if (!alloc_cpumask_var(&pinst->cpumask.pcpu, GFP_KERNEL)) in padata_alloc()
1038 free_cpumask_var(pinst->cpumask.pcpu); in padata_alloc()
1044 cpumask_copy(pinst->cpumask.pcpu, cpu_possible_mask); in padata_alloc()
1067 free_cpumask_var(pinst->cpumask.pcpu); in padata_alloc()