Home
last modified time | relevance | path

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

/device/soc/rockchip/common/sdk_linux/kernel/cgroup/
H A Dcpuset.c107 cpumask_var_t cpus_allowed; member
174 * None of the cpus in cpus_allowed can be put into the parent's
374 * Return in pmask the portion of a task's cpusets's cpus_allowed that
481 pmask1 = &cs->cpus_allowed; in alloc_cpumasks()
530 free_cpumask_var(cs->cpus_allowed); in free_cpumasks()
560 cpumask_copy(trial->cpus_allowed, cs->cpus_allowed); in alloc_trial_cpuset()
590 * perhaps one or more of the fields cpus_allowed, mems_allowed,
640 * be changed to have empty cpus_allowed or mems_allowed. in validate_change()
644 if (!cpumask_empty(cur->cpus_allowed) in validate_change()
[all...]
/device/soc/rockchip/common/sdk_linux/kernel/sched/
H A Dcore.c6443 cpumask_var_t cpus_allowed, new_mask; in sched_setaffinity() local
6467 if (!alloc_cpumask_var(&cpus_allowed, GFP_KERNEL)) { in sched_setaffinity()
6490 cpuset_cpus_allowed(p, cpus_allowed); in sched_setaffinity()
6491 cpumask_and(new_mask, in_mask, cpus_allowed); in sched_setaffinity()
6518 cpuset_cpus_allowed(p, cpus_allowed); in sched_setaffinity()
6519 if (!cpumask_subset(new_mask, cpus_allowed)) { in sched_setaffinity()
6522 * update. Just reset the cpus_allowed to the in sched_setaffinity()
6523 * cpuset's cpus_allowed in sched_setaffinity()
6525 cpumask_copy(new_mask, cpus_allowed); in sched_setaffinity()
6540 free_cpumask_var(cpus_allowed); in sched_setaffinity()
[all...]

Completed in 12 milliseconds