Home
last modified time | relevance | path

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

123

/openbmc/linux/net/atm/
H A 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()
/openbmc/linux/include/trace/events/
H A Dsock.h80 __field(int, sk_rcvbuf)
86 __entry->sk_rcvbuf = READ_ONCE(sk->sk_rcvbuf);
90 __entry->rmem_alloc, __entry->truesize, __entry->sk_rcvbuf)
/openbmc/linux/net/tipc/
H A Dgroup.h61 int *sk_rcvbuf, struct tipc_msg *hdr,
H A Dgroup.c197 void tipc_group_join(struct net *net, struct tipc_group *grp, int *sk_rcvbuf) in tipc_group_join() argument
209 *sk_rcvbuf = tipc_group_rcvbuf_limit(grp); in tipc_group_join()
857 int *sk_rcvbuf, in tipc_group_member_evt() argument
923 *sk_rcvbuf = tipc_group_rcvbuf_limit(grp); in tipc_group_member_evt()
/openbmc/linux/net/x25/
H A Dx25_dev.c58 queued = !sk_add_backlog(sk, skb, READ_ONCE(sk->sk_rcvbuf)); in x25_receive_data()
H A Dx25_subr.c376 if (atomic_read(&sk->sk_rmem_alloc) < (sk->sk_rcvbuf >> 1) && in x25_check_rbuf()
H A Dx25_in.c292 (sk->sk_rcvbuf >> 1)) in x25_state3_machine()
/openbmc/linux/net/ax25/
H A Dax25_std_timer.c63 (sk->sk_rcvbuf >> 1) && in ax25_std_heartbeat_expiry()
H A Dax25_ds_timer.c125 (sk->sk_rcvbuf >> 1) && in ax25_ds_heartbeat_expiry()
H A Dax25_in.c264 sk->sk_rcvbuf) { in ax25_rcv()
/openbmc/linux/include/crypto/
H A Dif_alg.h213 return max_t(int, max_t(int, sk->sk_rcvbuf & PAGE_MASK, PAGE_SIZE) - in af_alg_rcvbuf()
/openbmc/linux/net/rose/
H A Drose_timer.c142 if (atomic_read(&sk->sk_rmem_alloc) < (sk->sk_rcvbuf / 2) && in rose_heartbeat_expiry()
H A Drose_in.c183 (sk->sk_rcvbuf >> 1)) in rose_state3_machine()
/openbmc/linux/net/netrom/
H A Dnr_timer.c136 if (atomic_read(&sk->sk_rmem_alloc) < (sk->sk_rcvbuf / 2) && in nr_heartbeat_expiry()
/openbmc/linux/net/bluetooth/rfcomm/
H A Dsock.c60 if (atomic_read(&sk->sk_rmem_alloc) >= sk->sk_rcvbuf) in rfcomm_sk_data_ready()
297 sk->sk_rcvbuf = RFCOMM_MAX_CREDITS * RFCOMM_DEFAULT_MTU * 10; in rfcomm_sock_alloc()
612 if (atomic_read(&sk->sk_rmem_alloc) <= (sk->sk_rcvbuf >> 2)) in rfcomm_sock_recvmsg()
/openbmc/linux/net/vmw_vsock/
H A Dhyperv_transport.c379 rcvbuf = max_t(int, sk->sk_rcvbuf, RINGBUFFER_HVS_RCV_SIZE); in hvs_open_connection()
454 sk->sk_rcvbuf = RINGBUFFER_HVS_RCV_SIZE; in hvs_sock_init()
/openbmc/linux/net/sctp/
H A Dassociola.c162 if ((sk->sk_rcvbuf/2) < SCTP_DEFAULT_MINWINDOW) in sctp_association_init()
165 asoc->rwnd = sk->sk_rcvbuf/2; in sctp_association_init()
1459 (asoc->base.sk->sk_rcvbuf >> net->sctp.rwnd_upd_shift), in sctp_peer_needs_update()
1549 if (rx_count >= asoc->base.sk->sk_rcvbuf) in sctp_assoc_rwnd_decrease()
H A Dinput.c312 if (sk_add_backlog(sk, skb, READ_ONCE(sk->sk_rcvbuf))) in sctp_backlog_rcv()
327 if (!sk_add_backlog(sk, skb, READ_ONCE(sk->sk_rcvbuf))) in sctp_backlog_rcv()
354 ret = sk_add_backlog(sk, skb, READ_ONCE(sk->sk_rcvbuf)); in sctp_add_backlog()
H A Dproc.c287 sk->sk_rcvbuf); in sctp_assocs_seq_show()
/openbmc/linux/net/mptcp/
H A Dsockopt.c103 WRITE_ONCE(ssk->sk_rcvbuf, sk->sk_rcvbuf); in mptcp_sol_socket_sync_intval()
1467 WRITE_ONCE(ssk->sk_rcvbuf, sk->sk_rcvbuf); in sync_socket_options()
H A Dprotocol.c633 sk_rbuf = READ_ONCE(sk->sk_rcvbuf); in __mptcp_move_skbs_from_subflow()
636 int ssk_rbuf = READ_ONCE(ssk->sk_rcvbuf); in __mptcp_move_skbs_from_subflow()
639 WRITE_ONCE(sk->sk_rcvbuf, ssk_rbuf); in __mptcp_move_skbs_from_subflow()
839 ssk_rbuf = READ_ONCE(ssk->sk_rcvbuf); in mptcp_data_ready()
840 sk_rbuf = READ_ONCE(sk->sk_rcvbuf); in mptcp_data_ready()
2008 if (rcvbuf > sk->sk_rcvbuf) { in mptcp_rcv_space_adjust()
2012 WRITE_ONCE(sk->sk_rcvbuf, rcvbuf); in mptcp_rcv_space_adjust()
2025 WRITE_ONCE(ssk->sk_rcvbuf, rcvbuf); in mptcp_rcv_space_adjust()
2808 sk->sk_rcvbuf = READ_ONCE(net->ipv4.sysctl_tcp_rmem[1]); in mptcp_init_sock()
/openbmc/linux/include/net/
H A Dllc_c_ev.h221 (unsigned int)sk->sk_rcvbuf; in llc_conn_space()
/openbmc/linux/net/ipv4/
H A Dtcp_input.c604 if (sk->sk_rcvbuf < rmem2 && in tcp_clamp_window()
608 WRITE_ONCE(sk->sk_rcvbuf, in tcp_clamp_window()
611 if (atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf) in tcp_clamp_window()
767 if (rcvbuf > sk->sk_rcvbuf) { in tcp_rcv_space_adjust()
768 WRITE_ONCE(sk->sk_rcvbuf, rcvbuf); in tcp_rcv_space_adjust()
5354 if (sum_tiny > sk->sk_rcvbuf >> 3) in tcp_collapse_ofo_queue()
5391 goal = sk->sk_rcvbuf >> 3; in tcp_prune_ofo_queue()
5410 goal = sk->sk_rcvbuf >> 3; in tcp_prune_ofo_queue()
5441 if (atomic_read(&sk->sk_rmem_alloc) >= sk->sk_rcvbuf) in tcp_prune_queue()
5446 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf) in tcp_prune_queue()
[all …]
/openbmc/linux/net/netlink/
H A Daf_netlink.c1249 if ((atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf || in netlink_attachskb()
1263 if ((atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf || in netlink_attachskb()
1416 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf && in netlink_broadcast_deliver()
1420 return atomic_read(&sk->sk_rmem_alloc) > (sk->sk_rcvbuf >> 1); in netlink_broadcast_deliver()
1991 atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf / 2) { in netlink_recvmsg()
2219 if (atomic_read(&sk->sk_rmem_alloc) >= sk->sk_rcvbuf) in netlink_dump()
/openbmc/linux/net/core/
H A Dsock.c489 if (atomic_read(&sk->sk_rmem_alloc) >= READ_ONCE(sk->sk_rcvbuf)) { in __sock_queue_rcv_skb()
559 if (sk_rcvqueues_full(sk, READ_ONCE(sk->sk_rcvbuf))) { in __sk_receive_skb()
576 } else if (sk_add_backlog(sk, skb, READ_ONCE(sk->sk_rcvbuf))) { in __sk_receive_skb()
982 WRITE_ONCE(sk->sk_rcvbuf, max_t(int, val * 2, SOCK_MIN_RCVBUF)); in __sock_set_rcvbuf()
1650 v.val = READ_ONCE(sk->sk_rcvbuf); in sk_getsockopt()
3427 sk->sk_rcvbuf = READ_ONCE(sysctl_rmem_default); in sock_init_data_uid()
3756 mem[SK_MEMINFO_RCVBUF] = READ_ONCE(sk->sk_rcvbuf); in sk_get_meminfo()

123