Home
last modified time | relevance | path

Searched refs:MPOL_MF_MOVE_ALL (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/include/uapi/linux/
Dmempolicy.h50 #define MPOL_MF_MOVE_ALL (1<<2) /* Move every page to conform to policy */ macro
56 MPOL_MF_MOVE_ALL)
/linux-6.6.21/tools/testing/selftests/kvm/include/
Dnumaif.h53 #define MPOL_MF_MOVE_ALL (1<<2) /* Move every page to conform to mapping */ macro
/linux-6.6.21/mm/
Dmempolicy.c483 if (flags & (MPOL_MF_MOVE | MPOL_MF_MOVE_ALL)) { in queue_folios_pmd()
542 if (flags & (MPOL_MF_MOVE | MPOL_MF_MOVE_ALL)) { in queue_folios_pte_range()
614 if (flags & (MPOL_MF_MOVE_ALL) || in queue_folios_hugetlb()
1046 if ((flags & MPOL_MF_MOVE_ALL) || folio_estimated_sharers(folio) == 1) { in migrate_folio_add()
1092 VM_BUG_ON(!(flags & (MPOL_MF_MOVE | MPOL_MF_MOVE_ALL))); in migrate_to_node()
1280 if ((flags & MPOL_MF_MOVE_ALL) && !capable(CAP_SYS_NICE)) in do_mbind()
1315 if (flags & (MPOL_MF_MOVE | MPOL_MF_MOVE_ALL)) { in do_mbind()
1375 if (flags & (MPOL_MF_MOVE | MPOL_MF_MOVE_ALL)) in do_mbind()
1682 capable(CAP_SYS_NICE) ? MPOL_MF_MOVE_ALL : MPOL_MF_MOVE); in kernel_migrate_pages()
Dmigrate.c2229 flags & MPOL_MF_MOVE_ALL); in do_pages_move()
2432 if (flags & ~(MPOL_MF_MOVE|MPOL_MF_MOVE_ALL)) in kernel_move_pages()
2435 if ((flags & MPOL_MF_MOVE_ALL) && !capable(CAP_SYS_NICE)) in kernel_move_pages()
/linux-6.6.21/tools/testing/selftests/mm/
Dmigration.c80 MPOL_MF_MOVE_ALL); in migrate()
/linux-6.6.21/kernel/cgroup/
Dcpuset.c1975 do_migrate_pages(mwork->mm, &mwork->from, &mwork->to, MPOL_MF_MOVE_ALL); in cpuset_migrate_mm_workfn()