Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/rds/
Dtcp.c500 sk->sk_userlocks |= SOCK_SNDBUF_LOCK; in rds_tcp_tune()
504 sk->sk_userlocks |= SOCK_RCVBUF_LOCK; in rds_tcp_tune()
/kernel/linux/linux-5.10/net/ipv4/
Dping.c442 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()
Dsyncookies.c438 if (sk->sk_userlocks & SOCK_RCVBUF_LOCK && in cookie_v4_check()
Daf_inet.c546 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()
Dtcp_minisocks.c378 if (sk_listener->sk_userlocks & SOCK_RCVBUF_LOCK && in tcp_openreq_init_rwin()
Dtcp.c1711 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()
Dudp.c1926 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()
Dinet_diag.c797 entry.userlocks = sk_fullsock(sk) ? sk->sk_userlocks : 0; in inet_diag_bc_sk()
Dtcp_input.c532 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()
Dtcp_ipv4.c325 if (!(sk->sk_userlocks & SOCK_BINDADDR_LOCK)) in tcp_v4_connect()
Dtcp_output.c3687 if (sk->sk_userlocks & SOCK_RCVBUF_LOCK && in tcp_connect_init()
/kernel/linux/linux-5.10/net/ipv6/
Dsyncookies.c248 if (sk->sk_userlocks & SOCK_RCVBUF_LOCK && in cookie_v6_check()
Daf_inet6.c423 sk->sk_userlocks |= SOCK_BINDADDR_LOCK; in __inet6_bind()
425 sk->sk_userlocks |= SOCK_BINDPORT_LOCK; in __inet6_bind()
Dtcp_ipv6.c344 if (!(sk->sk_userlocks & SOCK_BINDADDR_LOCK)) in tcp_v6_connect()
/kernel/linux/linux-5.10/net/dccp/
Dproto.c102 !(sk->sk_userlocks & SOCK_BINDPORT_LOCK)) in dccp_set_state()
293 if (!(sk->sk_userlocks & SOCK_BINDADDR_LOCK)) in dccp_disconnect()
Dipv4.c133 if (!(sk->sk_userlocks & SOCK_BINDADDR_LOCK)) in dccp_v4_connect()
Dipv6.c960 if (!(sk->sk_userlocks & SOCK_BINDADDR_LOCK)) in dccp_v6_connect()
/kernel/linux/linux-5.10/net/core/
Dsock.c787 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()
Dfilter.c4731 sk->sk_userlocks |= SOCK_RCVBUF_LOCK; in _bpf_setsockopt()
4738 sk->sk_userlocks |= SOCK_SNDBUF_LOCK; in _bpf_setsockopt()
/kernel/linux/linux-5.10/net/netfilter/ipvs/
Dip_vs_sync.c1285 sk->sk_userlocks |= SOCK_SNDBUF_LOCK; in set_sock_size()
1290 sk->sk_userlocks |= SOCK_RCVBUF_LOCK; in set_sock_size()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dtcp_nip_input.c1118 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()
/kernel/linux/linux-5.10/include/net/
Dsock.h474 sk_userlocks : 4; member
2351 if (sk->sk_userlocks & SOCK_SNDBUF_LOCK) in sk_stream_moderate_sndbuf()
/kernel/linux/linux-5.10/net/sunrpc/
Dxprtsock.c1570 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()
/kernel/linux/linux-5.10/net/mptcp/
Dprotocol.c1237 if (!(sk->sk_userlocks & SOCK_SNDBUF_LOCK) && in mptcp_sendmsg()
1425 !(sk->sk_userlocks & SOCK_RCVBUF_LOCK)) { in mptcp_rcv_space_adjust()
/kernel/linux/linux-5.10/drivers/block/drbd/
Ddrbd_receiver.c579 sock->sk->sk_userlocks |= SOCK_SNDBUF_LOCK; in drbd_setbufsize()
583 sock->sk->sk_userlocks |= SOCK_RCVBUF_LOCK; in drbd_setbufsize()