Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/tools/testing/selftests/kvm/include/
Dnumaif.h53 #define MPOL_MF_MOVE_ALL (1<<2) /* Move every page to conform to mapping */ macro
/linux-5.19.10/mm/
Dmempolicy.c477 if (flags & (MPOL_MF_MOVE | MPOL_MF_MOVE_ALL)) { in queue_pages_pmd()
536 if (flags & (MPOL_MF_MOVE | MPOL_MF_MOVE_ALL)) { in queue_pages_pte_range()
603 if (flags & (MPOL_MF_MOVE_ALL) || in queue_pages_hugetlb()
1023 if ((flags & MPOL_MF_MOVE_ALL) || page_mapcount(head) == 1) { in migrate_page_add()
1067 VM_BUG_ON(!(flags & (MPOL_MF_MOVE | MPOL_MF_MOVE_ALL))); in migrate_to_node()
1255 if ((flags & MPOL_MF_MOVE_ALL) && !capable(CAP_SYS_NICE)) in do_mbind()
1290 if (flags & (MPOL_MF_MOVE | MPOL_MF_MOVE_ALL)) { in do_mbind()
1340 if (flags & (MPOL_MF_MOVE | MPOL_MF_MOVE_ALL)) in do_mbind()
1651 capable(CAP_SYS_NICE) ? MPOL_MF_MOVE_ALL : MPOL_MF_MOVE); in kernel_migrate_pages()
Dmigrate.c1763 &pagelist, flags & MPOL_MF_MOVE_ALL); in do_pages_move()
1960 if (flags & ~(MPOL_MF_MOVE|MPOL_MF_MOVE_ALL)) in kernel_move_pages()
1963 if ((flags & MPOL_MF_MOVE_ALL) && !capable(CAP_SYS_NICE)) in kernel_move_pages()
/linux-5.19.10/tools/testing/selftests/vm/
Dmigration.c79 MPOL_MF_MOVE_ALL); in migrate()
/linux-5.19.10/kernel/cgroup/
Dcpuset.c1689 do_migrate_pages(mwork->mm, &mwork->from, &mwork->to, MPOL_MF_MOVE_ALL); in cpuset_migrate_mm_workfn()