Lines Matching defs:from
10 * Portions derived from Patrick Mochel's sysfs code.
316 * from one of the callbacks into the cpuset code from within
760 * The union of the cpus_allowed masks from the set of
1116 * CPUs are not removed from subparts_cpus, we have to use cpu_active_mask
1147 * For partcmd_enable, the cpuset is being transformed from a non-partition
1149 * be put into parent's subparts_cpus and taken away from parent's
1153 * For partcmd_disable, the cpuset is being transofrmed from a partition
1155 * parent's subparts_cpus will be taken away from that cpumask and put back
1159 * list is to be changed from cpus_allowed to newmask. Otherwise,
1184 int adding; /* Moving cpus from effective_cpus to subparts_cpus */
1185 int deleting; /* Moving cpus from subparts_cpus to effective_cpus */
1211 * can be granted from parent's effective_cpus or at least one
1306 * Remove all its cpus from parent's subparts_cpus.
1318 * Newly added CPUs will be removed from effective_cpus and
1634 * Migrate memory region from one set of nodes to another. This is
1635 * performed asynchronously as it can be called from process migration path
1644 nodemask_t from;
1653 do_migrate_pages(mwork->mm, &mwork->from, &mwork->to, MPOL_MF_MOVE_ALL);
1658 static void cpuset_migrate_mm(struct mm_struct *mm, const nodemask_t *from, const nodemask_t *to)
1665 mwork->from = *from;
2107 * happening, then the rate returned from the fmeter_getrate()
2248 * allocate from cpuset_init().
2304 * migrate mm from.
2442 * cgroup_transfer_tasks() and waiting for it from a cgroupfs
2734 * expanded later on by migrating more features and control files from v1.
2956 * state from the parent and before it sits on the cgroup's task list.
3016 * removing that CPU or node from all cpusets. If this removes the
3017 * last CPU or node from a cpuset, then move the tasks in the empty
3190 * from the parent may change to erroneous.
3383 * cpuset_cpus_allowed - return cpus_allowed mask from a tasks cpuset.
3384 * @tsk: pointer to task_struct from which to obtain cpuset->cpus_allowed.
3442 * set any mask even if it is not right from task_cs() pov,
3456 * cpuset_mems_allowed - return mems_allowed mask from a tasks cpuset.
3457 * @tsk: pointer to task_struct from which to obtain cpuset->mems_allowed.
3528 * The first call here from mm/page_alloc:get_page_from_freelist()
3711 * and we take cpuset_mutex, keeping cpuset_attach() from changing it