Home
last modified time | relevance | path

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

12

/third_party/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()
/third_party/ltp/testcases/kernel/syscalls/get_mempolicy/
Dget_mempolicy01.c62 POLICY_DESC(MPOL_BIND),
88 POLICY_DESC_FLAGS(MPOL_BIND, MPOL_F_ADDR),
/third_party/ltp/testcases/kernel/syscalls/mbind/
Dmbind01.c65 POLICY_DESC_TEXT(MPOL_BIND, "no target"),
71 POLICY_DESC(MPOL_BIND),
Dmbind02.c93 MPOL_BIND,
Dmbind03.c104 MPOL_BIND,
Dmbind04.c115 MPOL_BIND,
/third_party/ltp/testcases/kernel/mem/oom/
Doom02.c46 testoom(MPOL_BIND, 0, ENOMEM, 1); in verify_oom()
Doom03.c76 testoom(MPOL_BIND, 0, ENOMEM, 1); in verify_oom()
/third_party/rust/crates/libc/libc-test/semver/
Dlinux-musl.txt8 MPOL_BIND
Dlinux-gnu.txt149 MPOL_BIND
Dandroid.txt1180 MPOL_BIND
/third_party/ltp/testcases/kernel/mem/ksm/
Dksm02.c73 if (set_mempolicy(MPOL_BIND, nmask, MAXNODES) == -1) { in verify_ksm()
Dksm04.c74 if (set_mempolicy(MPOL_BIND, nmask, MAXNODES) == -1) { in verify_ksm()
/third_party/ltp/testcases/kernel/syscalls/set_mempolicy/
Dset_mempolicy01.c100 int mode = n ? MPOL_PREFERRED : MPOL_BIND; in verify_set_mempolicy()
Dset_mempolicy03.c90 int mode = n ? MPOL_PREFERRED : MPOL_BIND; in verify_set_mempolicy()
/third_party/ltp/testcases/kernel/syscalls/migrate_pages/
Dmigrate_pages03.c89 if (mbind(test_pages[n], page_size, MPOL_BIND, new_nodes[0], in setup()
/third_party/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()
/third_party/ltp/testcases/kernel/mem/cpuset/
Dcpuset01.c68 if (set_mempolicy(MPOL_BIND, nmask, MAXNODES) == -1) in test_cpuset()
/third_party/ltp/libs/libltpnuma/
Dtst_numa.c55 case MPOL_BIND: in tst_mempolicy_mode_name()
/third_party/ltp/testcases/kernel/mem/lib/
Dmem.c187 case MPOL_BIND: in set_global_mempolicy()
562 ret = mbind(memory[i], length, MPOL_BIND, nmask, MAXNODES, 0); in test_ksm_merge_across_nodes()
/third_party/ltp/testcases/kernel/syscalls/move_pages/
Dmove_pages12.c235 ret = mbind(mem, size, MPOL_BIND, bm->maskp, bm->size + 1, 0); in alloc_free_huge_on_node()
/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/
Dcommands.c253 "bind", MPOL_BIND}, {
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
Dlibcpuset.c3441 r = set_mempolicy(MPOL_BIND, bitmask_mask(bmp), bitmask_nbits(bmp) + 1); in cpuset_membind()
/third_party/rust/crates/libc/src/unix/linux_like/android/
Dmod.rs2734 pub const MPOL_BIND: ::c_int = 2; constant

12