Home
last modified time | relevance | path

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

/linux-2.6.39/net/rds/
Dtcp.c79 sk->sk_userlocks |= SOCK_SNDBUF_LOCK|SOCK_RCVBUF_LOCK; in rds_tcp_tune()
/linux-2.6.39/net/ipv4/
Daf_inet.c516 sk->sk_userlocks |= SOCK_BINDADDR_LOCK; in inet_bind()
518 sk->sk_userlocks |= SOCK_BINDPORT_LOCK; in inet_bind()
1178 (sk->sk_userlocks & SOCK_BINDADDR_LOCK) || in inet_sk_rebuild_header()
Dinet_diag.c515 entry.userlocks = sk->sk_userlocks; in inet_csk_diag_dump()
649 entry.userlocks = sk->sk_userlocks; in inet_diag_dump_reqs()
Dtcp_input.c363 if (!(sk->sk_userlocks & SOCK_RCVBUF_LOCK)) in tcp_init_buffer_space()
365 if (!(sk->sk_userlocks & SOCK_SNDBUF_LOCK)) in tcp_init_buffer_space()
400 !(sk->sk_userlocks & SOCK_RCVBUF_LOCK) && in tcp_clamp_window()
524 !(sk->sk_userlocks & SOCK_RCVBUF_LOCK)) { in tcp_rcv_space_adjust()
4861 if (sk->sk_userlocks & SOCK_SNDBUF_LOCK) in tcp_should_expand_sndbuf()
Dudp.c1260 if (!(sk->sk_userlocks & SOCK_BINDADDR_LOCK)) in udp_disconnect()
1263 if (!(sk->sk_userlocks & SOCK_BINDPORT_LOCK)) { in udp_disconnect()
Dtcp.c1801 !(sk->sk_userlocks & SOCK_BINDPORT_LOCK)) in tcp_set_state()
2083 if (!(sk->sk_userlocks & SOCK_BINDADDR_LOCK)) in tcp_disconnect()
Dtcp_output.c2445 if (sk->sk_userlocks & SOCK_RCVBUF_LOCK && in tcp_make_synack()
2576 if (sk->sk_userlocks & SOCK_RCVBUF_LOCK && in tcp_connect_init()
/linux-2.6.39/net/dccp/
Dproto.c101 !(sk->sk_userlocks & SOCK_BINDPORT_LOCK)) in dccp_set_state()
285 if (!(sk->sk_userlocks & SOCK_BINDADDR_LOCK)) in dccp_disconnect()
/linux-2.6.39/net/core/
Dsock.c537 sk->sk_userlocks |= SOCK_SNDBUF_LOCK; in sock_setsockopt()
566 sk->sk_userlocks |= SOCK_RCVBUF_LOCK; in sock_setsockopt()
1247 newsk->sk_userlocks = sk->sk_userlocks & ~SOCK_BINDPORT_LOCK; in sk_clone()
/linux-2.6.39/net/ipv6/
Daf_inet6.c373 sk->sk_userlocks |= SOCK_BINDADDR_LOCK; in inet6_bind()
378 sk->sk_userlocks |= SOCK_BINDPORT_LOCK; in inet6_bind()
/linux-2.6.39/net/sctp/
Dulpevent.c704 if ((asoc->base.sk->sk_userlocks & SOCK_RCVBUF_LOCK) || in sctp_ulpevent_make_rcvmsg()
Dsocket.c139 if (asoc->base.sk->sk_userlocks & SOCK_SNDBUF_LOCK) in sctp_wspace()
/linux-2.6.39/include/net/
Dsock.h303 sk_userlocks : 4, member
1596 if (!(sk->sk_userlocks & SOCK_SNDBUF_LOCK)) { in sk_stream_moderate_sndbuf()
/linux-2.6.39/net/sunrpc/
Dxprtsock.c1456 sk->sk_userlocks |= SOCK_RCVBUF_LOCK; in xs_udp_do_set_buffer_size()
1460 sk->sk_userlocks |= SOCK_SNDBUF_LOCK; in xs_udp_do_set_buffer_size()
1777 sk->sk_userlocks |= SOCK_BINDPORT_LOCK; in xs_tcp_finish_connecting()
Dsvcsock.c412 sock->sk->sk_userlocks |= SOCK_SNDBUF_LOCK|SOCK_RCVBUF_LOCK; in svc_sock_setbufsize()
/linux-2.6.39/drivers/block/drbd/
Ddrbd_receiver.c561 sock->sk->sk_userlocks |= SOCK_SNDBUF_LOCK; in drbd_setbufsize()
565 sock->sk->sk_userlocks |= SOCK_RCVBUF_LOCK; in drbd_setbufsize()