Home
last modified time | relevance | path

Searched refs:cpus_allowed (Results 1 – 2 of 2) sorted by relevance

/kernel/cgroup/
Dcpuset.c142 cpumask_var_t cpus_allowed; member
631 pmask1 = &cs->cpus_allowed; in alloc_cpumasks()
671 free_cpumask_var(cs->cpus_allowed); in free_cpumasks()
700 cpumask_copy(trial->cpus_allowed, cs->cpus_allowed); in alloc_trial_cpuset()
790 if (!cpumask_empty(cur->cpus_allowed) && in validate_change()
791 cpumask_empty(trial->cpus_allowed)) in validate_change()
804 !cpuset_cpumask_can_shrink(cur->cpus_allowed, in validate_change()
805 trial->cpus_allowed)) in validate_change()
857 if (cpumask_empty(cp->cpus_allowed)) { in update_domain_attr_tree()
986 if (!cpumask_empty(cp->cpus_allowed) && in generate_sched_domains()
[all …]
/kernel/sched/
Dcore.c8341 cpumask_var_t cpus_allowed, new_mask; in __sched_setaffinity() local
8343 if (!alloc_cpumask_var(&cpus_allowed, GFP_KERNEL)) in __sched_setaffinity()
8351 cpuset_cpus_allowed(p, cpus_allowed); in __sched_setaffinity()
8352 cpumask_and(new_mask, mask, cpus_allowed); in __sched_setaffinity()
8362 cpuset_cpus_allowed(p, cpus_allowed); in __sched_setaffinity()
8363 if (!cpumask_subset(new_mask, cpus_allowed)) { in __sched_setaffinity()
8368 cpumask_copy(new_mask, cpus_allowed); in __sched_setaffinity()
8375 free_cpumask_var(cpus_allowed); in __sched_setaffinity()