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

/kernel/
H A Dcpuset.c101 cpumask_var_t cpus_allowed; member in struct:cpuset
324 * Return in pmask the portion of a cpusets's cpus_allowed that
388 return cpumask_subset(p->cpus_allowed, q->cpus_allowed) &&
406 if (!alloc_cpumask_var(&trial->cpus_allowed, GFP_KERNEL))
411 cpumask_copy(trial->cpus_allowed, cs->cpus_allowed);
416 free_cpumask_var(trial->cpus_allowed);
429 free_cpumask_var(trial->cpus_allowed);
447 * perhaps one or more of the fields cpus_allowed, mems_allowe
[all...]
/kernel/sched/
H A Dcore.c1332 * ->cpus_allowed is protected by both rq->lock and p->pi_lock
1405 * The caller (fork, wakeup) owns p->pi_lock, ->cpus_allowed is stable.
1414 * to rely on ttwu() to place the task on a valid ->cpus_allowed
2120 * - cpus_allowed can change in the fork path
3564 if (!cpumask_subset(span, &p->cpus_allowed) ||
4011 cpumask_var_t cpus_allowed, new_mask; local
4031 if (!alloc_cpumask_var(&cpus_allowed, GFP_KERNEL)) {
4054 cpuset_cpus_allowed(p, cpus_allowed);
4055 cpumask_and(new_mask, in_mask, cpus_allowed);
4078 cpuset_cpus_allowed(p, cpus_allowed);
[all...]

Completed in 67 milliseconds