Searched refs:sk_userlocks (Results 1 – 22 of 22) sorted by relevance
95 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()
707 if ((sk->sk_userlocks & SOCK_SNDBUF_LOCK) || ssk->sk_sndbuf <= READ_ONCE(sk->sk_sndbuf)) in mptcp_propagate_sndbuf()
641 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()
513 sk->sk_userlocks |= SOCK_SNDBUF_LOCK; in rds_tcp_tune()517 sk->sk_userlocks |= SOCK_RCVBUF_LOCK; in rds_tcp_tune()
438 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()
437 if (sk->sk_userlocks & SOCK_RCVBUF_LOCK && in cookie_v4_check()
542 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()
371 if (sk_listener->sk_userlocks & SOCK_RCVBUF_LOCK && in tcp_openreq_init_rwin()
1749 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()
1980 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()
800 entry.userlocks = sk_fullsock(sk) ? sk->sk_userlocks : 0; in inet_diag_bc_sk()
541 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()
3681 if (sk->sk_userlocks & SOCK_RCVBUF_LOCK && in tcp_connect_init()
248 if (sk->sk_userlocks & SOCK_RCVBUF_LOCK && in cookie_v6_check()
425 sk->sk_userlocks |= SOCK_BINDADDR_LOCK; in __inet6_bind()427 sk->sk_userlocks |= SOCK_BINDPORT_LOCK; in __inet6_bind()
952 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()
5042 sk->sk_userlocks |= SOCK_RCVBUF_LOCK; in _bpf_setsockopt()5049 sk->sk_userlocks |= SOCK_SNDBUF_LOCK; in _bpf_setsockopt()
102 !(sk->sk_userlocks & SOCK_BINDPORT_LOCK)) in dccp_set_state()282 if (!(sk->sk_userlocks & SOCK_BINDADDR_LOCK)) in dccp_disconnect()
1285 sk->sk_userlocks |= SOCK_SNDBUF_LOCK; in set_sock_size()1290 sk->sk_userlocks |= SOCK_RCVBUF_LOCK; in set_sock_size()
477 sk_userlocks : 4; member2517 if (sk->sk_userlocks & SOCK_SNDBUF_LOCK) in sk_stream_moderate_sndbuf()
1565 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()
581 sock->sk->sk_userlocks |= SOCK_SNDBUF_LOCK; in drbd_setbufsize()585 sock->sk->sk_userlocks |= SOCK_RCVBUF_LOCK; in drbd_setbufsize()