/kernel/linux/linux-5.10/include/trace/events/ |
H A D | sock.h | 80 __field(int, sk_rcvbuf) 86 __entry->sk_rcvbuf = READ_ONCE(sk->sk_rcvbuf); 89 TP_printk("rmem_alloc=%d truesize=%u sk_rcvbuf=%d", 90 __entry->rmem_alloc, __entry->truesize, __entry->sk_rcvbuf)
|
/kernel/linux/linux-5.10/net/atm/ |
H A 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()
|
/kernel/linux/linux-6.6/net/atm/ |
H A 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()
|
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | sock.h | 80 __field(int, sk_rcvbuf) 86 __entry->sk_rcvbuf = READ_ONCE(sk->sk_rcvbuf); 89 TP_printk("rmem_alloc=%d truesize=%u sk_rcvbuf=%d", 90 __entry->rmem_alloc, __entry->truesize, __entry->sk_rcvbuf)
|
/kernel/linux/linux-5.10/net/tipc/ |
H A D | group.h | 60 int *sk_rcvbuf, struct tipc_msg *hdr,
|
H A 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() 856 int *sk_rcvbuf, in tipc_group_member_evt() 922 *sk_rcvbuf = tipc_group_rcvbuf_limit(grp); in tipc_group_member_evt() 854 tipc_group_member_evt(struct tipc_group *grp, bool *usr_wakeup, int *sk_rcvbuf, struct tipc_msg *hdr, struct sk_buff_head *inputq, struct sk_buff_head *xmitq) tipc_group_member_evt() argument
|
/kernel/linux/linux-6.6/net/tipc/ |
H A D | group.h | 61 int *sk_rcvbuf, struct tipc_msg *hdr,
|
H A D | group.c | 197 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() 923 *sk_rcvbuf = tipc_group_rcvbuf_limit(grp); in tipc_group_member_evt() 855 tipc_group_member_evt(struct tipc_group *grp, bool *usr_wakeup, int *sk_rcvbuf, struct tipc_msg *hdr, struct sk_buff_head *inputq, struct sk_buff_head *xmitq) tipc_group_member_evt() argument
|
/kernel/linux/linux-6.6/net/x25/ |
H A D | x25_dev.c | 58 queued = !sk_add_backlog(sk, skb, READ_ONCE(sk->sk_rcvbuf)); in x25_receive_data()
|
/kernel/linux/linux-5.10/net/x25/ |
H A D | x25_dev.c | 58 queued = !sk_add_backlog(sk, skb, READ_ONCE(sk->sk_rcvbuf)); in x25_receive_data()
|
/kernel/linux/linux-5.10/net/ax25/ |
H A D | ax25_std_timer.c | 63 (sk->sk_rcvbuf >> 1) && in ax25_std_heartbeat_expiry()
|
H A D | ax25_ds_timer.c | 125 (sk->sk_rcvbuf >> 1) && in ax25_ds_heartbeat_expiry()
|
/kernel/linux/linux-5.10/include/crypto/ |
H A D | if_alg.h | 216 return max_t(int, max_t(int, sk->sk_rcvbuf & PAGE_MASK, PAGE_SIZE) - in af_alg_rcvbuf()
|
/kernel/linux/linux-6.6/include/crypto/ |
H A D | if_alg.h | 213 return max_t(int, max_t(int, sk->sk_rcvbuf & PAGE_MASK, PAGE_SIZE) - in af_alg_rcvbuf()
|
/kernel/linux/linux-6.6/net/ax25/ |
H A D | ax25_std_timer.c | 63 (sk->sk_rcvbuf >> 1) && in ax25_std_heartbeat_expiry()
|
H A D | ax25_ds_timer.c | 125 (sk->sk_rcvbuf >> 1) && in ax25_ds_heartbeat_expiry()
|
/kernel/linux/linux-5.10/net/bluetooth/rfcomm/ |
H A D | sock.c | 60 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-6.6/net/bluetooth/rfcomm/ |
H A D | sock.c | 60 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()
|
/kernel/linux/linux-5.10/net/rose/ |
H A D | rose_timer.c | 142 if (atomic_read(&sk->sk_rmem_alloc) < (sk->sk_rcvbuf / 2) && in rose_heartbeat_expiry()
|
/kernel/linux/linux-5.10/net/netrom/ |
H A D | nr_timer.c | 135 if (atomic_read(&sk->sk_rmem_alloc) < (sk->sk_rcvbuf / 2) && in nr_heartbeat_expiry()
|
/kernel/linux/linux-6.6/net/rose/ |
H A D | rose_timer.c | 142 if (atomic_read(&sk->sk_rmem_alloc) < (sk->sk_rcvbuf / 2) && in rose_heartbeat_expiry()
|
/kernel/linux/linux-6.6/net/netrom/ |
H A D | nr_timer.c | 135 if (atomic_read(&sk->sk_rmem_alloc) < (sk->sk_rcvbuf / 2) && in nr_heartbeat_expiry()
|
/kernel/linux/linux-5.10/net/sctp/ |
H A D | associola.c | 159 if ((sk->sk_rcvbuf/2) < SCTP_DEFAULT_MINWINDOW) in sctp_association_init() 162 asoc->rwnd = sk->sk_rcvbuf/2; in sctp_association_init() 1451 (asoc->base.sk->sk_rcvbuf >> net->sctp.rwnd_upd_shift), in sctp_peer_needs_update() 1541 if (rx_count >= asoc->base.sk->sk_rcvbuf) in sctp_assoc_rwnd_decrease()
|
/kernel/linux/linux-6.6/net/sctp/ |
H A D | associola.c | 162 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()
|
/kernel/linux/linux-6.6/net/mptcp/ |
H A D | sockopt.c | 103 WRITE_ONCE(ssk->sk_rcvbuf, sk->sk_rcvbuf); in mptcp_sol_socket_sync_intval() 1427 WRITE_ONCE(ssk->sk_rcvbuf, sk->sk_rcvbuf); in sync_socket_options()
|