Home
last modified time | relevance | path

Searched refs:getnodemask (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/kernel/syscalls/mbind/
Dmbind01.c42 static struct bitmask *nodemask, *getnodemask, *empty_nodemask; variable
171 getnodemask = numa_allocate_nodemask(); in setup_node()
194 TEST(get_mempolicy(&policy, getnodemask->maskp, in do_test()
195 getnodemask->size, p, MPOL_F_ADDR)); in do_test()
208 if (!numa_bitmask_equal(exp_mask, getnodemask)) { in do_test()
212 tst_res_hexd(TINFO, getnodemask->maskp, in do_test()
213 getnodemask->size / 8, "returned: "); in do_test()
/external/ltp/testcases/kernel/syscalls/get_mempolicy/
Dget_mempolicy01.c226 struct bitmask *getnodemask = numa_allocate_nodemask(); in do_test() local
280 TEST(ret = ltp_syscall(__NR_get_mempolicy, &policy, getnodemask->maskp, in do_test()
281 getnodemask->size, p, flags)); in do_test()
291 getnodemask))); in do_test()