Home
last modified time | relevance | path

Searched refs:cmp_ok (Results 1 – 3 of 3) sorted by relevance

/external/ltp/testcases/kernel/syscalls/mq_notify/
Dmq_notify01.c38 static volatile sig_atomic_t notified, cmp_ok; variable
101 cmp_ok = si->si_code == SI_MESGQ && in sigfunc()
110 cmp_ok = sv.sival_int == USER_DATA; in tfunc()
121 notified = cmp_ok = 1; in do_test()
125 notified = cmp_ok = 0; in do_test()
138 notified = cmp_ok = 0; in do_test()
/external/ltp/testcases/kernel/syscalls/get_mempolicy/
Dget_mempolicy01.c223 int ret, err, result, cmp_ok; in do_test() local
279 cmp_ok = 1; in do_test()
289 cmp_ok = (tc->policy == policy && (tc->from_node == NONE || in do_test()
293 result = (err != tc->err) || !cmp_ok; in do_test()
294 PRINT_RESULT_CMP(0, tc->ret, tc->err, ret, err, cmp_ok); in do_test()
/external/ltp/testcases/kernel/syscalls/utils/
Dinclude_j_h.h108 #define PRINT_RESULT_CMP(rc_has_range, e_rc, e_errno, r_rc, r_errno, cmp_ok) \ argument
110 "r/w check", cmp_ok)