Home
last modified time | relevance | path

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

/external/strace/xlat/
Dpolicies.h20 #if defined(MPOL_BIND) || (defined(HAVE_DECL_MPOL_BIND) && HAVE_DECL_MPOL_BIND)
22 static_assert((MPOL_BIND) == (2), "MPOL_BIND != 2");
25 # define MPOL_BIND 2
47 XLAT(MPOL_BIND),
Dpolicies.in3 MPOL_BIND 2
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/
Dcpuset_syscall_test.c155 ret = mbind(addr, len, MPOL_BIND, &mask, 8 * sizeof(mask), 0); in test_mbind()
160 ret = set_mempolicy(MPOL_BIND, &mask, 8 * sizeof(mask)); in test_set_mempolicy()
/external/ltp/testcases/kernel/syscalls/mbind/
Dmbind01.c73 POLICY_DESC_TEXT(MPOL_BIND, "no target"),
79 POLICY_DESC(MPOL_BIND),
/external/ltp/testcases/kernel/syscalls/get_mempolicy/
Dget_mempolicy01.c117 .policy = MPOL_BIND,
152 .policy = MPOL_BIND,
/external/kernel-headers/original/uapi/linux/
Dmempolicy.h22 MPOL_BIND, enumerator
/external/ltp/testcases/kernel/mem/oom/
Doom02.c45 testoom(MPOL_BIND, 0, ENOMEM, 1); in verify_oom()
Doom03.c65 testoom(MPOL_BIND, 0, ENOMEM, 1); in verify_oom()
/external/ltp/testcases/kernel/mem/ksm/
Dksm02.c72 if (set_mempolicy(MPOL_BIND, nmask, MAXNODES) == -1) { in verify_ksm()
Dksm04.c75 if (set_mempolicy(MPOL_BIND, nmask, MAXNODES) == -1) { in verify_ksm()
/external/ltp/testcases/kernel/syscalls/migrate_pages/
Dmigrate_pages03.c96 if (mbind(test_pages[n], page_size, MPOL_BIND, new_nodes[0], in setup()
/external/ltp/testcases/kernel/mem/vma/
Dvma02.c98 err = mbind(addr + pagesize, pagesize, MPOL_BIND, nmask->maskp, in main()
Dvma04.c151 MPOL_BIND, nmask->maskp, nmask->size, 0) != 0) { in mem_bind()
/external/ltp/testcases/kernel/mem/cpuset/
Dcpuset01.c67 if (set_mempolicy(MPOL_BIND, nmask, MAXNODES) == -1) in test_cpuset()
/external/ltp/testcases/kernel/syscalls/move_pages/
Dmove_pages12.c162 ret = mbind(mem, size, MPOL_BIND, bm->maskp, bm->size + 1, 0); in alloc_free_huge_on_node()
/external/ltp/testcases/kernel/mem/lib/
Dmem.c184 case MPOL_BIND: in set_global_mempolicy()
563 ret = mbind(memory[i], length, MPOL_BIND, nmask, MAXNODES, 0); in test_ksm_merge_across_nodes()
/external/syzkaller/sys/linux/
Dsys_386.const283 MPOL_BIND = 2
Dsys_amd64.const283 MPOL_BIND = 2
Dsys_arm.const283 MPOL_BIND = 2
Dsys_ppc64le.const283 MPOL_BIND = 2
Dsys_arm64.const283 MPOL_BIND = 2
Dsys.txt937 mbind_mode = MPOL_DEFAULT, MPOL_BIND, MPOL_INTERLEAVE, MPOL_PREFERRED, MPOL_F_STATIC_NODES, MPOL_F_…
/external/ltp/testcases/kernel/hotplug/memory_hotplug/
Dcommands.c246 "bind", MPOL_BIND}, {
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
Dlibcpuset.c3441 r = set_mempolicy(MPOL_BIND, bitmask_mask(bmp), bitmask_nbits(bmp) + 1); in cpuset_membind()
/external/strace/
DChangeLog30394 * mem.c (MPOL_DEFAULT, MPOL_PREFERRED, MPOL_BIND, MPOL_INTERLEAVE):