Lines Matching refs:sk
314 struct sock* sk = server->ncp_sock->sk; in ncp_stop_tasks() local
316 lock_sock(sk); in ncp_stop_tasks()
317 sk->sk_error_report = server->error_report; in ncp_stop_tasks()
318 sk->sk_data_ready = server->data_ready; in ncp_stop_tasks()
319 sk->sk_write_space = server->write_space; in ncp_stop_tasks()
320 release_sock(sk); in ncp_stop_tasks()
324 if (sk->sk_socket->type == SOCK_STREAM) in ncp_stop_tasks()
637 lock_sock(sock->sk); in ncp_fill_super()
638 server->data_ready = sock->sk->sk_data_ready; in ncp_fill_super()
639 server->write_space = sock->sk->sk_write_space; in ncp_fill_super()
640 server->error_report = sock->sk->sk_error_report; in ncp_fill_super()
641 sock->sk->sk_user_data = server; in ncp_fill_super()
642 sock->sk->sk_data_ready = ncp_tcp_data_ready; in ncp_fill_super()
643 sock->sk->sk_error_report = ncp_tcp_error_report; in ncp_fill_super()
650 sock->sk->sk_write_space = ncp_tcp_write_space; in ncp_fill_super()
657 release_sock(sock->sk); in ncp_fill_super()