Home
last modified time | relevance | path

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

/kernel/cgroup/
Dcpuset.c531 struct cpumask *pmask) in guarantee_online_cpus() argument
536 if (WARN_ON(!cpumask_and(pmask, possible_mask, cpu_online_mask))) in guarantee_online_cpus()
537 cpumask_copy(pmask, cpu_online_mask); in guarantee_online_cpus()
542 while (!cpumask_intersects(cs->effective_cpus, pmask)) { in guarantee_online_cpus()
555 cpumask_and(pmask, pmask, cs->effective_cpus); in guarantee_online_cpus()
572 static void guarantee_online_mems(struct cpuset *cs, nodemask_t *pmask) in guarantee_online_mems() argument
576 nodes_and(*pmask, cs->effective_mems, node_states[N_MEMORY]); in guarantee_online_mems()
3918 void cpuset_cpus_allowed(struct task_struct *tsk, struct cpumask *pmask) in cpuset_cpus_allowed() argument
3923 guarantee_online_cpus(tsk, pmask); in cpuset_cpus_allowed()