Lines Matching refs:msock
925 struct drbd_socket sock, msock; in conn_connect() local
944 mutex_init(&msock.mutex); in conn_connect()
945 msock.sbuf = connection->meta.sbuf; in conn_connect()
946 msock.rbuf = connection->meta.rbuf; in conn_connect()
947 msock.socket = NULL; in conn_connect()
963 } else if (!msock.socket) { in conn_connect()
965 msock.socket = s; in conn_connect()
966 send_first_packet(connection, &msock, P_INITIAL_META); in conn_connect()
973 if (connection_established(connection, &sock.socket, &msock.socket)) in conn_connect()
981 drbd_socket_okay(&msock.socket); in conn_connect()
994 if (msock.socket) { in conn_connect()
996 sock_release(msock.socket); in conn_connect()
997 msock.socket = s; in conn_connect()
1000 msock.socket = s; in conn_connect()
1020 ok = connection_established(connection, &sock.socket, &msock.socket); in conn_connect()
1027 msock.socket->sk->sk_reuse = SK_CAN_REUSE; /* SO_REUSEADDR */ in conn_connect()
1030 msock.socket->sk->sk_allocation = GFP_NOIO; in conn_connect()
1033 msock.socket->sk->sk_use_task_frag = false; in conn_connect()
1036 msock.socket->sk->sk_priority = TC_PRIO_INTERACTIVE; in conn_connect()
1049 msock.socket->sk->sk_rcvtimeo = nc->ping_int*HZ; in conn_connect()
1054 msock.socket->sk->sk_sndtimeo = timeout; in conn_connect()
1059 tcp_sock_set_nodelay(msock.socket->sk); in conn_connect()
1062 connection->meta.socket = msock.socket; in conn_connect()
1153 if (msock.socket) in conn_connect()
1154 sock_release(msock.socket); in conn_connect()