Searched refs:MPOL_BIND (Results 1 – 25 of 27) sorted by relevance
12
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/ |
D | cpuset_syscall_test.c | 155 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/ |
D | get_mempolicy01.c | 62 POLICY_DESC(MPOL_BIND), 88 POLICY_DESC_FLAGS(MPOL_BIND, MPOL_F_ADDR),
|
/third_party/ltp/testcases/kernel/syscalls/mbind/ |
D | mbind01.c | 65 POLICY_DESC_TEXT(MPOL_BIND, "no target"), 71 POLICY_DESC(MPOL_BIND),
|
D | mbind02.c | 93 MPOL_BIND,
|
D | mbind03.c | 104 MPOL_BIND,
|
D | mbind04.c | 115 MPOL_BIND,
|
/third_party/ltp/testcases/kernel/mem/oom/ |
D | oom02.c | 46 testoom(MPOL_BIND, 0, ENOMEM, 1); in verify_oom()
|
D | oom03.c | 76 testoom(MPOL_BIND, 0, ENOMEM, 1); in verify_oom()
|
/third_party/rust/crates/libc/libc-test/semver/ |
D | linux-musl.txt | 8 MPOL_BIND
|
D | linux-gnu.txt | 149 MPOL_BIND
|
D | android.txt | 1180 MPOL_BIND
|
/third_party/ltp/testcases/kernel/mem/ksm/ |
D | ksm02.c | 73 if (set_mempolicy(MPOL_BIND, nmask, MAXNODES) == -1) { in verify_ksm()
|
D | ksm04.c | 74 if (set_mempolicy(MPOL_BIND, nmask, MAXNODES) == -1) { in verify_ksm()
|
/third_party/ltp/testcases/kernel/syscalls/set_mempolicy/ |
D | set_mempolicy01.c | 100 int mode = n ? MPOL_PREFERRED : MPOL_BIND; in verify_set_mempolicy()
|
D | set_mempolicy03.c | 90 int mode = n ? MPOL_PREFERRED : MPOL_BIND; in verify_set_mempolicy()
|
/third_party/ltp/testcases/kernel/syscalls/migrate_pages/ |
D | migrate_pages03.c | 89 if (mbind(test_pages[n], page_size, MPOL_BIND, new_nodes[0], in setup()
|
/third_party/ltp/testcases/kernel/mem/vma/ |
D | vma02.c | 98 err = mbind(addr + pagesize, pagesize, MPOL_BIND, nmask->maskp, in main()
|
D | vma04.c | 151 MPOL_BIND, nmask->maskp, nmask->size, 0) != 0) { in mem_bind()
|
/third_party/ltp/testcases/kernel/mem/cpuset/ |
D | cpuset01.c | 68 if (set_mempolicy(MPOL_BIND, nmask, MAXNODES) == -1) in test_cpuset()
|
/third_party/ltp/libs/libltpnuma/ |
D | tst_numa.c | 55 case MPOL_BIND: in tst_mempolicy_mode_name()
|
/third_party/ltp/testcases/kernel/mem/lib/ |
D | mem.c | 187 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/ |
D | move_pages12.c | 235 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/ |
D | commands.c | 253 "bind", MPOL_BIND}, {
|
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/ |
D | libcpuset.c | 3441 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/ |
D | mod.rs | 2734 pub const MPOL_BIND: ::c_int = 2; constant
|
12