Lines Matching refs:cpumask
1808 extern int cpuset_cpumask_can_shrink(const struct cpumask *cur, const struct cpumask *trial);
1809 extern int task_can_attach(struct task_struct *p, const struct cpumask *cs_cpus_allowed);
1811 extern void do_set_cpus_allowed(struct task_struct *p, const struct cpumask *new_mask);
1812 extern int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask);
1814 static inline void do_set_cpus_allowed(struct task_struct *p, const struct cpumask *new_mask)
1817 static inline int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask)
2111 extern long sched_setaffinity(pid_t pid, const struct cpumask *new_mask);
2112 extern long sched_getaffinity(pid_t pid, struct cpumask *mask);
2248 const struct cpumask *sched_trace_rd_span(struct root_domain *rd);