sk_sndbuf 73 crypto/algif_hash.c if (limit > sk->sk_sndbuf) sk_sndbuf 74 crypto/algif_hash.c limit = sk->sk_sndbuf; sk_sndbuf 728 drivers/atm/idt77252.c (sk->sk_sndbuf >> 1)) { sk_sndbuf 1802 drivers/atm/iphase.c sk->sk_sndbuf = vcc->qos.txtp.max_sdu * 5; sk_sndbuf 1804 drivers/atm/iphase.c sk->sk_sndbuf = vcc->qos.txtp.max_sdu * 4; sk_sndbuf 1806 drivers/atm/iphase.c sk->sk_sndbuf = vcc->qos.txtp.max_sdu * 3; sk_sndbuf 1809 drivers/atm/iphase.c sk->sk_sndbuf = 24576; sk_sndbuf 1501 drivers/block/drbd/drbd_main.c if (sk->sk_wmem_queued > sk->sk_sndbuf * 4 / 5) sk_sndbuf 577 drivers/block/drbd/drbd_receiver.c sock->sk->sk_sndbuf = snd; sk_sndbuf 636 drivers/block/drbd/drbd_worker.c int sndbuf = sk->sk_sndbuf; sk_sndbuf 1095 drivers/crypto/chelsio/chtls/chtls_cm.c csk->sndbuf = newsk->sk_sndbuf; sk_sndbuf 1040 drivers/net/tap.c q->sk.sk_sndbuf = s; sk_sndbuf 1588 drivers/net/tun.c if (tfile->socket.sk->sk_sndbuf != INT_MAX) sk_sndbuf 2815 drivers/net/tun.c tun->sndbuf = tfile->socket.sk->sk_sndbuf; sk_sndbuf 2978 drivers/net/tun.c tfile->socket.sk->sk_sndbuf = tun->sndbuf; sk_sndbuf 3233 drivers/net/tun.c sndbuf = tfile->socket.sk->sk_sndbuf; sk_sndbuf 3447 drivers/net/tun.c tfile->sk.sk_sndbuf = INT_MAX; sk_sndbuf 773 drivers/vhost/net.c bool sock_can_batch = (sock->sk->sk_sndbuf == INT_MAX); sk_sndbuf 3913 fs/cifs/connect.c if (socket->sk->sk_sndbuf < (200 * 1024)) sk_sndbuf 3914 fs/cifs/connect.c socket->sk->sk_sndbuf = 200 * 1024; sk_sndbuf 3929 fs/cifs/connect.c socket->sk->sk_sndbuf, sk_sndbuf 184 include/crypto/if_alg.h return max_t(int, max_t(int, sk->sk_sndbuf & PAGE_MASK, PAGE_SIZE) - sk_sndbuf 275 include/linux/atmdev.h sk_atm(vcc)->sk_sndbuf; sk_sndbuf 405 include/net/sock.h int sk_sndbuf; sk_sndbuf 891 include/net/sock.h return READ_ONCE(sk->sk_sndbuf) - READ_ONCE(sk->sk_wmem_queued); sk_sndbuf 1220 include/net/sock.h if (READ_ONCE(sk->sk_wmem_queued) >= READ_ONCE(sk->sk_sndbuf)) sk_sndbuf 2183 include/net/sock.h amt = sk->sk_sndbuf - refcount_read(&sk->sk_wmem_alloc); sk_sndbuf 2238 include/net/sock.h val = min(sk->sk_sndbuf, sk->sk_wmem_queued >> 1); sk_sndbuf 2240 include/net/sock.h WRITE_ONCE(sk->sk_sndbuf, max_t(u32, val, SOCK_MIN_SNDBUF)); sk_sndbuf 2273 include/net/sock.h return refcount_read(&sk->sk_wmem_alloc) < (READ_ONCE(sk->sk_sndbuf) >> 1); sk_sndbuf 1789 net/appletalk/ddp.c long amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); sk_sndbuf 72 net/atm/common.c sk_wmem_alloc_get(sk), size, sk->sk_sndbuf); sk_sndbuf 105 net/atm/common.c refcount_read(&sk->sk_wmem_alloc)) <= sk->sk_sndbuf; sk_sndbuf 68 net/atm/ioctl.c error = put_user(sk->sk_sndbuf - sk_wmem_alloc_get(sk), sk_sndbuf 200 net/atm/proc.c sk_wmem_alloc_get(sk), sk->sk_sndbuf, sk_sndbuf 919 net/ax25/af_ax25.c sk->sk_sndbuf = osk->sk_sndbuf; sk_sndbuf 1701 net/ax25/af_ax25.c amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); sk_sndbuf 507 net/bluetooth/af_bluetooth.c amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); sk_sndbuf 301 net/bluetooth/rfcomm/sock.c sk->sk_sndbuf = RFCOMM_MAX_CREDITS * RFCOMM_DEFAULT_MTU * 10; sk_sndbuf 624 net/caif/caif_socket.c if (size > ((sk->sk_sndbuf >> 1) - 64)) sk_sndbuf 625 net/caif/caif_socket.c size = (sk->sk_sndbuf >> 1) - 64; sk_sndbuf 4263 net/core/filter.c WRITE_ONCE(sk->sk_sndbuf, sk_sndbuf 788 net/core/sock.c WRITE_ONCE(sk->sk_sndbuf, sk_sndbuf 1255 net/core/sock.c v.val = sk->sk_sndbuf; sk_sndbuf 2097 net/core/sock.c refcount_read(&sk->sk_wmem_alloc) < READ_ONCE(sk->sk_sndbuf)) { sk_sndbuf 2200 net/core/sock.c if (refcount_read(&sk->sk_wmem_alloc) < READ_ONCE(sk->sk_sndbuf)) sk_sndbuf 2235 net/core/sock.c if (sk_wmem_alloc_get(sk) < READ_ONCE(sk->sk_sndbuf)) sk_sndbuf 2561 net/core/sock.c if (sk->sk_wmem_queued + size >= sk->sk_sndbuf) sk_sndbuf 2816 net/core/sock.c if ((refcount_read(&sk->sk_wmem_alloc) << 1) <= READ_ONCE(sk->sk_sndbuf)) { sk_sndbuf 2866 net/core/sock.c sk->sk_sndbuf = sysctl_wmem_default; sk_sndbuf 3216 net/core/sock.c mem[SK_MEMINFO_SNDBUF] = READ_ONCE(sk->sk_sndbuf); sk_sndbuf 482 net/decnet/af_decnet.c sk->sk_sndbuf = sysctl_decnet_wmem[1]; sk_sndbuf 1238 net/decnet/af_decnet.c amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); sk_sndbuf 1216 net/ipv4/icmp.c sk->sk_sndbuf = 2 * SKB_TRUESIZE(64 * 1024); sk_sndbuf 1097 net/ipv4/ip_output.c 2 * sk->sk_sndbuf) sk_sndbuf 1706 net/ipv4/ip_output.c sk->sk_sndbuf = sysctl_wmem_default; sk_sndbuf 453 net/ipv4/tcp.c WRITE_ONCE(sk->sk_sndbuf, sock_net(sk)->ipv4.sysctl_tcp_wmem[1]); sk_sndbuf 361 net/ipv4/tcp_input.c if (sk->sk_sndbuf < sndmem) sk_sndbuf 362 net/ipv4/tcp_input.c WRITE_ONCE(sk->sk_sndbuf, sk_sndbuf 1650 net/ipv4/tcp_ipv4.c u32 limit = READ_ONCE(sk->sk_rcvbuf) + READ_ONCE(sk->sk_sndbuf); sk_sndbuf 1326 net/ipv4/tcp_output.c limit = sk->sk_sndbuf + 2 * SKB_TRUESIZE(GSO_MAX_SIZE); sk_sndbuf 2914 net/ipv4/tcp_output.c sk->sk_sndbuf)) sk_sndbuf 1005 net/ipv6/icmp.c sk->sk_sndbuf = 2 * SKB_TRUESIZE(64 * 1024); sk_sndbuf 1517 net/ipv6/ip6_output.c 2 * sk->sk_sndbuf) sk_sndbuf 3656 net/key/af_key.c if ((unsigned int)len > sk->sk_sndbuf - 32) sk_sndbuf 1287 net/netfilter/ipvs/ip_vs_sync.c sk->sk_sndbuf = val * 2; sk_sndbuf 1890 net/netlink/af_netlink.c if (len > sk->sk_sndbuf - 32) sk_sndbuf 466 net/netrom/af_netrom.c sk->sk_sndbuf = osk->sk_sndbuf; sk_sndbuf 1185 net/netrom/af_netrom.c amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); sk_sndbuf 349 net/phonet/socket.c refcount_read(&sk->sk_wmem_alloc) < sk->sk_sndbuf && sk_sndbuf 942 net/qrtr/qrtr.c len = sk->sk_sndbuf - sk_wmem_alloc_get(sk); sk_sndbuf 682 net/rds/rds.h return rds_rs_to_sk(rs)->sk_sndbuf / 2; sk_sndbuf 509 net/rds/tcp.c sk->sk_sndbuf = rtn->sndbuf_size; sk_sndbuf 513 net/rds/tcp.c sk->sk_sndbuf = rtn->rcvbuf_size; sk_sndbuf 206 net/rds/tcp_send.c if ((refcount_read(&sk->sk_wmem_alloc) << 1) <= sk->sk_sndbuf && sk_sndbuf 557 net/rose/af_rose.c sk->sk_sndbuf = osk->sk_sndbuf; sk_sndbuf 1264 net/rose/af_rose.c amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); sk_sndbuf 53 net/rxrpc/af_rxrpc.c return refcount_read(&sk->sk_wmem_alloc) < (size_t) sk->sk_sndbuf; sk_sndbuf 471 net/sched/em_meta.c dst->value = sk->sk_sndbuf; sk_sndbuf 174 net/sctp/diag.c mem[SK_MEMINFO_SNDBUF] = sk->sk_sndbuf; sk_sndbuf 276 net/sctp/proc.c sk->sk_sndbuf, sk_sndbuf 109 net/sctp/socket.c return asoc->ep->sndbuf_policy ? sk->sk_sndbuf - asoc->sndbuf_used sk_sndbuf 1608 net/sctp/socket.c if (msg_len > sk->sk_sndbuf) sk_sndbuf 9145 net/sctp/socket.c return sk->sk_sndbuf > sk->sk_wmem_queued; sk_sndbuf 9307 net/sctp/socket.c newsk->sk_sndbuf = sk->sk_sndbuf; sk_sndbuf 9373 net/sctp/socket.c newsk->sk_sndbuf = oldsk->sk_sndbuf; sk_sndbuf 290 net/smc/af_smc.c nsk->sk_sndbuf = osk->sk_sndbuf; sk_sndbuf 1383 net/smc/af_smc.c new_smc->sk.sk_sndbuf = lsmc->sk.sk_sndbuf; sk_sndbuf 1998 net/smc/af_smc.c smc->sk.sk_sndbuf = max(smc->clcsock->sk->sk_sndbuf, SMC_BUF_MIN_SIZE); sk_sndbuf 850 net/smc/smc_core.c sk_buf_size = smc->sk.sk_sndbuf / 2; sk_sndbuf 904 net/smc/smc_core.c smc->sk.sk_sndbuf = bufsize * 2; sk_sndbuf 361 net/sunrpc/svcsock.c sock->sk->sk_sndbuf = nreqs * max_mesg * 2; sk_sndbuf 1652 net/sunrpc/xprtsock.c sk->sk_sndbuf = transport->sndsize * xprt->max_reqs * 2; sk_sndbuf 3797 net/tipc/socket.c i += scnprintf(buf + i, sz - i, " %d", sk->sk_sndbuf); sk_sndbuf 449 net/unix/af_unix.c (refcount_read(&sk->sk_wmem_alloc) << 2) <= sk->sk_sndbuf; sk_sndbuf 1625 net/unix/af_unix.c if (len > sk->sk_sndbuf - 32) sk_sndbuf 1825 net/unix/af_unix.c size = min_t(int, size, (sk->sk_sndbuf >> 1) - 64); sk_sndbuf 356 net/vmw_vsock/hyperv_transport.c sndbuf = max_t(int, sk->sk_sndbuf, RINGBUFFER_HVS_SND_SIZE); sk_sndbuf 432 net/vmw_vsock/hyperv_transport.c sk->sk_sndbuf = RINGBUFFER_HVS_SND_SIZE; sk_sndbuf 608 net/x25/af_x25.c sk->sk_sndbuf = osk->sk_sndbuf; sk_sndbuf 1378 net/x25/af_x25.c amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk);