Lines Matching refs:ASSERT_OK

41 	if (!ASSERT_OK(err, "setsockopt(TCP_REPAIR)"))  in connected_socket_v4()
45 if (!ASSERT_OK(err, "connect")) in connected_socket_v4()
50 if (!ASSERT_OK(err, "setsockopt(TCP_REPAIR)")) in connected_socket_v4()
78 if (!ASSERT_OK(err, "lookup_elem(src)")) in compare_cookies()
82 if (!ASSERT_OK(err, "lookup_elem(dst)")) in compare_cookies()
104 if (!ASSERT_OK(err, "bpf_map_update")) in test_sockmap_create_update_free()
122 if (!ASSERT_OK(err, "create_pair")) in test_sockmap_vsock_delete_on_close()
132 if (!ASSERT_OK(err, "create_pair")) in test_sockmap_vsock_delete_on_close()
136 ASSERT_OK(err, "after close(), bpf_map_update"); in test_sockmap_vsock_delete_on_close()
158 if (!ASSERT_OK(err, "bpf_prog_attach")) in test_skmsg_helpers()
162 if (!ASSERT_OK(err, "bpf_prog_detach2")) in test_skmsg_helpers()
202 if (!ASSERT_OK(err, "bpf_link__update_program")) in test_skmsg_helpers_with_link()
220 if (!ASSERT_OK(err, "bpf_link_update")) in test_skmsg_helpers_with_link()
257 if (!ASSERT_OK(err, "update_elem(src)")) in test_sockmap_update()
261 if (!ASSERT_OK(err, "test_run")) in test_sockmap_update()
324 if (!ASSERT_OK(err, "map_update")) in test_sockmap_copy()
381 if (!ASSERT_OK(err, "bpf_prog_attach")) in test_sockmap_skb_verdict_attach()
388 if (!ASSERT_OK(err, "bpf_prog_detach2")) in test_sockmap_skb_verdict_attach()
413 if (!ASSERT_OK(err, "bpf_prog_attach")) in test_sockmap_skb_verdict_attach_with_link()
422 if (!ASSERT_OK(err, "bpf_prog_detach2")) in test_sockmap_skb_verdict_attach_with_link()
435 if (!ASSERT_OK(err, "bpf_prog_get_info_by_fd") || in query_prog_id()
463 ASSERT_OK(err, "bpf_prog_query failed"); in test_sockmap_progs_query()
468 if (!ASSERT_OK(err, "bpf_prog_attach failed")) in test_sockmap_progs_query()
474 ASSERT_OK(err, "bpf_prog_query failed"); in test_sockmap_progs_query()
503 if (!ASSERT_OK(err, "bpf_prog_attach")) in test_sockmap_skb_verdict_shutdown()
523 if (!ASSERT_OK(err, "epoll_ctl(EPOLL_CTL_ADD)")) in test_sockmap_skb_verdict_shutdown()
566 if (!ASSERT_OK(err, "bpf_prog_attach")) in test_sockmap_skb_verdict_fionread()
570 if (!ASSERT_OK(err, "create_socket_pairs()")) in test_sockmap_skb_verdict_fionread()
574 if (!ASSERT_OK(err, "bpf_map_update_elem(c1)")) in test_sockmap_skb_verdict_fionread()
580 ASSERT_OK(err, "ioctl(FIONREAD) error"); in test_sockmap_skb_verdict_fionread()
615 if (!ASSERT_OK(err, "bpf_prog_attach")) in test_sockmap_skb_verdict_change_tail()
618 if (!ASSERT_OK(err, "create_pair()")) in test_sockmap_skb_verdict_change_tail()
621 if (!ASSERT_OK(err, "bpf_map_update_elem(c1)")) in test_sockmap_skb_verdict_change_tail()
655 if (!ASSERT_OK(err, "create_pair()")) in test_sockmap_skb_verdict_peek_helper()
659 if (!ASSERT_OK(err, "bpf_map_update_elem(c1)")) in test_sockmap_skb_verdict_peek_helper()
667 ASSERT_OK(err, "ioctl(FIONREAD) error"); in test_sockmap_skb_verdict_peek_helper()
672 ASSERT_OK(err, "ioctl(FIONREAD) error"); in test_sockmap_skb_verdict_peek_helper()
692 if (!ASSERT_OK(err, "bpf_prog_attach")) in test_sockmap_skb_verdict_peek()
718 if (!ASSERT_OK(err, "bpf_link__update_program")) in test_sockmap_skb_verdict_peek_with_link()
758 ASSERT_OK(err, "bpf_map_update_elem(dgram)"); in test_sockmap_unconnected_unix()
798 ASSERT_OK(err, "socketpair(af_unix, sock_stream)"); in test_sockmap_many_socket()
804 ASSERT_OK(err, "bpf_map_update_elem(stream)"); in test_sockmap_many_socket()
808 ASSERT_OK(err, "bpf_map_update_elem(dgram)"); in test_sockmap_many_socket()
812 ASSERT_OK(err, "bpf_map_update_elem(udp)"); in test_sockmap_many_socket()
816 ASSERT_OK(err, "bpf_map_update_elem(tcp)"); in test_sockmap_many_socket()
820 ASSERT_OK(err, "bpf_map_delete_elem(entry)"); in test_sockmap_many_socket()
867 ASSERT_OK(err, "socketpair(af_unix, sock_stream)"); in test_sockmap_many_maps()
873 ASSERT_OK(err, "bpf_map_update_elem(stream)"); in test_sockmap_many_maps()
877 ASSERT_OK(err, "bpf_map_update_elem(dgram)"); in test_sockmap_many_maps()
881 ASSERT_OK(err, "bpf_map_update_elem(udp)"); in test_sockmap_many_maps()
885 ASSERT_OK(err, "bpf_map_update_elem(tcp)"); in test_sockmap_many_maps()
890 ASSERT_OK(err, "bpf_map_delete_elem(entry)"); in test_sockmap_many_maps()
892 ASSERT_OK(err, "bpf_map_delete_elem(entry)"); in test_sockmap_many_maps()
938 ASSERT_OK(err, "socketpair(af_unix, sock_stream)"); in test_sockmap_same_sock()
946 ASSERT_OK(err, "bpf_map_update_elem(stream)"); in test_sockmap_same_sock()
950 ASSERT_OK(err, "bpf_map_update_elem(dgram)"); in test_sockmap_same_sock()
954 ASSERT_OK(err, "bpf_map_update_elem(udp)"); in test_sockmap_same_sock()
958 ASSERT_OK(err, "bpf_map_update_elem(tcp)"); in test_sockmap_same_sock()
996 if (!ASSERT_OK(err, "bpf_map_update_elem")) in test_sockmap_skb_verdict_vsock_poll()
1003 if (!ASSERT_OK(err, "poll")) in test_sockmap_skb_verdict_vsock_poll()