Lines Matching refs:cpumask

26 #include <linux/cpumask.h>
384 static void guarantee_online_cpus(struct task_struct *tsk, struct cpumask *pmask)
386 const struct cpumask *possible_mask = task_cpu_possible_mask(tsk);
774 int nslot; /* next empty doms[] struct cpumask slot */
892 struct cpumask *dp;
1083 static int update_cpus_allowed(struct cpuset *cs, struct task_struct *p, const struct cpumask *new_mask)
1109 * compute_effective_cpumask - Compute the effective cpumask of the cpuset
1119 static void compute_effective_cpumask(struct cpumask *new_cpus, struct cpuset *cs, struct cpuset *parent)
1143 * @newmask: Optional new cpumask for partcmd_update
1155 * parent's subparts_cpus will be taken away from that cpumask and put back
1176 * cpumask changes that violates the cpu exclusivity rule will not be
1181 static int update_parent_subparts_cpumask(struct cpuset *cpuset, int cmd, struct cpumask *newmask, struct tmpmasks *tmp)
1193 * The new cpumask, if present, or the current cpus_allowed must
1220 * A cpumask update cannot make parent's effective_cpus become empty.
1350 * When congifured cpumask is changed, the effective cpumasks of this cpuset
1387 * Skip the whole subtree if the cpumask remains the same
1481 * On legacy hierarchy, if the effective cpumask of any non-
2063 * Update cpumask of parent's tasks except when it is the top
3040 static void hotplug_update_tasks_legacy(struct cpuset *cs, struct cpumask *new_cpus, nodemask_t *new_mems,
3079 static void hotplug_update_tasks(struct cpuset *cs, struct cpumask *new_cpus, nodemask_t *new_mems, bool cpus_updated,
3385 * @pmask: pointer to struct cpumask variable to receive cpus_allowed set.
3393 void cpuset_cpus_allowed(struct task_struct *tsk, struct cpumask *pmask)
3411 * which will not contain a sane cpumask during cases such as cpu hotplugging.
3418 const struct cpumask *possible_mask = task_cpu_possible_mask(tsk);
3419 const struct cpumask *cs_mask;