Home
last modified time | relevance | path

Searched refs:sk_wmem_queued (Results 1 – 21 of 21) sorted by relevance

/openbmc/linux/net/core/
H A Dstream.c213 WARN_ON_ONCE(sk->sk_wmem_queued); in sk_stream_kill_queues()
H A Dsock.c2332 newsk->sk_wmem_queued = 0; in sk_clone_lock()
3081 if (sk->sk_wmem_queued < wmem0) in __sk_mem_raise_allocated()
3095 sk_mem_pages(sk->sk_wmem_queued + in __sk_mem_raise_allocated()
3109 if (sk->sk_wmem_queued + size >= sk->sk_sndbuf) { in __sk_mem_raise_allocated()
3752 mem[SK_MEMINFO_WMEM_QUEUED] = READ_ONCE(sk->sk_wmem_queued); in sk_get_meminfo()
/openbmc/linux/include/net/
H A Dsock.h450 int sk_wmem_queued; member
1045 return READ_ONCE(sk->sk_wmem_queued) >> 1; in sk_stream_min_wspace()
1050 return READ_ONCE(sk->sk_sndbuf) - READ_ONCE(sk->sk_wmem_queued); in sk_stream_wspace()
1055 WRITE_ONCE(sk->sk_wmem_queued, sk->sk_wmem_queued + val); in sk_wmem_queued_add()
1391 if (READ_ONCE(sk->sk_wmem_queued) >= READ_ONCE(sk->sk_sndbuf)) in __sk_stream_memory_free()
1656 unused_mem = sk->sk_reserved_mem - sk->sk_wmem_queued - in sk_unused_reserved_mem()
2581 val = min(sk->sk_sndbuf, sk->sk_wmem_queued >> 1); in sk_stream_moderate_sndbuf()
H A Dtcp.h290 if (sk->sk_wmem_queued > SOCK_MIN_SNDBUF && in tcp_out_of_memory()
/openbmc/linux/include/trace/events/
H A Dmptcp.h54 __entry->ratio = div_u64((u64)ssk->sk_wmem_queued << 32, __entry->pace);
H A Dsock.h121 __entry->wmem_queued = READ_ONCE(sk->sk_wmem_queued);
/openbmc/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_io.c709 sk->sk_wmem_queued -= total_size; in chtls_push_frames()
827 sk->sk_wmem_queued += skb->truesize; in skb_entail()
901 sk->sk_wmem_queued += copy; in chtls_skb_copy_to_page_nocache()
907 return (cdev->max_host_sndbuf - sk->sk_wmem_queued > 0); in csk_mem_free()
1230 sk->sk_wmem_queued -= skb->truesize; in chtls_sendmsg()
H A Dchtls_cm.c185 sk->sk_wmem_queued -= skb->truesize; in chtls_purge_write_queue()
/openbmc/linux/net/sctp/
H A Dproc.c285 READ_ONCE(sk->sk_wmem_queued), in sctp_assocs_seq_show()
H A Ddiag.c173 mem[SK_MEMINFO_WMEM_QUEUED] = sk->sk_wmem_queued; in inet_sctp_diag_fill()
H A Dsocket.c9317 return READ_ONCE(sk->sk_sndbuf) > READ_ONCE(sk->sk_wmem_queued); in sctp_writeable()
/openbmc/linux/net/sched/
H A Dem_meta.c452 dst->value = READ_ONCE(sk->sk_wmem_queued); in META_COLLECTOR()
/openbmc/linux/net/ipv4/
H A Dinet_diag.c274 .idiag_wmem = READ_ONCE(sk->sk_wmem_queued), in inet_sk_diag_fill()
H A Daf_inet.c154 WARN_ON_ONCE(sk->sk_wmem_queued); in inet_sock_destruct()
H A Dtcp_output.c1567 if (unlikely((sk->sk_wmem_queued >> 1) > limit && in tcp_fragment()
H A Dtcp.c977 left = sock_net(sk)->ipv4.sysctl_tcp_wmem[0] - sk->sk_wmem_queued; in tcp_wmem_schedule()
/openbmc/linux/net/kcm/
H A Dkcmsock.c690 sk->sk_wmem_queued -= txm->sent; in kcm_write_msgs()
/openbmc/linux/net/mptcp/
H A Dprotocol.c1456 linger_time = div_u64((u64)READ_ONCE(ssk->sk_wmem_queued) << 32, pace); in mptcp_subflow_get_send()
1484 wmem = READ_ONCE(ssk->sk_wmem_queued); in mptcp_subflow_get_send()
/openbmc/linux/drivers/block/drbd/
H A Ddrbd_worker.c633 int queued = sk->sk_wmem_queued; in make_resync_request()
H A Ddrbd_main.c1497 if (sk->sk_wmem_queued > sk->sk_sndbuf * 4 / 5) in drbd_update_congested()
/openbmc/linux/net/iucv/
H A Daf_iucv.c288 WARN_ON(sk->sk_wmem_queued); in iucv_sock_destruct()