Home
last modified time | relevance | path

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

/linux-5.19.10/tools/power/cpupower/utils/
Dcpufreq-set.c144 static int do_new_policy(unsigned int cpu, struct cpufreq_policy *new_pol) in do_new_policy() argument
154 if (!new_pol->min) in do_new_policy()
155 new_pol->min = cur_pol->min; in do_new_policy()
157 if (!new_pol->max) in do_new_policy()
158 new_pol->max = cur_pol->max; in do_new_policy()
160 if (!new_pol->governor) in do_new_policy()
161 new_pol->governor = cur_pol->governor; in do_new_policy()
163 ret = cpufreq_set_policy(cpu, new_pol); in do_new_policy()
171 static int do_one_cpu(unsigned int cpu, struct cpufreq_policy *new_pol, in do_one_cpu() argument
182 if (new_pol->min) in do_one_cpu()
[all …]
/linux-5.19.10/drivers/cpufreq/
Dcpufreq.c83 unsigned int new_pol);
782 unsigned int new_pol; in store_scaling_governor() local
784 new_pol = cpufreq_parse_policy(str_governor); in store_scaling_governor()
785 if (!new_pol) in store_scaling_governor()
788 ret = cpufreq_set_policy(policy, NULL, new_pol); in store_scaling_governor()
2538 unsigned int new_pol) in cpufreq_set_policy() argument
2582 policy->policy = new_pol; in cpufreq_set_policy()
/linux-5.19.10/mm/
Dmempolicy.c788 unsigned long end, struct mempolicy *new_pol) in mbind_range() argument
808 if (mpol_equal(vma_policy(vma), new_pol)) in mbind_range()
815 new_pol, vma->vm_userfaultfd_ctx, in mbind_range()
832 err = vma_replace_policy(vma, new_pol); in mbind_range()