Home
last modified time | relevance | path

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

/linux-5.19.10/net/mptcp/
Dsockopt.c95 ssk->sk_userlocks |= SOCK_SNDBUF_LOCK; in mptcp_sol_socket_sync_intval()
100 ssk->sk_userlocks |= SOCK_RCVBUF_LOCK; in mptcp_sol_socket_sync_intval()
1246 if (sk->sk_userlocks & tx_rx_locks) { in sync_socket_options()
1247 ssk->sk_userlocks |= sk->sk_userlocks & tx_rx_locks; in sync_socket_options()
1248 if (sk->sk_userlocks & SOCK_SNDBUF_LOCK) in sync_socket_options()
1250 if (sk->sk_userlocks & SOCK_RCVBUF_LOCK) in sync_socket_options()
Dprotocol.h707 if ((sk->sk_userlocks & SOCK_SNDBUF_LOCK) || ssk->sk_sndbuf <= READ_ONCE(sk->sk_sndbuf)) in mptcp_propagate_sndbuf()
Dprotocol.c641 if (!(sk->sk_userlocks & SOCK_RCVBUF_LOCK)) { in __mptcp_move_skbs_from_subflow()
1919 !(sk->sk_userlocks & SOCK_RCVBUF_LOCK)) { in mptcp_rcv_space_adjust()
/linux-5.19.10/net/rds/
Dtcp.c513 sk->sk_userlocks |= SOCK_SNDBUF_LOCK; in rds_tcp_tune()
517 sk->sk_userlocks |= SOCK_RCVBUF_LOCK; in rds_tcp_tune()
/linux-5.19.10/net/ipv4/
Dping.c438 sk->sk_userlocks |= SOCK_BINDADDR_LOCK; in ping_bind()
441 sk->sk_userlocks |= SOCK_BINDADDR_LOCK; in ping_bind()
445 sk->sk_userlocks |= SOCK_BINDPORT_LOCK; in ping_bind()
Dsyncookies.c437 if (sk->sk_userlocks & SOCK_RCVBUF_LOCK && in cookie_v4_check()
Daf_inet.c542 sk->sk_userlocks |= SOCK_BINDADDR_LOCK; in __inet_bind()
544 sk->sk_userlocks |= SOCK_BINDPORT_LOCK; in __inet_bind()
1306 (sk->sk_userlocks & SOCK_BINDADDR_LOCK) || in inet_sk_rebuild_header()
Dtcp_minisocks.c371 if (sk_listener->sk_userlocks & SOCK_RCVBUF_LOCK && in tcp_openreq_init_rwin()
Dtcp.c1749 if (sk->sk_userlocks & SOCK_RCVBUF_LOCK) in tcp_set_rcvlowat()
1759 if (sk->sk_userlocks & SOCK_RCVBUF_LOCK) in tcp_set_rcvlowat()
2648 !(sk->sk_userlocks & SOCK_BINDPORT_LOCK)) in tcp_set_state()
3022 if (!(sk->sk_userlocks & SOCK_BINDADDR_LOCK)) in tcp_disconnect()
Dudp.c1980 if (!(sk->sk_userlocks & SOCK_BINDADDR_LOCK)) { in __udp_disconnect()
1983 (sk->sk_userlocks & SOCK_BINDPORT_LOCK)) in __udp_disconnect()
1987 if (!(sk->sk_userlocks & SOCK_BINDPORT_LOCK)) { in __udp_disconnect()
Dinet_diag.c800 entry.userlocks = sk_fullsock(sk) ? sk->sk_userlocks : 0; in inet_diag_bc_sk()
Dtcp_input.c541 if (!(sk->sk_userlocks & SOCK_SNDBUF_LOCK)) in tcp_init_buffer_space()
583 !(sk->sk_userlocks & SOCK_RCVBUF_LOCK) && in tcp_clamp_window()
729 !(sk->sk_userlocks & SOCK_RCVBUF_LOCK)) { in tcp_rcv_space_adjust()
5435 if (sk->sk_userlocks & SOCK_SNDBUF_LOCK) in tcp_should_expand_sndbuf()
Dtcp_output.c3681 if (sk->sk_userlocks & SOCK_RCVBUF_LOCK && in tcp_connect_init()
/linux-5.19.10/net/ipv6/
Dsyncookies.c248 if (sk->sk_userlocks & SOCK_RCVBUF_LOCK && in cookie_v6_check()
Daf_inet6.c425 sk->sk_userlocks |= SOCK_BINDADDR_LOCK; in __inet6_bind()
427 sk->sk_userlocks |= SOCK_BINDPORT_LOCK; in __inet6_bind()
/linux-5.19.10/net/core/
Dsock.c952 sk->sk_userlocks |= SOCK_RCVBUF_LOCK; in __sock_set_rcvbuf()
1109 sk->sk_userlocks |= SOCK_SNDBUF_LOCK; in sock_setsockopt()
1464 sk->sk_userlocks = val | (sk->sk_userlocks & in sock_setsockopt()
1878 v.val = sk->sk_userlocks & SOCK_BUF_LOCK_MASK; in sock_getsockopt()
2207 newsk->sk_userlocks = sk->sk_userlocks & ~SOCK_BINDPORT_LOCK; in sk_clone_lock()
Dfilter.c5042 sk->sk_userlocks |= SOCK_RCVBUF_LOCK; in _bpf_setsockopt()
5049 sk->sk_userlocks |= SOCK_SNDBUF_LOCK; in _bpf_setsockopt()
/linux-5.19.10/net/dccp/
Dproto.c102 !(sk->sk_userlocks & SOCK_BINDPORT_LOCK)) in dccp_set_state()
282 if (!(sk->sk_userlocks & SOCK_BINDADDR_LOCK)) in dccp_disconnect()
/linux-5.19.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()
/linux-5.19.10/include/net/
Dsock.h477 sk_userlocks : 4; member
2517 if (sk->sk_userlocks & SOCK_SNDBUF_LOCK) in sk_stream_moderate_sndbuf()
/linux-5.19.10/net/sunrpc/
Dxprtsock.c1565 sk->sk_userlocks |= SOCK_RCVBUF_LOCK; in xs_udp_do_set_buffer_size()
1569 sk->sk_userlocks |= SOCK_SNDBUF_LOCK; in xs_udp_do_set_buffer_size()
/linux-5.19.10/drivers/block/drbd/
Ddrbd_receiver.c581 sock->sk->sk_userlocks |= SOCK_SNDBUF_LOCK; in drbd_setbufsize()
585 sock->sk->sk_userlocks |= SOCK_RCVBUF_LOCK; in drbd_setbufsize()