Searched refs:sk_userlocks (Results 1 – 25 of 25) sorted by relevance
500 sk->sk_userlocks |= SOCK_SNDBUF_LOCK; in rds_tcp_tune()504 sk->sk_userlocks |= SOCK_RCVBUF_LOCK; in rds_tcp_tune()
442 sk->sk_userlocks |= SOCK_BINDADDR_LOCK; in ping_bind()445 sk->sk_userlocks |= SOCK_BINDADDR_LOCK; in ping_bind()449 sk->sk_userlocks |= SOCK_BINDPORT_LOCK; in ping_bind()
438 if (sk->sk_userlocks & SOCK_RCVBUF_LOCK && in cookie_v4_check()
546 sk->sk_userlocks |= SOCK_BINDADDR_LOCK; in __inet_bind()548 sk->sk_userlocks |= SOCK_BINDPORT_LOCK; in __inet_bind()1316 (sk->sk_userlocks & SOCK_BINDADDR_LOCK) || in inet_sk_rebuild_header()
378 if (sk_listener->sk_userlocks & SOCK_RCVBUF_LOCK && in tcp_openreq_init_rwin()
1711 if (sk->sk_userlocks & SOCK_RCVBUF_LOCK) in tcp_set_rcvlowat()1721 if (sk->sk_userlocks & SOCK_RCVBUF_LOCK) in tcp_set_rcvlowat()2398 !(sk->sk_userlocks & SOCK_BINDPORT_LOCK)) in tcp_set_state()2776 if (!(sk->sk_userlocks & SOCK_BINDADDR_LOCK)) in tcp_disconnect()
1926 if (!(sk->sk_userlocks & SOCK_BINDADDR_LOCK)) { in __udp_disconnect()1929 (sk->sk_userlocks & SOCK_BINDPORT_LOCK)) in __udp_disconnect()1933 if (!(sk->sk_userlocks & SOCK_BINDPORT_LOCK)) { in __udp_disconnect()
797 entry.userlocks = sk_fullsock(sk) ? sk->sk_userlocks : 0; in inet_diag_bc_sk()
532 if (!(sk->sk_userlocks & SOCK_SNDBUF_LOCK)) in tcp_init_buffer_space()574 !(sk->sk_userlocks & SOCK_RCVBUF_LOCK) && in tcp_clamp_window()720 !(sk->sk_userlocks & SOCK_RCVBUF_LOCK)) { in tcp_rcv_space_adjust()5388 if (sk->sk_userlocks & SOCK_SNDBUF_LOCK) in tcp_should_expand_sndbuf()
325 if (!(sk->sk_userlocks & SOCK_BINDADDR_LOCK)) in tcp_v4_connect()
3687 if (sk->sk_userlocks & SOCK_RCVBUF_LOCK && in tcp_connect_init()
248 if (sk->sk_userlocks & SOCK_RCVBUF_LOCK && in cookie_v6_check()
423 sk->sk_userlocks |= SOCK_BINDADDR_LOCK; in __inet6_bind()425 sk->sk_userlocks |= SOCK_BINDPORT_LOCK; in __inet6_bind()
344 if (!(sk->sk_userlocks & SOCK_BINDADDR_LOCK)) in tcp_v6_connect()
102 !(sk->sk_userlocks & SOCK_BINDPORT_LOCK)) in dccp_set_state()293 if (!(sk->sk_userlocks & SOCK_BINDADDR_LOCK)) in dccp_disconnect()
133 if (!(sk->sk_userlocks & SOCK_BINDADDR_LOCK)) in dccp_v4_connect()
960 if (!(sk->sk_userlocks & SOCK_BINDADDR_LOCK)) in dccp_v6_connect()
787 sk->sk_userlocks |= SOCK_RCVBUF_LOCK; in __sock_set_rcvbuf()896 sk->sk_userlocks |= SOCK_SNDBUF_LOCK; in sock_setsockopt()1923 newsk->sk_userlocks = sk->sk_userlocks & ~SOCK_BINDPORT_LOCK; in sk_clone_lock()
4731 sk->sk_userlocks |= SOCK_RCVBUF_LOCK; in _bpf_setsockopt()4738 sk->sk_userlocks |= SOCK_SNDBUF_LOCK; in _bpf_setsockopt()
1285 sk->sk_userlocks |= SOCK_SNDBUF_LOCK; in set_sock_size()1290 sk->sk_userlocks |= SOCK_RCVBUF_LOCK; in set_sock_size()
1118 if ((sk_listener->sk_userlocks & SOCK_RCVBUF_LOCK) && in tcp_nip_openreq_init_rwin()1842 if (!(sk->sk_userlocks & SOCK_RCVBUF_LOCK)) in tcp_nip_init_buffer_space()
474 sk_userlocks : 4; member2351 if (sk->sk_userlocks & SOCK_SNDBUF_LOCK) in sk_stream_moderate_sndbuf()
1570 sk->sk_userlocks |= SOCK_RCVBUF_LOCK; in xs_udp_do_set_buffer_size()1574 sk->sk_userlocks |= SOCK_SNDBUF_LOCK; in xs_udp_do_set_buffer_size()
1237 if (!(sk->sk_userlocks & SOCK_SNDBUF_LOCK) && in mptcp_sendmsg()1425 !(sk->sk_userlocks & SOCK_RCVBUF_LOCK)) { in mptcp_rcv_space_adjust()
579 sock->sk->sk_userlocks |= SOCK_SNDBUF_LOCK; in drbd_setbufsize()583 sock->sk->sk_userlocks |= SOCK_RCVBUF_LOCK; in drbd_setbufsize()