Home
last modified time | relevance | path

Searched refs:s_listen (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.15/drivers/block/drbd/
Ddrbd_receiver.c679 struct socket *s_listen; member
700 struct socket *s_listen; in prepare_listen_socket() local
719 SOCK_STREAM, IPPROTO_TCP, &s_listen); in prepare_listen_socket()
721 s_listen = NULL; in prepare_listen_socket()
725 s_listen->sk->sk_reuse = SK_CAN_REUSE; /* SO_REUSEADDR */ in prepare_listen_socket()
726 drbd_setbufsize(s_listen, sndbuf_size, rcvbuf_size); in prepare_listen_socket()
729 err = s_listen->ops->bind(s_listen, (struct sockaddr *)&my_addr, my_addr_len); in prepare_listen_socket()
733 ad->s_listen = s_listen; in prepare_listen_socket()
734 write_lock_bh(&s_listen->sk->sk_callback_lock); in prepare_listen_socket()
735 ad->original_sk_state_change = s_listen->sk->sk_state_change; in prepare_listen_socket()
[all …]