Lines Matching refs:CHECK

21 	if (CHECK(!skel1, "skel_load", "skeleton open and load failed\n"))  in serial_test_xdp_link()
26 if (CHECK(!skel2, "skel_load", "skeleton open and load failed\n")) in serial_test_xdp_link()
32 if (CHECK(err, "fd_info1", "failed %d\n", -errno)) in serial_test_xdp_link()
38 if (CHECK(err, "fd_info2", "failed %d\n", -errno)) in serial_test_xdp_link()
44 if (CHECK(err, "fd_attach", "initial prog attach failed: %d\n", err)) in serial_test_xdp_link()
49 CHECK(err || id0 != id1, "id1_check", in serial_test_xdp_link()
65 if (CHECK(err, "prog_detach", "failed %d\n", err)) in serial_test_xdp_link()
76 if (CHECK(err || id0 != id1, "id1_check", in serial_test_xdp_link()
83 if (CHECK(!err, "prog_attach_fail", "unexpected success\n")) in serial_test_xdp_link()
88 if (CHECK(!err, "prog_update_fail", "unexpected success\n")) in serial_test_xdp_link()
93 if (CHECK(!err, "prog_detach_fail", "unexpected success\n")) in serial_test_xdp_link()
113 if (CHECK(err || id0 != id2, "id2_check", in serial_test_xdp_link()
119 if (CHECK(err, "link_upd", "failed: %d\n", err)) in serial_test_xdp_link()
124 if (CHECK(err, "link_info", "failed: %d\n", err)) in serial_test_xdp_link()
127 CHECK(link_info.type != BPF_LINK_TYPE_XDP, "link_type", in serial_test_xdp_link()
129 CHECK(link_info.prog_id != id1, "link_prog_id", in serial_test_xdp_link()
131 CHECK(link_info.xdp.ifindex != IFINDEX_LO, "link_ifindex", in serial_test_xdp_link()
135 if (CHECK(err, "link_detach", "failed %d\n", err)) in serial_test_xdp_link()
140 if (CHECK(err, "link_info", "failed: %d\n", err)) in serial_test_xdp_link()
142 CHECK(link_info.prog_id != id1, "link_prog_id", in serial_test_xdp_link()
145 CHECK(link_info.xdp.ifindex != 0, "link_ifindex", in serial_test_xdp_link()