Lines Matching refs:sk
3037 struct sock *sk = sock->sk; in cifs_reclassify_socket4() local
3038 BUG_ON(sock_owned_by_user(sk)); in cifs_reclassify_socket4()
3039 sock_lock_init_class_and_name(sk, "slock-AF_INET-CIFS", in cifs_reclassify_socket4()
3046 struct sock *sk = sock->sk; in cifs_reclassify_socket6() local
3047 BUG_ON(sock_owned_by_user(sk)); in cifs_reclassify_socket6()
3048 sock_lock_init_class_and_name(sk, "slock-AF_INET6-CIFS", in cifs_reclassify_socket6()
3209 socket->sk->sk_allocation = GFP_NOFS; in generic_ip_connect()
3225 socket->sk->sk_rcvtimeo = 7 * HZ; in generic_ip_connect()
3226 socket->sk->sk_sndtimeo = 5 * HZ; in generic_ip_connect()
3230 if (socket->sk->sk_sndbuf < (200 * 1024)) in generic_ip_connect()
3231 socket->sk->sk_sndbuf = 200 * 1024; in generic_ip_connect()
3232 if (socket->sk->sk_rcvbuf < (140 * 1024)) in generic_ip_connect()
3233 socket->sk->sk_rcvbuf = 140 * 1024; in generic_ip_connect()
3246 socket->sk->sk_sndbuf, in generic_ip_connect()
3247 socket->sk->sk_rcvbuf, socket->sk->sk_rcvtimeo); in generic_ip_connect()