Home
last modified time | relevance | path

Searched refs:maskp (Results 1 - 17 of 17) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/get_mempolicy/
H A Dget_mempolicy01.c114 TEST(set_mempolicy(tc->policy, nodemask->maskp, nodemask->size)); in test_set_mempolicy_default()
124 static int test_mbind(struct test_case *tc, unsigned long *maskp, unsigned long size) in test_mbind() argument
129 TEST(mbind(tc->addr, MEM_LENGTH, tc->policy, maskp, size, 0)); in test_mbind()
140 return test_mbind(tc, nodemask->maskp, nodemask->size); in test_mbind_default()
190 TST_EXP_PASS(get_mempolicy(&policy, getnodemask->maskp, getnodemask->size, in do_test()
197 tst_res_hexd(TINFO, exp_mask->maskp, in do_test()
199 tst_res_hexd(TINFO, getnodemask->maskp, in do_test()
H A Dget_mempolicy02.c78 TST_EXP_FAIL(get_mempolicy(&policy, nodemask->maskp, nodemask->size, in do_test()
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
H A Dlibbitmask.c35 unsigned long *maskp; member
49 * routines that actually understand the layout of bmp->maskp[].
62 return (bmp->maskp[n / bitsperlong] >> (n % bitsperlong)) & 1; in _getbit()
72 bmp->maskp[n / bitsperlong] |= 1UL << (n % bitsperlong); in _setbit()
74 bmp->maskp[n / bitsperlong] &= in _setbit()
92 bmp->maskp = calloc(longsperbits(n), sizeof(unsigned long)); in bitmask_alloc()
93 if (bmp->maskp == 0) { in bitmask_alloc()
105 free(bmp->maskp); in bitmask_free()
106 bmp->maskp = (unsigned long *)0xdeadcdef; /* double free tripwire */ in bitmask_free()
391 return bmp->maskp; in bitmask_mask()
[all...]
/third_party/ltp/testcases/kernel/syscalls/mbind/
H A Dmbind01.c152 TEST(mbind(p, MEM_LENGTH, tc->policy, nodemask->maskp, in test_default()
213 TEST(get_mempolicy(&policy, getnodemask->maskp, in do_test()
233 tst_res_hexd(TINFO, exp_mask->maskp, in do_test()
235 tst_res_hexd(TINFO, getnodemask->maskp, in do_test()
H A Dmbind02.c68 TEST(mbind(ptr, size, mode, bm->maskp, bm->size + 1, MPOL_MF_STRICT)); in verify_policy()
H A Dmbind04.c56 TEST(mbind(ptr, size, mode, bm->maskp, bm->size + 1, flag)); in verify_policy()
H A Dmbind03.c65 TEST(mbind(ptr, size, mode, bm->maskp, bm->size + 1, flag)); in verify_policy()
/third_party/ltp/testcases/kernel/mem/vma/
H A Dvma04.c151 MPOL_BIND, nmask->maskp, nmask->size, 0) != 0) { in mem_bind()
164 MPOL_INTERLEAVE, nmask->maskp, nmask->size, 0) != 0) { in mem_interleave()
H A Dvma02.c98 err = mbind(addr + pagesize, pagesize, MPOL_BIND, nmask->maskp, in main()
/third_party/ltp/testcases/kernel/syscalls/set_mempolicy/
H A Dset_mempolicy01.c61 TEST(set_mempolicy(mode, bm->maskp, bm->size+1)); in verify_mempolicy()
H A Dset_mempolicy02.c87 TEST(set_mempolicy(MPOL_INTERLEAVE, bm->maskp, bm->size+1)); in verify_set_mempolicy()
H A Dset_mempolicy03.c51 TEST(set_mempolicy(mode, bm->maskp, bm->size+1)); in verify_mempolicy()
H A Dset_mempolicy04.c113 TEST(set_mempolicy(MPOL_INTERLEAVE, bm->maskp, bm->size+1)); in verify_set_mempolicy()
/third_party/ltp/testcases/kernel/mem/ksm/
H A Dksm06.c71 ret = mbind(memory[i], length, MPOL_BIND, bm->maskp, bm->size+1, 0); in test_ksm()
/third_party/ltp/testcases/kernel/syscalls/move_pages/
H A Dmove_pages12.c234 ret = mbind(mem, size, MPOL_BIND, bm->maskp, bm->size + 1, 0); in alloc_free_huge_on_node()
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/
H A Dmod.rs4550 maskp: *mut ::c_ushort, in procstat_getumask()
/third_party/rust/crates/bindgen/bindgen-tests/tests/
H A Dstylo.hpp[all...]

Completed in 38 milliseconds