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.c61 POLICY_DESC_TEXT(MPOL_BIND, "no target"),
67 POLICY_DESC(MPOL_BIND),
Dmbind02.c94 MPOL_BIND,
Dmbind03.c105 MPOL_BIND,
Dmbind04.c116 MPOL_BIND,
/external/kernel-headers/original/uapi/linux/
Dmempolicy.h22 MPOL_BIND, enumerator
/external/ltp/testcases/kernel/syscalls/get_mempolicy/
Dget_mempolicy01.c117 .policy = MPOL_BIND,
152 .policy = MPOL_BIND,
/external/ltp/testcases/kernel/mem/oom/
Doom02.c46 testoom(MPOL_BIND, 0, ENOMEM, 1); in verify_oom()
Doom03.c66 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/set_mempolicy/
Dset_mempolicy03.c91 int mode = n ? MPOL_PREFERRED : MPOL_BIND; in verify_set_mempolicy()
Dset_mempolicy01.c101 int mode = n ? MPOL_PREFERRED : MPOL_BIND; in verify_set_mempolicy()
/external/ltp/testcases/kernel/syscalls/migrate_pages/
Dmigrate_pages03.c89 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/libs/libltpnuma/
Dtst_numa.c53 case MPOL_BIND: in tst_numa_mode_name()
/external/ltp/testcases/kernel/syscalls/move_pages/
Dmove_pages12.c224 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()
566 ret = mbind(memory[i], length, MPOL_BIND, nmask, MAXNODES, 0); in test_ksm_merge_across_nodes()
/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):