Lines Matching full:check

18 	if (CHECK(skel->bss->calls != exp_calls, "call_cnt",  in ping_and_check()
21 if (CHECK(skel->bss->alt_calls != exp_alt_calls, "alt_call_cnt", in ping_and_check()
47 if (CHECK(!skel, "skel_open_load", "failed to open/load skeleton\n")) in serial_test_cgroup_link()
52 if (CHECK(err, "cg_init", "failed: %d\n", err)) in serial_test_cgroup_link()
62 if (CHECK(err, "cg_join", "fail: %d\n", err)) in serial_test_cgroup_link()
79 if (CHECK(prog_cnt != 1, "effect_cnt", "exp %d, got %d\n", 1, prog_cnt)) in serial_test_cgroup_link()
87 if (CHECK(prog_cnt != cg_nr, "effect_cnt", "exp %d, got %d\n", in serial_test_cgroup_link()
96 if (CHECK(prog_cnt != cg_nr, "effect_cnt", "exp %d, got %d\n", in serial_test_cgroup_link()
100 CHECK(prog_ids[i - 1] != prog_ids[i], "prog_id_check", in serial_test_cgroup_link()
114 if (CHECK(err, "cg_attach_legacy", "errno=%d\n", errno)) in serial_test_cgroup_link()
131 if (CHECK(err, "cg_detach_legacy", "errno=%d\n", errno)) in serial_test_cgroup_link()
138 if (CHECK(err, "cg_attach_exclusive", "errno=%d\n", errno)) in serial_test_cgroup_link()
154 if (CHECK(err, "cg_detach_legacy", "errno=%d\n", errno)) in serial_test_cgroup_link()
168 /* check legacy exclusive prog can't be attached */ in serial_test_cgroup_link()
171 if (CHECK(!err, "cg_attach_exclusive", "unexpected success")) { in serial_test_cgroup_link()
179 if (CHECK(err, "prog_upd", "link #%d\n", i)) in serial_test_cgroup_link()
191 if (CHECK(err == 0 || errno != EPERM, "prog_cmpxchg1", in serial_test_cgroup_link()
201 if (CHECK(err, "prog_cmpxchg2", "errno %d\n", -errno)) in serial_test_cgroup_link()
219 CHECK(prog_id == 0, "link_info", "failed\n"); in serial_test_cgroup_link()
220 CHECK(info.cgroup.cgroup_id == 0, "cgroup_id", "unexpected %llu\n", info.cgroup.cgroup_id); in serial_test_cgroup_link()
223 if (CHECK(err, "link_detach", "failed %d\n", err)) in serial_test_cgroup_link()
228 CHECK(prog_id == 0, "link_info", "failed\n"); in serial_test_cgroup_link()
229 CHECK(info.cgroup.cgroup_id != 0, "cgroup_id", "unexpected %llu\n", info.cgroup.cgroup_id); in serial_test_cgroup_link()