Home
last modified time | relevance | path

Searched refs:MPOL_BIND (Results 1 – 14 of 14) sorted by relevance

/linux/tools/testing/selftests/kvm/
H A Dguest_memfd_test.c101 kvm_mbind(mem + page_size * 2, page_size * 2, MPOL_BIND, &nodemask_0, maxnode, 0); in test_mbind()
103 TEST_ASSERT(policy == MPOL_BIND && nodemask == nodemask_0, in test_mbind()
105 MPOL_BIND, nodemask_0, policy, nodemask); in test_mbind()
142 kvm_mbind(pages[0], page_size, MPOL_BIND, &node0_mask, maxnode, 0); in test_numa_allocation()
146 kvm_mbind(pages[0], page_size * 2, MPOL_BIND, &node1_mask, maxnode, 0); in test_numa_allocation()
147 kvm_mbind(pages[2], page_size * 2, MPOL_BIND, &node0_mask, maxnode, 0); in test_numa_allocation()
161 kvm_mbind(pages[0], page_size * 2, MPOL_BIND, &node0_mask, maxnode, 0); in test_numa_allocation()
162 kvm_mbind(pages[2], page_size * 2, MPOL_BIND, &node1_mask, maxnode, 0); in test_numa_allocation()
/linux/include/uapi/linux/
H A Dmempolicy.h22 MPOL_BIND, enumerator
/linux/mm/
H A Dmempolicy.c589 [MPOL_BIND] = {
1118 case MPOL_BIND: in get_policy_nodemask()
1731 if (*mode == MPOL_BIND || *mode == MPOL_PREFERRED_MANY) in sanitize_mpol_flags()
1806 if (old->mode != MPOL_BIND && old->mode != MPOL_PREFERRED_MANY) { in SYSCALL_DEFINE4()
2165 case MPOL_BIND: in mempolicy_slab_node()
2284 case MPOL_BIND: in policy_nodemask()
2367 case MPOL_BIND: in init_nodemask_of_mempolicy()
2407 if (mempolicy && mempolicy->mode == MPOL_BIND) in mempolicy_in_oom_domain()
2863 case MPOL_BIND: in __mpol_equal()
3025 case MPOL_BIND: in mpol_misplaced()
[all …]
H A Dslub.c4472 if (mpol->mode != MPOL_BIND || in __slab_alloc_node()
4692 if (mpol->mode != MPOL_BIND || in alloc_from_pcs()
H A Dhugetlb.c2286 if (mpol->mode == MPOL_BIND && in policy_mbind_nodemask()
/linux/Documentation/translations/zh_CN/filesystems/
H A Dtmpfs.rst104 例如,mpol=bind=staticNodeList相当于MPOL_BIND|MPOL_F_STATIC_NODES的分配策略
/linux/Documentation/translations/zh_TW/filesystems/
H A Dtmpfs.rst104 例如,mpol=bind=staticNodeList相當於MPOL_BIND|MPOL_F_STATIC_NODES的分配策略
/linux/tools/testing/selftests/futex/functional/
H A Dfutex_numa_mpol.c187 ret = mbind(futex_ptr, mem_size, MPOL_BIND, &nodemask, in TEST()
/linux/tools/perf/util/
H A Dmmap.c116 if (mbind(data, mmap_len, MPOL_BIND, node_mask, node_index + 1 + 1, 0)) { in perf_mmap__aio_bind()
/linux/Documentation/admin-guide/cgroup-v1/
H A Dcpusets.rst631 mempolicy MPOL_BIND, and the nodes to which it was bound overlap with
633 of MPOL_BIND nodes are still allowed in the new cpuset. If the task
634 was using MPOL_BIND and now none of its MPOL_BIND nodes are allowed
636 was MPOL_BIND bound to the new cpuset (even though its NUMA placement,
/linux/Documentation/admin-guide/mm/
H A Dnuma_memory_policy.rst193 MPOL_BIND
369 path". Note that for MPOL_BIND, the "usage" extends across the entire
/linux/Documentation/filesystems/
H A Dtmpfs.rst199 allocation policy of MPOL_BIND | MPOL_F_STATIC_NODES.
/linux/kernel/futex/
H A Dcore.c354 case MPOL_BIND: in __futex_key_to_node()
/linux/tools/perf/bench/
H A Dnuma.c408 ret = set_mempolicy(MPOL_BIND, node_mask->maskp, node_mask->size + 1); in bind_to_memnode()