Searched refs:mwork (Results 1 – 2 of 2) sorted by relevance
1650 struct cpuset_migrate_mm_work *mwork = container_of(work, struct cpuset_migrate_mm_work, work); in cpuset_migrate_mm_workfn() local1653 do_migrate_pages(mwork->mm, &mwork->from, &mwork->to, MPOL_MF_MOVE_ALL); in cpuset_migrate_mm_workfn()1654 mmput(mwork->mm); in cpuset_migrate_mm_workfn()1655 kfree(mwork); in cpuset_migrate_mm_workfn()1660 struct cpuset_migrate_mm_work *mwork; in cpuset_migrate_mm() local1662 mwork = kzalloc(sizeof(*mwork), GFP_KERNEL); in cpuset_migrate_mm()1663 if (mwork) { in cpuset_migrate_mm()1664 mwork->mm = mm; in cpuset_migrate_mm()1665 mwork->from = *from; in cpuset_migrate_mm()1666 mwork->to = *to; in cpuset_migrate_mm()[all …]
65 struct delayed_work mwork; member