Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/syscalls/set_mempolicy/
Dset_mempolicy05.c43 static int sys_ret; variable
77 sys_ret = mode; in run()
84 "=a"(sys_ret) : in run()
87 sys_ret = -sys_ret; in run()
97 switch (sys_ret) { in run()
109 (long)sys_ret); in run()
/third_party/ltp/testcases/kernel/syscalls/ppoll/
Dppoll01.c237 int sys_ret, sys_errno = 0, dummy; in do_test() local
260 sys_ret = tv->ppoll(tc->fds, tc->nfds, tst_ts_get(tsp), tc->sigmask, in do_test()
282 if (tc->ret >= 0 && tc->ret == sys_ret) { in do_test()
283 tst_res(TPASS, "ret: %d", sys_ret); in do_test()
284 } else if (tc->ret == -1 && sys_ret == -1 && sys_errno == tc->err) { in do_test()
285 tst_res(TPASS, "ret: %d, errno: %s (%d)", sys_ret, in do_test()
289 " exp_errno: %s (%d)", sys_ret, tc->ret, in do_test()