Home
last modified time | relevance | path

Searched refs:sk_rcvbuf (Results 1 – 25 of 67) sorted by relevance

123

/kernel/linux/linux-5.10/include/trace/events/
Dsock.h80 __field(int, sk_rcvbuf)
86 __entry->sk_rcvbuf = READ_ONCE(sk->sk_rcvbuf);
90 __entry->rmem_alloc, __entry->truesize, __entry->sk_rcvbuf)
/kernel/linux/linux-5.10/net/atm/
Datm_misc.c18 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()
/kernel/linux/linux-5.10/net/tipc/
Dgroup.h60 int *sk_rcvbuf, struct tipc_msg *hdr,
Dgroup.c196 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()
856 int *sk_rcvbuf, in tipc_group_member_evt() argument
922 *sk_rcvbuf = tipc_group_rcvbuf_limit(grp); in tipc_group_member_evt()
/kernel/linux/linux-5.10/net/ax25/
Dax25_std_timer.c63 (sk->sk_rcvbuf >> 1) && in ax25_std_heartbeat_expiry()
Dax25_ds_timer.c125 (sk->sk_rcvbuf >> 1) && in ax25_ds_heartbeat_expiry()
Dax25_in.c264 sk->sk_rcvbuf) { in ax25_rcv()
/kernel/linux/linux-5.10/net/x25/
Dx25_dev.c58 queued = !sk_add_backlog(sk, skb, READ_ONCE(sk->sk_rcvbuf)); in x25_receive_data()
Dx25_subr.c376 if (atomic_read(&sk->sk_rmem_alloc) < (sk->sk_rcvbuf >> 1) && in x25_check_rbuf()
Dx25_in.c292 (sk->sk_rcvbuf >> 1)) in x25_state3_machine()
/kernel/linux/linux-5.10/include/net/
Ddn_nsp.h190 return atomic_read(&sk->sk_rmem_alloc) > (sk->sk_rcvbuf >> 1); in dn_congested()
Dllc_c_ev.h222 (unsigned int)sk->sk_rcvbuf; in llc_conn_space()
/kernel/linux/linux-5.10/include/crypto/
Dif_alg.h213 return max_t(int, max_t(int, sk->sk_rcvbuf & PAGE_MASK, PAGE_SIZE) - in af_alg_rcvbuf()
/kernel/linux/linux-5.10/net/rose/
Drose_timer.c142 if (atomic_read(&sk->sk_rmem_alloc) < (sk->sk_rcvbuf / 2) && in rose_heartbeat_expiry()
Drose_in.c182 (sk->sk_rcvbuf >> 1)) in rose_state3_machine()
/kernel/linux/linux-5.10/net/netrom/
Dnr_timer.c134 if (atomic_read(&sk->sk_rmem_alloc) < (sk->sk_rcvbuf / 2) && in nr_heartbeat_expiry()
/kernel/linux/linux-5.10/net/bluetooth/rfcomm/
Dsock.c60 if (atomic_read(&sk->sk_rmem_alloc) >= sk->sk_rcvbuf) in rfcomm_sk_data_ready()
299 sk->sk_rcvbuf = RFCOMM_MAX_CREDITS * RFCOMM_DEFAULT_MTU * 10; in rfcomm_sock_alloc()
614 if (atomic_read(&sk->sk_rmem_alloc) <= (sk->sk_rcvbuf >> 2)) in rfcomm_sock_recvmsg()
/kernel/linux/linux-5.10/net/vmw_vsock/
Dhyperv_transport.c370 rcvbuf = max_t(int, sk->sk_rcvbuf, RINGBUFFER_HVS_RCV_SIZE); in hvs_open_connection()
443 sk->sk_rcvbuf = RINGBUFFER_HVS_RCV_SIZE; in hvs_sock_init()
/kernel/linux/linux-5.10/net/sctp/
Dinput.c327 if (sk_add_backlog(sk, skb, READ_ONCE(sk->sk_rcvbuf))) in sctp_backlog_rcv()
342 if (!sk_add_backlog(sk, skb, READ_ONCE(sk->sk_rcvbuf))) in sctp_backlog_rcv()
369 ret = sk_add_backlog(sk, skb, READ_ONCE(sk->sk_rcvbuf)); in sctp_add_backlog()
Dassociola.c159 if ((sk->sk_rcvbuf/2) < SCTP_DEFAULT_MINWINDOW) in sctp_association_init()
162 asoc->rwnd = sk->sk_rcvbuf/2; in sctp_association_init()
1452 (asoc->base.sk->sk_rcvbuf >> net->sctp.rwnd_upd_shift), in sctp_peer_needs_update()
1542 if (rx_count >= asoc->base.sk->sk_rcvbuf) in sctp_assoc_rwnd_decrease()
/kernel/linux/linux-5.10/net/mptcp/
Dprotocol.c533 if (atomic_read(&sk->sk_rmem_alloc) > READ_ONCE(sk->sk_rcvbuf)) { in __mptcp_move_skbs_from_subflow()
637 if (atomic_read(&sk->sk_rmem_alloc) < READ_ONCE(sk->sk_rcvbuf) && in mptcp_data_ready()
642 if (atomic_read(&sk->sk_rmem_alloc) > READ_ONCE(sk->sk_rcvbuf)) in mptcp_data_ready()
1444 if (rcvbuf > sk->sk_rcvbuf) { in mptcp_rcv_space_adjust()
1448 WRITE_ONCE(sk->sk_rcvbuf, rcvbuf); in mptcp_rcv_space_adjust()
1461 WRITE_ONCE(ssk->sk_rcvbuf, rcvbuf); in mptcp_rcv_space_adjust()
1875 sk->sk_rcvbuf = READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_rmem[1]); in mptcp_init_sock()
/kernel/linux/linux-5.10/net/smc/
Daf_smc.c312 nsk->sk_rcvbuf = osk->sk_rcvbuf; in smc_copy_sock_settings()
1829 new_smc->sk.sk_rcvbuf = lsmc->sk.sk_rcvbuf; in smc_tcp_listen_work()
2481 smc->sk.sk_rcvbuf = max(smc->clcsock->sk->sk_rcvbuf, SMC_BUF_MIN_SIZE); in smc_create()
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_input.c573 if (sk->sk_rcvbuf < rmem2 && in tcp_clamp_window()
577 WRITE_ONCE(sk->sk_rcvbuf, in tcp_clamp_window()
580 if (atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf) in tcp_clamp_window()
741 if (rcvbuf > sk->sk_rcvbuf) { in tcp_rcv_space_adjust()
742 WRITE_ONCE(sk->sk_rcvbuf, rcvbuf); in tcp_rcv_space_adjust()
4735 if (atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf || in tcp_try_rmem_schedule()
5267 if (sum_tiny > sk->sk_rcvbuf >> 3) in tcp_collapse_ofo_queue()
5302 goal = sk->sk_rcvbuf >> 3; in tcp_prune_ofo_queue()
5311 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf && in tcp_prune_ofo_queue()
5314 goal = sk->sk_rcvbuf >> 3; in tcp_prune_ofo_queue()
[all …]
/kernel/linux/linux-5.10/net/core/
Dsock.c443 if (atomic_read(&sk->sk_rmem_alloc) >= sk->sk_rcvbuf) { in __sock_queue_rcv_skb()
495 if (sk_rcvqueues_full(sk, sk->sk_rcvbuf)) { in __sk_receive_skb()
512 } else if (sk_add_backlog(sk, skb, READ_ONCE(sk->sk_rcvbuf))) { in __sk_receive_skb()
799 WRITE_ONCE(sk->sk_rcvbuf, max_t(int, val * 2, SOCK_MIN_RCVBUF)); in __sock_set_rcvbuf()
1338 v.val = sk->sk_rcvbuf; in sock_getsockopt()
2978 sk->sk_rcvbuf = READ_ONCE(sysctl_rmem_default); in sock_init_data_uid()
3312 mem[SK_MEMINFO_RCVBUF] = READ_ONCE(sk->sk_rcvbuf); in sk_get_meminfo()
/kernel/linux/linux-5.10/net/netlink/
Daf_netlink.c1220 if ((atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf || in netlink_attachskb()
1234 if ((atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf || in netlink_attachskb()
1389 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf && in netlink_broadcast_deliver()
1393 return atomic_read(&sk->sk_rmem_alloc) > (sk->sk_rcvbuf >> 1); in netlink_broadcast_deliver()
2015 atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf / 2) { in netlink_recvmsg()
2243 if (atomic_read(&sk->sk_rmem_alloc) >= sk->sk_rcvbuf) in netlink_dump()

123