Lines Matching refs:upper_xprt
2491 struct rpc_xprt *upper_xprt = &upper_transport->xprt; in xs_tcp_tls_finish_connecting() local
2504 if (xs_addr(upper_xprt)->sa_family == PF_INET6) in xs_tcp_tls_finish_connecting()
2507 xs_tcp_set_socket_timeouts(upper_xprt, sock); in xs_tcp_tls_finish_connecting()
2519 sk->sk_user_data = upper_xprt; in xs_tcp_tls_finish_connecting()
2524 xprt_clear_connected(upper_xprt); in xs_tcp_tls_finish_connecting()
2544 if (!xprt_bound(upper_xprt)) in xs_tcp_tls_finish_connecting()
2547 xs_set_memalloc(upper_xprt); in xs_tcp_tls_finish_connecting()
2549 if (!xprt_test_and_set_connected(upper_xprt)) { in xs_tcp_tls_finish_connecting()
2550 upper_xprt->connect_cookie++; in xs_tcp_tls_finish_connecting()
2552 xprt_clear_connecting(upper_xprt); in xs_tcp_tls_finish_connecting()
2554 upper_xprt->stat.connect_count++; in xs_tcp_tls_finish_connecting()
2555 upper_xprt->stat.connect_time += (long)jiffies - in xs_tcp_tls_finish_connecting()
2556 upper_xprt->stat.connect_start; in xs_tcp_tls_finish_connecting()
2658 struct rpc_xprt *upper_xprt = &upper_transport->xprt; in xs_tcp_tls_setup_socket() local
2660 .net = upper_xprt->xprt_net, in xs_tcp_tls_setup_socket()
2661 .protocol = upper_xprt->prot, in xs_tcp_tls_setup_socket()
2662 .address = (struct sockaddr *)&upper_xprt->addr, in xs_tcp_tls_setup_socket()
2663 .addrsize = upper_xprt->addrlen, in xs_tcp_tls_setup_socket()
2665 .servername = upper_xprt->servername, in xs_tcp_tls_setup_socket()
2681 if (atomic_read(&upper_xprt->swapper)) in xs_tcp_tls_setup_socket()
2689 trace_rpc_tls_unavailable(upper_clnt, upper_xprt); in xs_tcp_tls_setup_socket()
2691 xprt_clear_connecting(upper_xprt); in xs_tcp_tls_setup_socket()
2692 xprt_wake_pending_tasks(upper_xprt, PTR_ERR(lower_clnt)); in xs_tcp_tls_setup_socket()
2707 status = xs_tls_handshake_sync(lower_xprt, &upper_xprt->xprtsec); in xs_tcp_tls_setup_socket()
2709 trace_rpc_tls_not_started(upper_clnt, upper_xprt); in xs_tcp_tls_setup_socket()
2718 trace_rpc_socket_connect(upper_xprt, upper_transport->sock, 0); in xs_tcp_tls_setup_socket()
2719 if (!xprt_test_and_set_connected(upper_xprt)) { in xs_tcp_tls_setup_socket()
2720 upper_xprt->connect_cookie++; in xs_tcp_tls_setup_socket()
2722 xprt_clear_connecting(upper_xprt); in xs_tcp_tls_setup_socket()
2724 upper_xprt->stat.connect_count++; in xs_tcp_tls_setup_socket()
2725 upper_xprt->stat.connect_time += (long)jiffies - in xs_tcp_tls_setup_socket()
2726 upper_xprt->stat.connect_start; in xs_tcp_tls_setup_socket()
2734 xprt_unlock_connect(upper_xprt, upper_transport); in xs_tcp_tls_setup_socket()
2744 xprt_wake_pending_tasks(upper_xprt, status); in xs_tcp_tls_setup_socket()
2745 xs_tcp_force_close(upper_xprt); in xs_tcp_tls_setup_socket()
2746 xprt_clear_connecting(upper_xprt); in xs_tcp_tls_setup_socket()