Lines Matching defs:cs
135 struct cpuset *cs = task_cs(p); in inc_dl_tasks_cs() local
142 struct cpuset *cs = task_cs(p); in dec_dl_tasks_cs() local
147 static inline int is_partition_valid(const struct cpuset *cs) in is_partition_valid()
152 static inline int is_partition_invalid(const struct cpuset *cs) in is_partition_invalid()
160 static inline void make_partition_invalid(struct cpuset *cs) in make_partition_invalid()
169 static inline void notify_partition_change(struct cpuset *cs, int old_prs) in notify_partition_change()
270 static inline void dec_attach_in_progress_locked(struct cpuset *cs) in dec_attach_in_progress_locked()
279 static inline void dec_attach_in_progress(struct cpuset *cs) in dec_attach_in_progress()
309 static inline bool partition_is_populated(struct cpuset *cs, in partition_is_populated()
350 struct cpuset *cs; in guarantee_online_cpus() local
376 static void guarantee_online_mems(struct cpuset *cs, nodemask_t *pmask) in guarantee_online_mems()
391 static inline int alloc_cpumasks(struct cpuset *cs, struct tmpmasks *tmp) in alloc_cpumasks()
436 static inline void free_cpumasks(struct cpuset *cs, struct tmpmasks *tmp) in free_cpumasks()
455 static struct cpuset *alloc_trial_cpuset(struct cpuset *cs) in alloc_trial_cpuset()
479 static inline void free_cpuset(struct cpuset *cs) in free_cpuset()
486 static inline struct cpumask *user_xcpus(struct cpuset *cs) in user_xcpus()
492 static inline bool xcpus_empty(struct cpuset *cs) in xcpus_empty()
910 static void dl_update_tasks_root_domain(struct cpuset *cs) in dl_update_tasks_root_domain()
928 struct cpuset *cs = NULL; in dl_rebuild_rd_accounting() local
988 struct cpuset *cs; in rebuild_sched_domains_locked() local
1065 void cpuset_update_tasks_cpumask(struct cpuset *cs, struct cpumask *new_cpus) in cpuset_update_tasks_cpumask()
1099 struct cpuset *cs, struct cpuset *parent) in compute_effective_cpumask()
1123 static int update_partition_exclusive(struct cpuset *cs, int new_prs) in update_partition_exclusive()
1144 static void update_partition_sd_lb(struct cpuset *cs, int old_prs) in update_partition_sd_lb()
1174 static bool tasks_nocpu_error(struct cpuset *parent, struct cpuset *cs, in tasks_nocpu_error()
1186 static void reset_partition_data(struct cpuset *cs) in reset_partition_data()
1317 static bool compute_effective_exclusive_cpumask(struct cpuset *cs, in compute_effective_exclusive_cpumask()
1328 static inline bool is_remote_partition(struct cpuset *cs) in is_remote_partition()
1333 static inline bool is_local_partition(struct cpuset *cs) in is_local_partition()
1348 static int remote_partition_enable(struct cpuset *cs, int new_prs, in remote_partition_enable()
1396 static void remote_partition_disable(struct cpuset *cs, struct tmpmasks *tmp) in remote_partition_disable()
1431 static void remote_cpus_update(struct cpuset *cs, struct cpumask *newmask, in remote_cpus_update()
1488 static void remote_partition_check(struct cpuset *cs, struct cpumask *newmask, in remote_partition_check()
1576 static int update_parent_effective_cpumask(struct cpuset *cs, int cmd, in update_parent_effective_cpumask()
1874 static void compute_partition_effective_cpumask(struct cpuset *cs, in compute_partition_effective_cpumask()
1944 static void update_cpumasks_hier(struct cpuset *cs, struct tmpmasks *tmp, in update_cpumasks_hier()
2126 static void update_sibling_cpumasks(struct cpuset *parent, struct cpuset *cs, in update_sibling_cpumasks()
2175 static int update_cpumask(struct cpuset *cs, struct cpuset *trialcs, in update_cpumask()
2330 static int update_exclusive_cpumask(struct cpuset *cs, struct cpuset *trialcs, in update_exclusive_cpumask()
2516 void cpuset_update_tasks_nodemask(struct cpuset *cs) in cpuset_update_tasks_nodemask()
2579 static void update_nodemasks_hier(struct cpuset *cs, nodemask_t *new_mems) in update_nodemasks_hier()
2635 static int update_nodemask(struct cpuset *cs, struct cpuset *trialcs, in update_nodemask()
2709 int cpuset_update_flag(cpuset_flagbits_t bit, struct cpuset *cs, in cpuset_update_flag()
2759 static int update_prstate(struct cpuset *cs, int new_prs) in update_prstate()
2874 static int cpuset_can_attach_check(struct cpuset *cs) in cpuset_can_attach_check()
2882 static void reset_migrate_dl_data(struct cpuset *cs) in reset_migrate_dl_data()
2892 struct cpuset *cs, *oldcs; in cpuset_can_attach() local
2968 struct cpuset *cs; in cpuset_cancel_attach() local
2994 static void cpuset_attach_task(struct cpuset *cs, struct task_struct *task) in cpuset_attach_task()
3018 struct cpuset *cs; in cpuset_attach() local
3100 struct cpuset *cs = css_cs(of_css(of)); in cpuset_write_resmask() local
3174 struct cpuset *cs = css_cs(seq_css(sf)); in cpuset_common_seq_show() local
3215 struct cpuset *cs = css_cs(seq_css(seq)); in sched_partition_show() local
3247 struct cpuset *cs = css_cs(of_css(of)); in sched_partition_write() local
3366 struct cpuset *cs; in cpuset_css_alloc() local
3394 struct cpuset *cs = css_cs(css); in cpuset_css_online() local
3476 struct cpuset *cs = css_cs(css); in cpuset_css_offline() local
3497 struct cpuset *cs = css_cs(css); in cpuset_css_free() local
3527 struct cpuset *cs = css_cs(cset->subsys[cpuset_cgrp_id]); in cpuset_can_fork() local
3566 struct cpuset *cs = css_cs(cset->subsys[cpuset_cgrp_id]); in cpuset_cancel_fork() local
3586 struct cpuset *cs; in cpuset_fork() local
3671 hotplug_update_tasks(struct cpuset *cs, in hotplug_update_tasks()
3706 static void cpuset_hotplug_update_tasks(struct cpuset *cs, struct tmpmasks *tmp) in cpuset_hotplug_update_tasks()
3882 struct cpuset *cs; in cpuset_handle_hotplug() local
3967 struct cpuset *cs; in cpuset_cpus_allowed() local
4090 static struct cpuset *nearest_hardwall_ancestor(struct cpuset *cs) in nearest_hardwall_ancestor()
4139 struct cpuset *cs; /* current cpuset ancestors */ in cpuset_node_allowed() local