Lines Matching refs:lower_transport
2489 struct sock_xprt *lower_transport = in xs_tcp_tls_finish_connecting() local
2494 struct socket *sock = lower_transport->sock; in xs_tcp_tls_finish_connecting()
2515 upper_transport->old_data_ready = lower_transport->old_data_ready; in xs_tcp_tls_finish_connecting()
2516 upper_transport->old_state_change = lower_transport->old_state_change; in xs_tcp_tls_finish_connecting()
2517 upper_transport->old_write_space = lower_transport->old_write_space; in xs_tcp_tls_finish_connecting()
2518 upper_transport->old_error_report = lower_transport->old_error_report; in xs_tcp_tls_finish_connecting()
2528 upper_transport->file = lower_transport->file; in xs_tcp_tls_finish_connecting()
2533 mutex_lock(&lower_transport->recv_mutex); in xs_tcp_tls_finish_connecting()
2534 lower_transport->inet = NULL; in xs_tcp_tls_finish_connecting()
2535 lower_transport->sock = NULL; in xs_tcp_tls_finish_connecting()
2536 lower_transport->file = NULL; in xs_tcp_tls_finish_connecting()
2540 xs_stream_reset_connect(lower_transport); in xs_tcp_tls_finish_connecting()
2541 mutex_unlock(&lower_transport->recv_mutex); in xs_tcp_tls_finish_connecting()
2572 struct sock_xprt *lower_transport = in xs_tls_handshake_done() local
2575 lower_transport->xprt_err = status ? -EACCES : 0; in xs_tls_handshake_done()
2576 complete(&lower_transport->handshake_done); in xs_tls_handshake_done()
2582 struct sock_xprt *lower_transport = in xs_tls_handshake_sync() local
2585 .ta_sock = lower_transport->sock, in xs_tls_handshake_sync()
2590 struct sock *sk = lower_transport->inet; in xs_tls_handshake_sync()
2593 init_completion(&lower_transport->handshake_done); in xs_tls_handshake_sync()
2594 set_bit(XPRT_SOCK_IGNORE_RECV, &lower_transport->sock_state); in xs_tls_handshake_sync()
2595 lower_transport->xprt_err = -ETIMEDOUT; in xs_tls_handshake_sync()
2614 rc = wait_for_completion_interruptible_timeout(&lower_transport->handshake_done, in xs_tls_handshake_sync()
2624 rc = lower_transport->xprt_err; in xs_tls_handshake_sync()
2627 xs_stream_reset_connect(lower_transport); in xs_tls_handshake_sync()
2628 clear_bit(XPRT_SOCK_IGNORE_RECV, &lower_transport->sock_state); in xs_tls_handshake_sync()