| /Linux-v5.4/include/trace/events/ |
| D | sock.h | 79 __field(int, sk_rcvbuf) 85 __entry->sk_rcvbuf = READ_ONCE(sk->sk_rcvbuf); 89 __entry->rmem_alloc, __entry->truesize, __entry->sk_rcvbuf)
|
| /Linux-v5.4/net/atm/ |
| D | atm_misc.c | 18 if (atomic_read(&sk_atm(vcc)->sk_rmem_alloc) <= sk_atm(vcc)->sk_rcvbuf) in atm_charge() 33 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf) { in atm_alloc_charge()
|
| /Linux-v5.4/net/tipc/ |
| D | group.h | 60 int *sk_rcvbuf, struct tipc_msg *hdr,
|
| D | group.c | 196 void tipc_group_join(struct net *net, struct tipc_group *grp, int *sk_rcvbuf) in tipc_group_join() argument 208 *sk_rcvbuf = tipc_group_rcvbuf_limit(grp); in tipc_group_join() 850 int *sk_rcvbuf, in tipc_group_member_evt() argument 916 *sk_rcvbuf = tipc_group_rcvbuf_limit(grp); in tipc_group_member_evt()
|
| D | socket.c | 472 sk->sk_rcvbuf = sysctl_tipc_rmem[1]; in tipc_sk_create() 1674 tsk->rcv_win = tsk_adv_blocks(tsk->sk.sk_rcvbuf); in tipc_sk_send_ack() 1998 tipc_group_member_evt(tsk->group, &wakeup, &sk->sk_rcvbuf, in tipc_sk_proto_rcv() 2122 return READ_ONCE(sk->sk_rcvbuf); in rcvbuf_limit() 2125 return READ_ONCE(sk->sk_rcvbuf) << msg_importance(hdr); in rcvbuf_limit() 2128 return READ_ONCE(sk->sk_rcvbuf); in rcvbuf_limit() 2910 tipc_group_join(net, grp, &tsk->sk.sk_rcvbuf); in tipc_sk_join() 3792 i += scnprintf(buf + i, sz - i, " %d", sk->sk_rcvbuf); in tipc_sk_dump()
|
| /Linux-v5.4/net/x25/ |
| D | x25_dev.c | 58 queued = !sk_add_backlog(sk, skb, READ_ONCE(sk->sk_rcvbuf)); in x25_receive_data()
|
| D | x25_subr.c | 370 if (atomic_read(&sk->sk_rmem_alloc) < (sk->sk_rcvbuf >> 1) && in x25_check_rbuf()
|
| D | x25_in.c | 292 (sk->sk_rcvbuf >> 1)) in x25_state3_machine()
|
| /Linux-v5.4/net/ax25/ |
| D | ax25_std_timer.c | 63 (sk->sk_rcvbuf >> 1) && in ax25_std_heartbeat_expiry()
|
| D | ax25_ds_timer.c | 125 (sk->sk_rcvbuf >> 1) && in ax25_ds_heartbeat_expiry()
|
| /Linux-v5.4/include/net/ |
| D | dn_nsp.h | 190 return atomic_read(&sk->sk_rmem_alloc) > (sk->sk_rcvbuf >> 1); in dn_congested()
|
| D | llc_c_ev.h | 222 (unsigned int)sk->sk_rcvbuf; in llc_conn_space()
|
| /Linux-v5.4/include/crypto/ |
| D | if_alg.h | 210 return max_t(int, max_t(int, sk->sk_rcvbuf & PAGE_MASK, PAGE_SIZE) - in af_alg_rcvbuf()
|
| /Linux-v5.4/net/rose/ |
| D | rose_timer.c | 141 if (atomic_read(&sk->sk_rmem_alloc) < (sk->sk_rcvbuf / 2) && in rose_heartbeat_expiry()
|
| D | rose_in.c | 182 (sk->sk_rcvbuf >> 1)) in rose_state3_machine()
|
| /Linux-v5.4/net/netrom/ |
| D | nr_timer.c | 136 if (atomic_read(&sk->sk_rmem_alloc) < (sk->sk_rcvbuf / 2) && in nr_heartbeat_expiry()
|
| /Linux-v5.4/net/bluetooth/rfcomm/ |
| D | sock.c | 60 if (atomic_read(&sk->sk_rmem_alloc) >= sk->sk_rcvbuf) in rfcomm_sk_data_ready() 302 sk->sk_rcvbuf = RFCOMM_MAX_CREDITS * RFCOMM_DEFAULT_MTU * 10; in rfcomm_sock_alloc() 643 if (atomic_read(&sk->sk_rmem_alloc) <= (sk->sk_rcvbuf >> 2)) in rfcomm_sock_recvmsg()
|
| /Linux-v5.4/net/smc/ |
| D | af_smc.c | 291 nsk->sk_rcvbuf = osk->sk_rcvbuf; in smc_copy_sock_settings() 1380 new_smc->sk.sk_rcvbuf = lsmc->sk.sk_rcvbuf; in smc_tcp_listen_work() 1995 smc->sk.sk_rcvbuf = max(smc->clcsock->sk->sk_rcvbuf, SMC_BUF_MIN_SIZE); in smc_create()
|
| /Linux-v5.4/net/sctp/ |
| D | input.c | 325 if (sk_add_backlog(sk, skb, READ_ONCE(sk->sk_rcvbuf))) in sctp_backlog_rcv() 340 if (!sk_add_backlog(sk, skb, READ_ONCE(sk->sk_rcvbuf))) in sctp_backlog_rcv() 367 ret = sk_add_backlog(sk, skb, READ_ONCE(sk->sk_rcvbuf)); in sctp_add_backlog()
|
| D | associola.c | 156 if ((sk->sk_rcvbuf/2) < SCTP_DEFAULT_MINWINDOW) in sctp_association_init() 159 asoc->rwnd = sk->sk_rcvbuf/2; in sctp_association_init() 1456 (asoc->base.sk->sk_rcvbuf >> net->sctp.rwnd_upd_shift), in sctp_peer_needs_update() 1546 if (rx_count >= asoc->base.sk->sk_rcvbuf) in sctp_assoc_rwnd_decrease()
|
| D | proc.c | 277 sk->sk_rcvbuf); in sctp_assocs_seq_show()
|
| /Linux-v5.4/net/ipv4/ |
| D | tcp_input.c | 483 if (sk->sk_rcvbuf < net->ipv4.sysctl_tcp_rmem[2] && in tcp_clamp_window() 487 WRITE_ONCE(sk->sk_rcvbuf, in tcp_clamp_window() 491 if (atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf) in tcp_clamp_window() 652 if (rcvbuf > sk->sk_rcvbuf) { in tcp_rcv_space_adjust() 653 WRITE_ONCE(sk->sk_rcvbuf, rcvbuf); in tcp_rcv_space_adjust() 4526 if (atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf || in tcp_try_rmem_schedule() 5043 if (sum_tiny > sk->sk_rcvbuf >> 3) in tcp_collapse_ofo_queue() 5078 goal = sk->sk_rcvbuf >> 3; in tcp_prune_ofo_queue() 5087 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf && in tcp_prune_ofo_queue() 5090 goal = sk->sk_rcvbuf >> 3; in tcp_prune_ofo_queue() [all …]
|
| /Linux-v5.4/net/vmw_vsock/ |
| D | hyperv_transport.c | 397 rcvbuf = max_t(int, sk->sk_rcvbuf, RINGBUFFER_HVS_RCV_SIZE); in hvs_open_connection() 473 sk->sk_rcvbuf = RINGBUFFER_HVS_RCV_SIZE; in hvs_sock_init()
|
| /Linux-v5.4/net/netlink/ |
| D | af_netlink.c | 1209 if ((atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf || in netlink_attachskb() 1223 if ((atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf || in netlink_attachskb() 1378 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf && in netlink_broadcast_deliver() 1382 return atomic_read(&sk->sk_rmem_alloc) > (sk->sk_rcvbuf >> 1); in netlink_broadcast_deliver() 1999 atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf / 2) { in netlink_recvmsg() 2205 if (atomic_read(&sk->sk_rmem_alloc) >= sk->sk_rcvbuf) in netlink_dump()
|
| /Linux-v5.4/net/core/ |
| D | sock.c | 456 if (atomic_read(&sk->sk_rmem_alloc) >= sk->sk_rcvbuf) { in __sock_queue_rcv_skb() 508 if (sk_rcvqueues_full(sk, sk->sk_rcvbuf)) { in __sk_receive_skb() 525 } else if (sk_add_backlog(sk, skb, READ_ONCE(sk->sk_rcvbuf))) { in __sk_receive_skb() 835 WRITE_ONCE(sk->sk_rcvbuf, in sock_setsockopt() 1259 v.val = sk->sk_rcvbuf; in sock_getsockopt() 2862 sk->sk_rcvbuf = sysctl_rmem_default; in sock_init_data() 3211 mem[SK_MEMINFO_RCVBUF] = READ_ONCE(sk->sk_rcvbuf); in sk_get_meminfo()
|