Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/drivers/cpufreq/
Dcpufreq.c88 unsigned int new_pol);
814 unsigned int new_pol; in store_scaling_governor() local
816 new_pol = cpufreq_parse_policy(str_governor); in store_scaling_governor()
817 if (!new_pol) in store_scaling_governor()
820 ret = cpufreq_set_policy(policy, NULL, new_pol); in store_scaling_governor()
2619 unsigned int new_pol) in cpufreq_set_policy() argument
2665 policy->policy = new_pol; in cpufreq_set_policy()
/linux-6.12.1/mm/
Dvma.h297 struct mempolicy *new_pol);
Dmempolicy.c821 unsigned long end, struct mempolicy *new_pol) in mbind_range() argument
833 if (mpol_equal(vma->vm_policy, new_pol)) { in mbind_range()
838 vma = vma_modify_policy(vmi, *prev, vma, vmstart, vmend, new_pol); in mbind_range()
843 return vma_replace_policy(vma, new_pol); in mbind_range()
Dvma.c1480 struct mempolicy *new_pol) in vma_modify_policy() argument
1484 vmg.policy = new_pol; in vma_modify_policy()